Skip to content

Commit 51c2b52

Browse files
committed
feat: replace packer with kargo CLI
Swap out HashiCorp Packer for Kargo CLI (v1.9.2) for application lifecycle orchestration support. https://claude.ai/code/session_01RofXXAMZxK4irobNYjYn3W
1 parent 10d0b70 commit 51c2b52

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

Containerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,11 @@ RUN curl -sSL -o /tmp/argo-linux-amd64.gz \
4040
&& mv /tmp/argo-linux-amd64 /usr/local/bin/argo \
4141
&& chmod +x /usr/local/bin/argo
4242

43-
# Install HashiCorp Packer
44-
ARG PACKER_VERSION=1.11.2
45-
# hadolint ignore=DL3008
46-
RUN apt-get update \
47-
&& apt-get install --no-install-recommends -y unzip \
48-
&& curl -sSL -o /tmp/packer.zip \
49-
"https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip" \
50-
&& unzip /tmp/packer.zip -d /usr/local/bin/ \
51-
&& rm /tmp/packer.zip \
52-
&& apt-get clean \
53-
&& rm -rf /var/lib/apt/lists/*
43+
# Install Kargo CLI
44+
ARG KARGO_VERSION=1.9.2
45+
RUN curl -sSL -o /usr/local/bin/kargo \
46+
"https://github.com/akuity/kargo/releases/download/v${KARGO_VERSION}/kargo-linux-amd64" \
47+
&& chmod +x /usr/local/bin/kargo
5448

5549
# Install pack (Cloud Native Buildpacks CLI)
5650
ARG PACK_VERSION=0.36.4

manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build:
77
args:
88
- RUNNER_VERSION=latest
99
- ARGO_VERSION=3.6.4
10-
- PACKER_VERSION=1.11.2
10+
- KARGO_VERSION=1.9.2
1111
- PACK_VERSION=0.36.4
1212
labels:
1313
- org.opencontainers.image.source=https://github.com/deerhide/python-github-runner

0 commit comments

Comments
 (0)