From 0948a0b9aeab514926273d33a9ded737b89d4b60 Mon Sep 17 00:00:00 2001 From: Silvan Date: Tue, 14 Nov 2023 11:48:41 +0100 Subject: [PATCH] ci: set runner group on parallel jobs (#6916) --- .github/workflows/console.yml | 3 ++- .github/workflows/core-integration-test.yml | 4 ++++ .github/workflows/core-unit-test.yml | 3 ++- .github/workflows/core.yml | 3 ++- .github/workflows/e2e.yml | 3 ++- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/console.yml b/.github/workflows/console.yml index 8471bf5af..66de3b33a 100644 --- a/.github/workflows/console.yml +++ b/.github/workflows/console.yml @@ -23,7 +23,8 @@ jobs: outputs: cache_key: ${{ steps.cache.outputs.cache-primary-key }} cache_path: ${{ env.cache_path }} - runs-on: ubuntu-latest + runs-on: + group: zitadel-public steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/core-integration-test.yml b/.github/workflows/core-integration-test.yml index f57a79767..c99bba652 100644 --- a/.github/workflows/core-integration-test.yml +++ b/.github/workflows/core-integration-test.yml @@ -16,6 +16,10 @@ on: jobs: postgres: runs-on: ubuntu-latest + # TODO: use runner group as soon as integration tests run in parallel + # Currently it only consumes time and adds no value + # runs-on: + # group: zitadel-public services: postgres: image: postgres diff --git a/.github/workflows/core-unit-test.yml b/.github/workflows/core-unit-test.yml index 3097cfd57..675c3d0a1 100644 --- a/.github/workflows/core-unit-test.yml +++ b/.github/workflows/core-unit-test.yml @@ -15,7 +15,8 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: + group: zitadel-public steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 45c4bbda0..f69a53ced 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -31,7 +31,8 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: + group: zitadel-public outputs: cache_key: ${{ steps.cache.outputs.cache-primary-key }} cache_path: ${{ env.cache_path }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5310d743d..67a72613b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -9,7 +9,8 @@ jobs: fail-fast: false matrix: browser: [firefox, chrome] - runs-on: ubuntu-latest + runs-on: + group: zitadel-public steps: - name: Checkout Repository