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

fix(ci): taregt snapi dedicated runners #504

Merged
merged 1 commit into from
Sep 9, 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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ env:

jobs:
code-checks:
runs-on: self-hosted
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- run: ./ci/check headerCheckAll
- run: ./ci/check scalafmtCheckAll
- run: ./ci/check javafmtCheckAll
doc:
runs-on: self-hosted
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- name: Ensure ANTLR JAR is present
Expand All @@ -50,7 +50,7 @@ jobs:
- snapi-compiler
- sql-compiler
- python-compiler
runs-on: self-hosted
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- uses: oNaiPs/secrets-to-env-action@v1.5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
publish-snapi-components:
runs-on: self-hosted
runs-on: [self-hosted,snapi]
container:
image: ghcr.io/raw-labs/raw-scala-runner:21.0.0-ol9-20230919_scala2.12.18_sbt1.9.6
options: --user 1001 --cpus 6 --memory 32g -e HOME=/home/sbtuser
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
release:
runs-on: self-hosted
runs-on: [self-hosted,snapi]
container:
image: ghcr.io/raw-labs/raw-ci-runner:latest
options: --user 1001
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
create-gh-release:
runs-on: self-hosted
runs-on: [self-hosted,snapi]
container:
image: ghcr.io/raw-labs/raw-scala-runner:21.0.0-ol9-20230919_scala2.12.18_sbt1.9.6
options: --user 1001
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
# ./launcher/target/raw-cli-*.jar
notify-main-repo:
if: github.event == 'repository_dispatch'
runs-on: self-hosted
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v3
- name: Notify main repo
Expand All @@ -47,4 +47,4 @@ jobs:
token: ${{ secrets.RAW_CI_PAT }}
repository: raw-labs/raw
event-type: snapi-release
client-payload: '{"ref": "${{ github.event.client_payload.ref }}", "tag": "${{ github.event.client_payload.tag }}"}'
client-payload: '{"ref": "${{ github.event.client_payload.ref }}", "tag": "${{ github.event.client_payload.tag }}"}'