ci: set runner group on parallel jobs (#6916)

This commit is contained in:
Silvan
2023-11-14 11:48:41 +01:00
committed by GitHub
parent 3bc9a60986
commit 0948a0b9ae
5 changed files with 12 additions and 4 deletions

View File

@@ -23,7 +23,8 @@ jobs:
outputs: outputs:
cache_key: ${{ steps.cache.outputs.cache-primary-key }} cache_key: ${{ steps.cache.outputs.cache-primary-key }}
cache_path: ${{ env.cache_path }} cache_path: ${{ env.cache_path }}
runs-on: ubuntu-latest runs-on:
group: zitadel-public
steps: steps:
- -
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -16,6 +16,10 @@ on:
jobs: jobs:
postgres: postgres:
runs-on: ubuntu-latest 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: services:
postgres: postgres:
image: postgres image: postgres

View File

@@ -15,7 +15,8 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on:
group: zitadel-public
steps: steps:
- -
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -31,7 +31,8 @@ env:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on:
group: zitadel-public
outputs: outputs:
cache_key: ${{ steps.cache.outputs.cache-primary-key }} cache_key: ${{ steps.cache.outputs.cache-primary-key }}
cache_path: ${{ env.cache_path }} cache_path: ${{ env.cache_path }}

View File

@@ -9,7 +9,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
browser: [firefox, chrome] browser: [firefox, chrome]
runs-on: ubuntu-latest runs-on:
group: zitadel-public
steps: steps:
- -
name: Checkout Repository name: Checkout Repository