Skip to content

Commit

Permalink
Update docker image to ubuntu22.04 for ci (#561)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Yudong <[email protected]>
  • Loading branch information
cydrain authored May 22, 2024
1 parent 8bc02b1 commit 8953193
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ut.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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'"
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ci/pod/e2e-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ci/pod/e2e-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ci/pod/ut-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8953193

Please sign in to comment.