Skip to content

Commit

Permalink
[ci] Update deps version for env setup (#2690)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 authored Mar 3, 2025
1 parent 788c7b3 commit d607e5c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/helm-chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
test-upgrade: true
service-mesh: true
os: ubuntu-24.04
- k8s-version: 'v1.29.13'
- k8s-version: 'v1.29.14'
test-strategy: job_https
cluster: 'minikube'
helm-version: 'v3.14.3'
Expand All @@ -75,7 +75,7 @@ jobs:
test-upgrade: true
service-mesh: false
os: ubuntu-24.04
- k8s-version: 'v1.30.9'
- k8s-version: 'v1.30.10'
test-strategy: job_hostname
cluster: 'minikube'
helm-version: 'v3.15.4'
Expand All @@ -84,7 +84,7 @@ jobs:
test-upgrade: true
service-mesh: false
os: ubuntu-24.04
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: deployment_https
cluster: 'minikube'
helm-version: 'v3.16.4'
Expand All @@ -93,7 +93,7 @@ jobs:
test-upgrade: true
service-mesh: false
os: ubuntu-24.04
- k8s-version: 'v1.32.1'
- k8s-version: 'v1.32.2'
test-strategy: playwright_connect_grid
cluster: 'minikube'
helm-version: 'v3.17.0'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/k8s-scaling-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,37 +61,37 @@ jobs:
fail-fast: false
matrix:
include:
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_job_count_strategy_default_in_chaos
cluster: 'minikube'
helm-version: 'v3.16.4'
docker-version: '27.4.1'
python-version: '3.13'
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_job_count_strategy_default_with_node_max_sessions
cluster: 'minikube'
helm-version: 'v3.16.4'
docker-version: '27.4.1'
python-version: '3.13'
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_job_count_strategy_default
cluster: 'minikube'
helm-version: 'v3.16.4'
docker-version: '27.4.1'
python-version: '3.13'
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_deployment_count_in_chaos
cluster: 'minikube'
helm-version: 'v3.16.4'
docker-version: '27.4.1'
python-version: '3.13'
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_deployment_count_with_node_max_sessions
cluster: 'minikube'
helm-version: 'v3.16.4'
docker-version: '27.4.1'
python-version: '3.13'
- k8s-version: 'v1.31.5'
- k8s-version: 'v1.31.6'
test-strategy: test_k8s_autoscaling_deployment_count
cluster: 'minikube'
helm-version: 'v3.16.4'
Expand Down
17 changes: 8 additions & 9 deletions tests/charts/make/chart_setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ docker version
docker buildx version
docker buildx use default
if [ "$(dpkg --print-architecture)" = "amd64" ]; then
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes ;
docker run --privileged --rm tonistiigi/binfmt --install all
else
docker run --rm --privileged aptman/qus -- -r ;
docker run --rm --privileged aptman/qus -s -- -p
docker run --privileged --rm tonistiigi/binfmt --install all
fi
docker info
echo "==============================="
echo "Installing Docker compose for AMD64 / ARM64"
DOCKER_COMPOSE_VERSION="v2.26.0"
DOCKER_COMPOSE_VERSION="v2.33.1"
curl -fsSL -o ./docker-compose "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-$(uname -m)"
chmod +x ./docker-compose
sudo mv ./docker-compose /usr/libexec/docker/cli-plugins
Expand Down Expand Up @@ -83,7 +82,7 @@ elif [ "${CLUSTER}" = "minikube" ]; then
rm -rf minikube-linux-$(dpkg --print-architecture)
echo "==============================="
echo "Installing Go"
GO_VERSION="1.23.3"
GO_VERSION="1.24.0"
curl -sLO https://go.dev/dl/go$GO_VERSION.linux-$(dpkg --print-architecture).tar.gz
tar -xvf go$GO_VERSION.linux-$(dpkg --print-architecture).tar.gz -C /tmp
rm -rf go$GO_VERSION.linux-$(dpkg --print-architecture).tar.gz*
Expand All @@ -96,14 +95,14 @@ elif [ "${CLUSTER}" = "minikube" ]; then
go version
echo "==============================="
echo "Installing CRI-CTL (CLI for CRI-compatible container runtimes)"
CRICTL_VERSION="v1.30.0"
CRICTL_VERSION="v1.32.0"
curl -fsSL -o crictl.tar.gz https://github.com/kubernetes-sigs/cri-tools/releases/download/$CRICTL_VERSION/crictl-$CRICTL_VERSION-linux-$(dpkg --print-architecture).tar.gz
sudo tar -xf crictl.tar.gz -C /usr/local/bin
rm -rf crictl.tar.gz
crictl --version || true
echo "==============================="
echo "Installing CRI-Dockerd"
CRI_DOCKERD_VERSION="0.3.14"
CRI_DOCKERD_VERSION="0.3.16"
curl -fsSL -o cri-dockerd.tgz https://github.com/Mirantis/cri-dockerd/releases/download/v$CRI_DOCKERD_VERSION/cri-dockerd-$CRI_DOCKERD_VERSION.$(dpkg --print-architecture).tgz
sudo tar -xf cri-dockerd.tgz -C /tmp
sudo mv /tmp/cri-dockerd/cri-dockerd /usr/local/bin/cri-dockerd
Expand All @@ -121,7 +120,7 @@ elif [ "${CLUSTER}" = "minikube" ]; then
cri-dockerd --version
echo "==============================="
echo "Installing CNI-Plugins (Container Network Interface)"
CNI_PLUGIN_VERSION="v1.4.0"
CNI_PLUGIN_VERSION="v1.6.2"
CNI_PLUGIN_TAR="cni-plugins-linux-$(dpkg --print-architecture)-$CNI_PLUGIN_VERSION.tgz"
CNI_PLUGIN_INSTALL_DIR="/opt/cni/bin"
curl -sLO "https://github.com/containernetworking/plugins/releases/download/$CNI_PLUGIN_VERSION/$CNI_PLUGIN_TAR"
Expand Down Expand Up @@ -154,7 +153,7 @@ helm version
echo "==============================="

echo "Installing chart-testing for AMD64 / ARM64"
CHART_TESTING_VERSION="3.10.1"
CHART_TESTING_VERSION="3.12.0"
curl -fsSL -o ct.tar.gz https://github.com/helm/chart-testing/releases/download/v${CHART_TESTING_VERSION}/chart-testing_${CHART_TESTING_VERSION}_linux_$(dpkg --print-architecture).tar.gz
sudo mkdir -p /opt/ct
sudo tar -xzf ct.tar.gz -C /opt/ct
Expand Down

0 comments on commit d607e5c

Please sign in to comment.