Skip to content

Commit

Permalink
chore(CI): unify to use Ubuntu 22.04 for CI (apache#1609)
Browse files Browse the repository at this point in the history
apache#1604

Prior to this patch, the `thirdparties-bin-test-${OS}-${branch}` docker images are
only built for Ubuntu 18.04 for CI purpose, but some CI jobs use Ubuntu 22.04 image,
it may cause the CI failed because the Ubuntu 22.04 image is outdated (for example,
lack of or outdated of some thirdparties).
This patch unify to build and use `thirdparties-bin-test-2204-${branch}` docker image.
  • Loading branch information
acelyc111 authored Sep 15, 2023
1 parent b15d577 commit fef5b16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint_and_test_cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:
needs: cpp_clang_format_linter
runs-on: ubuntu-latest
container:
image: apache/pegasus:thirdparties-bin-test-ubuntu1804-${{ github.base_ref }}
image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }}
steps:
- uses: actions/checkout@v3
- name: Setup cache
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
needs: build_ASAN
runs-on: ubuntu-latest
container:
image: apache/pegasus:thirdparties-bin-test-ubuntu1804-${{ github.base_ref }}
image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }}
options: --cap-add=SYS_PTRACE
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
# needs: cpp_clang_format_linter
# runs-on: ubuntu-latest
# container:
# image: apache/pegasus:thirdparties-bin-test-ubuntu1804-${{ github.base_ref }}
# image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }}
# steps:
# - uses: actions/checkout@v3
# - name: Setup cache
Expand Down Expand Up @@ -508,7 +508,7 @@ jobs:
# needs: build_UBSAN
# runs-on: ubuntu-latest
# container:
# image: apache/pegasus:thirdparties-bin-test-ubuntu1804-${{ github.base_ref }}
# image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }}
# options: --cap-add=SYS_PTRACE
# steps:
# - uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/thirdparty-regular-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
fail-fast: false
matrix:
osversion:
- ubuntu1804
- ubuntu2204
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand Down

0 comments on commit fef5b16

Please sign in to comment.