enhance: [skip e2e] Skip Amazon&Rockylinux instead of commenting job (#35108)

Related to #35084

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/35109/head
congqixia 2024-07-30 16:23:49 +08:00 committed by GitHub
parent de8a266d8a
commit b787bb4783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 52 additions and 50 deletions

View File

@ -61,54 +61,56 @@ jobs:
run: |
./build/builder.sh /bin/bash -c "make check-proto-product && make verifiers"
# amazonlinux:
# name: Code Checker Amazonlinux 2023
# # Run in amazonlinux docker
# runs-on: ubuntu-latest
# timeout-minutes: 180
# steps:
# - name: Maximize build space
# uses: easimon/maximize-build-space@master
# if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
# with:
# root-reserve-mb: 20480
# swap-size-mb: 1024
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# - name: Checkout
# uses: actions/checkout@v2
# - name: Download Caches
# uses: ./.github/actions/cache
# with:
# os: 'amazonlinux2023'
# - name: Code Check
# run: |
# sed -i 's/ubuntu22.04/amazonlinux2023/g' .env
# ./build/builder.sh /bin/bash -c "make install"
amazonlinux:
if: ${{ false }} # skip for now
name: Code Checker Amazonlinux 2023
# Run in amazonlinux docker
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
uses: ./.github/actions/cache
with:
os: 'amazonlinux2023'
- name: Code Check
run: |
sed -i 's/ubuntu22.04/amazonlinux2023/g' .env
./build/builder.sh /bin/bash -c "make install"
# rockylinux:
# name: Code Checker rockylinux8
# # Run in amazonlinux docker
# runs-on: ubuntu-latest
# timeout-minutes: 180
# steps:
# - name: Maximize build space
# uses: easimon/maximize-build-space@master
# if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
# with:
# root-reserve-mb: 20480
# swap-size-mb: 1024
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# - name: Checkout
# uses: actions/checkout@v2
# - name: Download Caches
# uses: ./.github/actions/cache
# with:
# os: 'rockylinux8'
# - name: Code Check
# run: |
# sed -i 's/ubuntu22.04/rockylinux8/g' .env
# ./build/builder.sh /bin/bash -c "make install"
rockylinux:
if: ${{ false }} # skip for now
name: Code Checker rockylinux8
# Run in amazonlinux docker
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
uses: ./.github/actions/cache
with:
os: 'rockylinux8'
- name: Code Check
run: |
sed -i 's/ubuntu22.04/rockylinux8/g' .env
./build/builder.sh /bin/bash -c "make install"