From 1f00153cfed046f894b2b255dea026ca724fffcf Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 2 Aug 2024 08:58:25 +0000 Subject: [PATCH 1/3] Add charmcraft part to prime files Support for `prime` in `charm` part removed in charmcraft 3 --- charmcraft.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charmcraft.yaml b/charmcraft.yaml index 2073d260f..85ec98cc2 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -10,6 +10,9 @@ bases: channel: "22.04" architectures: [arm64] parts: + files: + prime: + - snap_revisions.json charm: override-pull: | craftctl default @@ -19,8 +22,6 @@ parts: exit 1 fi charm-strict-dependencies: true - prime: - - snap_revisions.json build-packages: - libffi-dev - libssl-dev From 7ac8660b279e982e3d498fbe35e9aa0128a51a71 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 2 Aug 2024 09:03:14 +0000 Subject: [PATCH 2/3] Update charmcraft.yaml --- charmcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charmcraft.yaml b/charmcraft.yaml index 85ec98cc2..8225654ce 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -11,6 +11,7 @@ bases: architectures: [arm64] parts: files: + plugin: nil prime: - snap_revisions.json charm: From 332de6b1e3c140267157d5655072e59c1893a8fe Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Mon, 12 Aug 2024 14:36:13 +0000 Subject: [PATCH 3/3] Update charmcraft.yaml --- charmcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charmcraft.yaml b/charmcraft.yaml index 8225654ce..e54f353cc 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -11,7 +11,8 @@ bases: architectures: [arm64] parts: files: - plugin: nil + plugin: dump + source: . prime: - snap_revisions.json charm: