diff --git a/.github/workflows/build_setup.yml b/.github/workflows/build_setup.yml index 26c8fa135..1601073d2 100644 --- a/.github/workflows/build_setup.yml +++ b/.github/workflows/build_setup.yml @@ -22,10 +22,10 @@ jobs: name: Build setup scripts runs-on: ubuntu-20.04 steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Check out the code uses: actions/checkout@v4 @@ -35,4 +35,4 @@ jobs: - name: Show scripts help info run: ./scripts/setup_tool -h - + \ No newline at end of file diff --git a/.github/workflows/cri_minio_test.yml b/.github/workflows/cri_minio_test.yml index 0e83cb598..e8ab7f199 100644 --- a/.github/workflows/cri_minio_test.yml +++ b/.github/workflows/cri_minio_test.yml @@ -34,10 +34,10 @@ jobs: - name: Setup TMPDIR run: mkdir -p $TMPDIR - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Check out code into the Go module directory uses: actions/checkout@v4 diff --git a/.github/workflows/cri_stock_containerd_test.yml b/.github/workflows/cri_stock_containerd_test.yml index d849dcfc8..2dc5c3d9c 100644 --- a/.github/workflows/cri_stock_containerd_test.yml +++ b/.github/workflows/cri_stock_containerd_test.yml @@ -26,7 +26,7 @@ jobs: - name: Set up golang uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Build setup scripts run: pushd scripts && go build -o setup_tool && popd @@ -50,4 +50,4 @@ jobs: - name: Cleaning if: ${{ always() }} - run: ./scripts/github_runner/clean_cri_runner.sh stock-only + run: ./scripts/github_runner/clean_cri_runner.sh stock-only \ No newline at end of file diff --git a/.github/workflows/cri_tests.yml b/.github/workflows/cri_tests.yml index 60f791a0e..aadf88bd6 100644 --- a/.github/workflows/cri_tests.yml +++ b/.github/workflows/cri_tests.yml @@ -19,7 +19,6 @@ jobs: runs-on: ${{ fromJSON(format('["self-hosted", "{0}-cri"]', inputs.sandbox)) }} steps: - - name: Host Info run: | echo $HOSTNAME @@ -31,8 +30,8 @@ jobs: - name: Set up golang uses: actions/setup-go@v5 with: - go-version: '1.22' - + go-version: "1.21" + - name: Add rsync run: | sudo apt update diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index dbd839e1f..2bfcd88e4 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -31,10 +31,10 @@ jobs: test-name: [test, test-man-bench] steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Set up Python 3.x uses: actions/setup-python@v5 @@ -81,4 +81,4 @@ jobs: - name: Cleaning if: ${{ always() }} - run: ./scripts/setup_tool clean_fcctr + run: ./scripts/setup_tool clean_fcctr \ No newline at end of file diff --git a/.github/workflows/nightly_tests.yml b/.github/workflows/nightly_tests.yml index 9d851a60f..7707a2b72 100644 --- a/.github/workflows/nightly_tests.yml +++ b/.github/workflows/nightly_tests.yml @@ -20,10 +20,10 @@ jobs: - name: Setup TMPDIR run: mkdir -p $TMPDIR - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Upgrade git run: | @@ -77,10 +77,10 @@ jobs: - name: Setup TMPDIR run: mkdir -p $TMPDIR - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Check out code into the Go module directory uses: actions/checkout@v4 @@ -109,4 +109,4 @@ jobs: - name: Cleaning if: ${{ always() }} - run: ./scripts/github_runner/clean_cri_runner.sh + run: ./scripts/github_runner/clean_cri_runner.sh \ No newline at end of file diff --git a/.github/workflows/openyurt-unit-test.yml b/.github/workflows/openyurt-unit-test.yml index a61e477d2..f3187e7fa 100644 --- a/.github/workflows/openyurt-unit-test.yml +++ b/.github/workflows/openyurt-unit-test.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Check out the code uses: actions/checkout@v4 @@ -38,4 +38,4 @@ jobs: run: | cd scripts/openyurt-deployer chmod +x unit_test_workflow.sh - ./unit_test_workflow.sh + ./unit_test_workflow.sh \ No newline at end of file diff --git a/.github/workflows/stargz_tests.yml b/.github/workflows/stargz_tests.yml index 624d18f69..2ad8519e2 100644 --- a/.github/workflows/stargz_tests.yml +++ b/.github/workflows/stargz_tests.yml @@ -42,10 +42,10 @@ jobs: - name: Checkout LFS objects run: git lfs checkout - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Build setup scripts run: pushd scripts && go build -o setup_tool && popd @@ -79,4 +79,4 @@ jobs: run: kn service apply stargz-test -f ./configs/knative_workloads/stargz-node.yaml --concurrency-target 1 - name: Curl container - run: curl http://stargz-test.default.127.0.0.1.sslip.io | grep "Hello World" + run: curl http://stargz-test.default.127.0.0.1.sslip.io | grep "Hello World" \ No newline at end of file diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 1cba446df..8cd9def45 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -29,10 +29,10 @@ jobs: module: [misc, networking, snapshotting] steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Set up Python 3.x uses: actions/setup-python@v5 @@ -74,10 +74,10 @@ jobs: module: [profile] steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Set up Python 3.x uses: actions/setup-python@v5 @@ -122,10 +122,10 @@ jobs: module: [ ctriface, ctriface/image, devmapper ] steps: - - name: Set up Go 1.22 + - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.21' - name: Upgrade git run: | @@ -163,4 +163,4 @@ jobs: - name: Cleaning if: ${{ always() }} - run: ./scripts/setup_tool clean_fcctr + run: ./scripts/setup_tool clean_fcctr \ No newline at end of file diff --git a/configs/setup/system.json b/configs/setup/system.json index 0a1ec361d..422ca6dac 100644 --- a/configs/setup/system.json +++ b/configs/setup/system.json @@ -1,5 +1,5 @@ { - "GoVersion": "1.22.0", + "GoVersion": "1.21.1", "GoDownloadUrlTemplate": "https://go.dev/dl/go%s.linux-%s.tar.gz", "ContainerdVersion": "1.6.18", "ContainerdDownloadUrlTemplate": "https://github.com/containerd/containerd/releases/download/v%s/containerd-%s-linux-%s.tar.gz", diff --git a/docs/quickstart_guide.md b/docs/quickstart_guide.md index b3969c42e..ef38f6d3a 100644 --- a/docs/quickstart_guide.md +++ b/docs/quickstart_guide.md @@ -45,7 +45,7 @@ SSD-equipped nodes are highly recommended. Full list of CloudLab nodes can be fo ### 4. Go Installation -If you intend to build the setup scripts from source, you need to install go by running: (This will install version `1.22.0`. You can configure the version to install in `configs/setup/system.json` as `GoVersion`) +If you intend to build the setup scripts from source, you need to install go by running: (This will install version `1.21.1`. You can configure the version to install in `configs/setup/system.json` as `GoVersion`) ```bash ./scripts/install_go.sh; source /etc/profile ```