Skip to content

Commit

Permalink
feat: use auto-scaleable runners
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Sep 13, 2023
1 parent 3b688de commit 9e08e89
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-untriaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
apply-label:
runs-on: self-hosted
runs-on: arc-runner-set
steps:
- uses: actions/github-script@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
backport:
runs-on: self-hosted
runs-on: arc-runner-set
permissions:
contents: write
pull-requests: write
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build_and_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [self-hosted, windows-latest]
os: [arc-runner-set, windows-latest]
group: [1, 2, 3, 4]
include:
- os: self-hosted
- os: arc-runner-set
name: Linux
- os: windows-latest
name: Windows
Expand Down Expand Up @@ -92,13 +92,13 @@ jobs:

- name: Run linter
# ciGroup 1 of unit-tests is shorter and Linux is faster
if: matrix.group == 1 && matrix.os == 'self-hosted'
if: matrix.group == 1 && matrix.os == 'arc-runner-set'
id: linter
run: yarn lint

- name: Validate NOTICE file
# ciGroup 1 of unit-tests is shorter and Linux is faster
if: matrix.group == 1 && matrix.os == 'self-hosted'
if: matrix.group == 1 && matrix.os == 'arc-runner-set'
id: notice-validate
run: yarn notice:validate

Expand Down Expand Up @@ -130,10 +130,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [self-hosted, windows-latest]
os: [arc-runner-set, windows-latest]
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
include:
- os: self-hosted
- os: arc-runner-set
name: Linux
- os: windows-latest
name: Windows
Expand Down Expand Up @@ -217,12 +217,12 @@ jobs:
strategy:
matrix:
include:
- os: self-hosted
- os: arc-runner-set
name: Linux x64
ext: tar.gz
suffix: linux-x64
script: build-platform --linux --skip-os-packages
- os: self-hosted
- os: arc-runner-set
name: Linux ARM64
ext: tar.gz
suffix: linux-arm64
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:

bwc-tests:
needs: [build-min-artifact-tests]
runs-on: self-hosted
runs-on: arc-runner-set
container:
image: docker://opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-integtest-v2
options: --user 1001
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog_verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
# Enforces the update of a changelog file on every pull request
verify-changelog:
runs-on: self-hosted
runs-on: arc-runner-set
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_doc_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
jobs:
create-issue:
if: ${{ github.event.label.name == 'needs-documentation' }}
runs-on: self-hosted
runs-on: arc-runner-set
name: Create Documentation Issue
steps:
- name: GitHub App token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
cypress-tests:
runs-on: self-hosted
runs-on: arc-runner-set
container:
image: docker://opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-integtest-v2
options: --user 1001
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete_backport_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
delete-branch:
runs-on: self-hosted
runs-on: arc-runner-set
if: startsWith(github.event.pull_request.head.ref,'backport/')
steps:
- name: Delete merged branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-workflow-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-action:
runs-on: self-hosted
runs-on: arc-runner-set
permissions:
pull-requests: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
linkchecker:

runs-on: self-hosted
runs-on: arc-runner-set

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 9e08e89

Please sign in to comment.