From b40ca1888b757d5881d1e587aca9275b21540abe Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 17 Jul 2022 22:49:06 +0200 Subject: [PATCH] feat(koolbox): Add changelog genrator and release-cli This patch prepares the usage of koolbox as release CI image. --- images/koolbox/.release | 2 +- images/koolbox/Dockerfile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/images/koolbox/.release b/images/koolbox/.release index 85f180f38..9990762bd 100644 --- a/images/koolbox/.release +++ b/images/koolbox/.release @@ -1 +1 @@ -release=0.1.0 +release=0.2.0 diff --git a/images/koolbox/Dockerfile b/images/koolbox/Dockerfile index fe1e380fa..83641a1cd 100644 --- a/images/koolbox/Dockerfile +++ b/images/koolbox/Dockerfile @@ -14,6 +14,12 @@ RUN curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubec && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl \ && install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert +# Release CLI cache +FROM registry.gitlab.com/gitlab-org/release-cli:latest@sha256:af74927a13c44668cf3741a8e3ef513cd4353703707c64b51b6f6ea98d3fefaf as release-cli + +# git-chglog cache +FROM quay.io/git-chglog/git-chglog:0.15.1 as git-chglog + # Helm CLI cache FROM registry.fedoraproject.org/fedora:35 as helm @@ -156,6 +162,8 @@ COPY --from=sops /usr/local/bin/sops /usr/local/bin/sops COPY --from=yq /usr/local/bin/yq /usr/local/bin/yq COPY --from=kubectl-krew /opt/krew/krew /usr/local/bin/kubectl-krew COPY --from=mdbook /usr/local/bin/mdbook /usr/local/bin/mdbook +COPY --from=release-cli /usr/local/bin/release-cli /usr/local/bin/release-cli +COPY --from=git-chglog /usr/local/bin/git-chglog /usr/local/bin/git-chglog RUN true \ && echo "command -v kubectl-krew >/dev/null && export PATH=\"${KREW_ROOT:-$HOME/.krew}/bin:$PATH\"" >> /root/.bashrc \ -- GitLab