From e114141d17ee2ee6bf119a1b75ff049c56968bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20C=2E=20Mass=C3=B3n?= <939888+Abuelodelanada@users.noreply.github.com> Date: Thu, 14 Sep 2023 00:23:53 -0300 Subject: [PATCH] Install ca-certificates package (#8) * install ca-certificates package * pushgateway runs on go 1.19 --- 1.6.0/rockcraft.yaml | 6 +++++- 1.6.1/rockcraft.yaml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/1.6.0/rockcraft.yaml b/1.6.0/rockcraft.yaml index 230aa2c..cd4c970 100644 --- a/1.6.0/rockcraft.yaml +++ b/1.6.0/rockcraft.yaml @@ -20,7 +20,7 @@ parts: source-type: git source-tag: "v1.6.0" build-snaps: - - go/1.21/stable + - go/1.19/stable build-packages: - make override-build: | @@ -28,3 +28,7 @@ parts: install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway organize: pushgateway: bin/pushgateway + # We moved this here because: https://github.com/canonical/rockcraft/issues/343 + ca-certs: + plugin: nil + stage-packages: [ca-certificates] diff --git a/1.6.1/rockcraft.yaml b/1.6.1/rockcraft.yaml index 9c76d84..6815bf9 100644 --- a/1.6.1/rockcraft.yaml +++ b/1.6.1/rockcraft.yaml @@ -28,3 +28,7 @@ parts: install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway organize: pushgateway: bin/pushgateway + # We moved this here because: https://github.com/canonical/rockcraft/issues/343 + ca-certs: + plugin: nil + stage-packages: [ca-certificates]