Skip to content

Commit

Permalink
Add ubicloud runners (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Sep 13, 2023
1 parent e89e30a commit f1ee5c8
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 12 deletions.
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/[email protected]
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

0 comments on commit f1ee5c8

Please sign in to comment.