Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downgrade runner to ubuntu-22.04 #57

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-action-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Validate GitHub Actions workflows
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Check for any changed workflows
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

jobs:
ut-linux-x86:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: UT Test on Ubuntu/x86
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
make ut UT_PARALLEL=6

sca:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: SCA Test on Ubuntu/x86
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
bvt-docker-compose-push:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: multi cn e2e bvt test docker compose(Optimistic/PUSH)
timeout-minutes: 60

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:

multi-CN-bvt-docker-compose-pessimistic:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: multi cn e2e bvt test docker compose(PESSIMISTIC)
timeout-minutes: 60

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
bvt-linux-x86:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: e2e BVT Test on Linux/x64(LAUNCH,Optimistic)
timeout-minutes: 90
steps:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
retention-days: 7

multi-cn-proxy-bvt-linux-x86:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Multi-CN e2e BVT Test on Linux/x64(LAUNCH, PROXY)
timeout-minutes: 60
env:
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
retention-days: 7

pessimistic-bvt-linux-x86:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: e2e BVT Test on Linux/x64(LAUNCH, PESSIMISTIC)
timeout-minutes: 60
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
upgrade-ci-target-linux-amd64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Compatibility Test With Target on Linux/x64(LAUNCH)
timeout-minutes: 60

Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
retention-days: 7

upgrade-ci-release-linux-amd64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Compatibility Test With Release on Linux/x64(LAUNCH)
timeout-minutes: 60
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ permissions:

jobs:
dockerhub:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/robot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
issue-notify:
if: github.event_name == 'issues' && github.event.action == 'assigned'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: ISSUE Triggered
uses: chf007/action-wechat-work@master
Expand All @@ -31,7 +31,7 @@ jobs:

add-projects-milestone:
if: github.event_name == 'issues' && github.event.action == 'opened'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Issue Add Milestone
if: contains(github.event.issue.labels.*.name, 'kind/bug')
Expand All @@ -42,7 +42,7 @@ jobs:

check-bvt-issue:
if: github.event_name == 'issues' && github.event.action == 'closed'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: CheckOut
uses: actions/checkout@v4
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
Hello @${{ github.event.issue.user.login }}. The bug issue in the BVT test code has not been removed,issues automatically open.

issue-reopen:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event_name == 'issues' && github.event.action == 'closed'
steps:
- name: Reopen Issue
Expand All @@ -90,7 +90,7 @@ jobs:
issue-number: ${{ github.event.issue.number }}

issue_close_check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event_name == 'issues' && github.event.action == 'closed'
steps:
- uses: guguducken/pull-issue-reviewer@issue_close_check_with_name
Expand All @@ -101,7 +101,7 @@ jobs:
mentions: "Prinz,DengNan"

add-issue-to-project:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event_name == 'issues' && github.event.action == 'assigned'
steps:
- name: assign issue
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
check_organization_user:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
in_org: ${{ steps.check_in_org.outputs.in_org }}
safe_label: ${{ steps.check_safe_label.outputs.safe_label }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
if: ${{ needs.check_organization_user.outputs.safe_label == '1' || needs.check_organization_user.outputs.in_org == '1' }}
name: PR Unit Test Coverage
needs: [check_organization_user]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
retention-days: 7

pr-size-label:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [check_organization_user]
steps:
- name: size-label
Expand All @@ -225,7 +225,7 @@ jobs:
}

docu_issue_check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [check_organization_user]
if: ${{ github.event.action == 'opened' }}
steps:
Expand All @@ -240,7 +240,7 @@ jobs:
# chatgpt-review:
# name: ChatGPT Review
# needs: [check_organization_user]
# runs-on: ubuntu-latest
# runs-on: ubuntu-22.04
# if: ${{ github.event.action == 'opened' }}
# steps:
# - uses: matrixorigin/ChatGPT-Reviewer@main
Expand Down
2 changes: 1 addition & 1 deletion actions/change-paths-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ on:

jobs:
test-name:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Get Change Paths

steps:
Expand Down
2 changes: 1 addition & 1 deletion actions/label-size-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:

jobs:
test-name:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Auto Add Labels

steps:
Expand Down