Skip to content

Commit

Permalink
Bump versions in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Leonid Kondrashov <[email protected]>
  • Loading branch information
leokondrashov authored and JooyoungPark73 committed Mar 5, 2024
1 parent b8c79e6 commit 5143a83
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
strategy:
matrix:
go: ['1.18', '1.19']
go: ['1.21', '1.22']
# Build all variants regardless of failures
fail-fast: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
name: Build setup scripts
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Check out the code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cri_minio_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- name: Setup TMPDIR
run: mkdir -p $TMPDIR

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Check out code into the Go module directory
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cri_stock_containerd_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Build setup scripts
run: pushd scripts && go build -o setup_tool && popd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cri_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Add rsync
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
test-name: [test, test-man-bench]
steps:

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Set up Python 3.x
uses: actions/setup-python@v5
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Setup TMPDIR
run: mkdir -p $TMPDIR

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Upgrade git
run: |
Expand Down Expand Up @@ -77,10 +77,10 @@ jobs:
- name: Setup TMPDIR
run: mkdir -p $TMPDIR

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Check out code into the Go module directory
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openyurt-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Check out the code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/stargz_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
stargz-container-test:
name: Test running stargz-based image using kn
env:
KIND_VERSION: v0.14.0
K8S_VERSION: v1.23
KIND_VERSION: v0.22.0
K8S_VERSION: v1.29
YAML_DIR: workloads/container
runs-on: ubuntu-20.04
strategy:
Expand All @@ -42,10 +42,10 @@ jobs:
- name: Checkout LFS objects
run: git lfs checkout

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Build setup scripts
run: pushd scripts && go build -o setup_tool && popd
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
module: [misc, networking, snapshotting]
steps:

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Set up Python 3.x
uses: actions/setup-python@v5
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
module: [profile]
steps:

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Set up Python 3.x
uses: actions/setup-python@v5
Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
module: [ ctriface, ctriface/image, devmapper ]
steps:

- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22'

- name: Upgrade git
run: |
Expand Down
4 changes: 3 additions & 1 deletion scripts/cloudlab/setup_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ fi

if [ "$USE_STARGZ" == "use-stargz" ]; then
$SCRIPTS/stargz/setup_stargz.sh
fi
fi

sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
2 changes: 1 addition & 1 deletion scripts/github_runner/setup_integ_runners_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $PWD/../install_go.sh

# install kind from ease-lab/kind
rm -rf /tmp/kind/
git clone -b custom_docker_params_for_vHive_v0.12.0 https://github.com/ease-lab/kind /tmp/kind/
git clone -b custom_docker_params_for_vHive_v0.17.0 https://github.com/ease-lab/kind /tmp/kind/
cd /tmp/kind
source /etc/profile && go build
sudo mv kind /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion scripts/stargz/01-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail

kindVersion=$(kind version);
K8S_VERSION=${k8sVersion:-v1.23.4@sha256:0e34f0d0fd448aa2f2819cfd74e99fe5793a6e4938b328f657c8e3f81ee0dfb9}
K8S_VERSION=${k8sVersion:-v1.29.1}
KIND_BASE=${KIND_BASE:-kindest/node}
CLUSTER_NAME=${KIND_CLUSTER_NAME:-knative}

Expand Down
2 changes: 1 addition & 1 deletion scripts/stargz/02-kourier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail
set -u

KNATIVE_NET_KOURIER_VERSION=${KNATIVE_NET_KOURIER_VERSION:-1.4.0}
KNATIVE_NET_KOURIER_VERSION=${KNATIVE_NET_KOURIER_VERSION:-1.13.0}

## INSTALL KOURIER
n=0
Expand Down
2 changes: 1 addition & 1 deletion scripts/stargz/02-serving.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail
set -u

KNATIVE_VERSION=${KNATIVE_VERSION:-1.4.0}
KNATIVE_VERSION=${KNATIVE_VERSION:-1.13.0}

wget -q https://github.com/knative/client/releases/download/knative-v${KNATIVE_VERSION}/kn-linux-amd64
mv kn-linux-amd64 kn && chmod +x kn
Expand Down
2 changes: 1 addition & 1 deletion scripts/stargz/setup_stargz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ROOT="$( cd $DIR && cd ../.. && pwd)"
BINS=$ROOT/bin
CONFIGS=$ROOT/configs/stargz
STARGZ_VERSION=v0.13.0
STARGZ_VERSION=v0.15.1

# Get stargz snapshotter tar
wget --continue --quiet https://github.com/containerd/stargz-snapshotter/releases/download/${STARGZ_VERSION}/stargz-snapshotter-${STARGZ_VERSION}-linux-amd64.tar.gz
Expand Down

0 comments on commit 5143a83

Please sign in to comment.