From 895319377d324706c383dc78c5a5f26d53fdce45 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Wed, 22 May 2024 16:31:35 +0800 Subject: [PATCH] Update docker image to ubuntu22.04 for ci (#561) Signed-off-by: Cai Yudong --- .github/workflows/ut.yaml | 24 ++++++++++++------------ ci/pod/e2e-cpu.yaml | 2 +- ci/pod/e2e-gpu.yaml | 2 +- ci/pod/ut-gpu.yaml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ut.yaml b/.github/workflows/ut.yaml index e062f9d02..0b517af87 100644 --- a/.github/workflows/ut.yaml +++ b/.github/workflows/ut.yaml @@ -21,8 +21,8 @@ on: jobs: ut: - name: ut on ubuntu-20.04 - runs-on: ubuntu-20.04 + name: ut on ubuntu-22.04 + runs-on: ubuntu-22.04 timeout-minutes: 90 strategy: fail-fast: true @@ -41,9 +41,9 @@ jobs: uses: actions/download-artifact@v4 with: github-token: ${{ secrets.GITHUB_TOKEN }} - # this run-id is got from a successful "Upload Conan Artifact" workflow run on 2024/03/18, - # it will be valid till 2024/06/17 - run-id: 8322823477 + # this run-id is got from a successful "Upload Conan Artifact" workflow run on 2024/05/13, + # it will be valid till 2024/08/12 + run-id: 9061519922 name: conan-asan path: downloaded continue-on-error: true @@ -85,7 +85,7 @@ jobs: codecov: name: Upload Code Coverage needs: [ut] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 timeout-minutes: 5 steps: - name: Download code coverage results @@ -102,7 +102,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: ./lcov_output.info - name: ubuntu-20.04-unittests + name: ubuntu-22.04-unittests fail_ci_if_error: true - name: Retry Upload coverage to Codecov if: "${{ failure() }} && github.repository == 'zilliztech/knowhere'" @@ -111,12 +111,12 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: ./lcov_output.info - name: ubuntu-20.04-unittests + name: ubuntu-22.04-unittests fail_ci_if_error: true swig-build: name: python3 wheel - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 timeout-minutes: 60 steps: - name: Checkout @@ -138,9 +138,9 @@ jobs: uses: actions/download-artifact@v4 with: github-token: ${{ secrets.GITHUB_TOKEN }} - # this run-id is got from a successful "Upload Conan Artifact" workflow run on 2024/03/18, - # it will be valid till 2024/06/17 - run-id: 8322823477 + # this run-id is got from a successful "Upload Conan Artifact" workflow run on 2024/05/13, + # it will be valid till 2024/08/12 + run-id: 9061519922 name: conan-wheel path: downloaded continue-on-error: true diff --git a/ci/pod/e2e-cpu.yaml b/ci/pod/e2e-cpu.yaml index e6c32b636..da0bf6b37 100644 --- a/ci/pod/e2e-cpu.yaml +++ b/ci/pod/e2e-cpu.yaml @@ -24,7 +24,7 @@ spec: topologyKey: "kubernetes.io/hostname" containers: - name: main - image: milvusdb/knowhere-cpu-build:amd64-ubuntu20.04-20240229-c96b383 + image: milvusdb/knowhere-cpu-build:amd64-ubuntu22.04-20240521-0be910f7 tty: true args: ["cat"] resources: diff --git a/ci/pod/e2e-gpu.yaml b/ci/pod/e2e-gpu.yaml index 16602dfcc..1bdcbbc0b 100644 --- a/ci/pod/e2e-gpu.yaml +++ b/ci/pod/e2e-gpu.yaml @@ -24,7 +24,7 @@ spec: topologyKey: "kubernetes.io/hostname" containers: - name: main - image: milvusdb/knowhere-gpu-build:amd64-ubuntu20.04-20240322-d6c110b + image: milvusdb/knowhere-gpu-build:amd64-ubuntu22.04-20240513-57964c2 tty: true args: ["cat"] resources: diff --git a/ci/pod/ut-gpu.yaml b/ci/pod/ut-gpu.yaml index 3175d0e07..980dbe02c 100644 --- a/ci/pod/ut-gpu.yaml +++ b/ci/pod/ut-gpu.yaml @@ -24,7 +24,7 @@ spec: topologyKey: "kubernetes.io/hostname" containers: - name: build - image: milvusdb/knowhere-gpu-build:amd64-ubuntu20.04-20240322-d6c110b + image: milvusdb/knowhere-gpu-build:amd64-ubuntu22.04-20240513-57964c2 env: - name: ASAN_OPTIONS value: protect_shadow_gap=0