Skip to content

Commit 007126f

Browse files
author
Triona Doyle
committed
fix(ci): hardcode kustomize download to bypass github api rate limits
Signed-off-by: Triona Doyle <tekton@example.com>
1 parent 8c5e292 commit 007126f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openshift-ci/build-root/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.21-openshift-4.16
44

55
ARG KUBECTL_KUTTL_VERSION=0.12.1
6+
ARG KUSTOMIZE_VERSION=v5.1.1
67
ARG OPERATOR_SDK_VERSION=1.35.0
78

89
# Install kubectl tool which is used in e2e-tests
@@ -18,8 +19,7 @@ RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/relea
1819
chmod +x /usr/local/bin/argocd
1920

2021
# Install Kustomize
21-
RUN wget https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \
22-
bash install_kustomize.sh /usr/local/bin && rm install_kustomize.sh
22+
RUN curl -sSL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar -xz -C /usr/local/bin
2323

2424
# Install operator-sdk
2525
RUN curl -L -o /usr/local/bin/operator-sdk https://github.com/operator-framework/operator-sdk/releases/download/v${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64 && \

0 commit comments

Comments
 (0)