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

Add ubicloud runners #383

Merged
merged 1 commit into from
Sep 13, 2023
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
Add ubicloud runners along w/ Github ones
  • Loading branch information
iskakaushik committed Sep 13, 2023
commit ad70c1580c2adad91544c9470d89d81bc2ac0f14
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
services:
catalog_peer:
Expand Down Expand Up @@ -36,7 +39,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler libssl-dev pkg-config build-essential

- name: setup gcp service account
id: gcp-service-account
uses: jsdaniell/create-json@v1.2.2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dev-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
jobs:
release:
name: build and release
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
steps:
- name: checkout sources
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:

jobs:
docker-build:
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
permissions:
contents: read
packages: write
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:

jobs:
flow_test:
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
services:
pg_cdc:
Expand Down Expand Up @@ -59,13 +62,13 @@ jobs:
- name: create hstore extension and increase logical replication limits
run: |
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "CREATE EXTENSION hstore;"
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET wal_level=logical;"
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET wal_level=logical;"
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET max_replication_slots=100;"
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET max_wal_senders=100;"
docker restart pg_cdc
docker restart pg_cdc
working-directory: ./flow
env:
PG_CDC:
PG_CDC: empty
PGPASSWORD: postgres

- name: run tests
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ jobs:
checks: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/rust-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ jobs:
checks: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/stable-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:
jobs:
release:
name: build and release
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
permissions:
contents: write
steps:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/stable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ on:

jobs:
docker-build:
runs-on: ubuntu-latest
strategy:
matrix:
runner: [ubuntu-latest, ubicloud]
runs-on: ${{ matrix.runner }}
permissions:
contents: read
packages: write
Expand Down
Loading