Skip to content

Commit

Permalink
tests: update tests image and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Dec 16, 2024
1 parent f40dbc6 commit bfcb5e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UPSTREAM_REPO
ARG UPSTREAM_TAG
FROM ${UPSTREAM_REPO:-uselagoon}/python-3.11:${UPSTREAM_TAG:-latest}
FROM ${UPSTREAM_REPO:-uselagoon}/python-3.12:${UPSTREAM_TAG:-latest}

RUN apk add --no-cache \
bash \
Expand All @@ -27,7 +27,7 @@ RUN apk add --no-cache --virtual .build-deps \
RUN ansible-galaxy collection install -vvv ansible.posix community.general kubernetes.core

# download, extract and install kubectl binary
ENV KUBECTL_VER=v1.25.5
ENV KUBECTL_VER=v1.31.0
RUN architecture=$(case $(uname -m) in x86_64 | amd64) echo "amd64" ;; aarch64 | arm64 | armv8) echo "arm64" ;; *) echo "amd64" ;; esac) \
&& curl -s -LO "https://dl.k8s.io/release/$KUBECTL_VER/bin/linux/${architecture}/kubectl" \
&& curl -s -LO "https://dl.k8s.io/$KUBECTL_VER/bin/linux/${architecture}/kubectl.sha256" \
Expand Down
6 changes: 3 additions & 3 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible-core >= 2.15.4
kubernetes >= 27.2.0
ansible-core >= 2.17.5
kubernetes >= 31.0.0
jmespath == 1.0.1
PyJWT == 2.6.0
PyJWT == 2.9.0

0 comments on commit bfcb5e1

Please sign in to comment.