Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kubetest2 CI binaries to test images #21522

Merged
merged 1 commit into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions images/kubekins-e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ RUN if [ -n "${KIND_VERSION}" ]; then \
chmod +x /usr/local/bin/kind; \
fi

# install kubetest2 binaries if a version is provided
ARG KUBETEST2_VERSION
RUN if [ -n "${KUBETEST2_VERSION}" ]; then \
wget -q -O /usr/local/bin/kubetest2.tgz https://storage.googleapis.com/k8s-staging-kubetest2/${KUBETEST2_VERSION}/linux-amd64.tgz && \
tar -xzf /usr/local/bin/kubetest2.tgz \
rm -f /usr/local/bin/kubetest2.tgz
fi

# configure dockerd to use mirror.gcr.io
# per instructions at https://cloud.google.com/container-registry/docs/pulling-cached-images
ARG DOCKER_REGISTRY_MIRROR_URL=https://mirror.gcr.io
Expand Down
1 change: 1 addition & 0 deletions images/kubekins-e2e/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ variants:
K8S_RELEASE: stable
BAZEL_VERSION: 3.4.1
OLD_BAZEL_VERSION: 2.2.0
KUBETEST2_VERSION: latest
UPGRADE_DOCKER: 'true'
go-canary:
CONFIG: go-canary
Expand Down