Skip to content
Snippets Groups Projects
Verified Commit b40ca188 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(koolbox): Add changelog genrator and release-cli

This patch prepares the usage of koolbox as release CI image.
parent c4d24375
Branches
Tags
No related merge requests found
Pipeline #14307 failed
release=0.1.0 release=0.2.0
...@@ -14,6 +14,12 @@ RUN curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubec ...@@ -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 /usr/local/bin/kubectl \
&& install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert && 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 # Helm CLI cache
FROM registry.fedoraproject.org/fedora:35 as helm FROM registry.fedoraproject.org/fedora:35 as helm
...@@ -156,6 +162,8 @@ COPY --from=sops /usr/local/bin/sops /usr/local/bin/sops ...@@ -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=yq /usr/local/bin/yq /usr/local/bin/yq
COPY --from=kubectl-krew /opt/krew/krew /usr/local/bin/kubectl-krew 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=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 \ RUN true \
&& echo "command -v kubectl-krew >/dev/null && export PATH=\"${KREW_ROOT:-$HOME/.krew}/bin:$PATH\"" >> /root/.bashrc \ && echo "command -v kubectl-krew >/dev/null && export PATH=\"${KREW_ROOT:-$HOME/.krew}/bin:$PATH\"" >> /root/.bashrc \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment