Skip to content

Commit

Permalink
enhance: [skip e2e] Skip Amazon&Rockylinux instead of commenting job (m…
Browse files Browse the repository at this point in the history
…ilvus-io#35108)

Related to milvus-io#35084

Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Sumit Dubey <[email protected]>
  • Loading branch information
congqixia authored and sumitd2 committed Aug 6, 2024
1 parent c2e3e29 commit 946fb30
Showing 1 changed file with 52 additions and 50 deletions.
102 changes: 52 additions & 50 deletions .github/workflows/code-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 946fb30

Please sign in to comment.