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

test: runs-on input to workflows #162

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/controller-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
controller-container:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@v2.0.1-containers
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@feat/runs-on-input
with:
job-name: controller-container
comment-pr: "true"
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/controller-flake8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ concurrency:

jobs:
controller-flake8:
runs-on:
labels: [self-hosted, linux, x64]
group: light
runs-on: "ubuntu-latest"

steps:
- name: clone repo
Expand All @@ -39,4 +37,4 @@ jobs:

- name: run flake8
run: |
flake8 containers/controller/src
python3 -m flake8 containers/controller/src
2 changes: 1 addition & 1 deletion .github/workflows/fizzbuzz-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
fizzbuzz-chart:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-chart.yaml@v2.0.3-charts
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-chart.yaml@feat/runs-on-input
with:
job-name: fizzbuzz-chart
comment-pr: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fizzbuzz-crds-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
fizzbuzz-crds-chart:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-chart.yaml@v2.0.3-charts
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-chart.yaml@feat/runs-on-input
with:
job-name: fizzbuzz-crds-chart
comment-pr: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/internal-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
internal-container:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@v2.0.1-containers
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@feat/runs-on-input
with:
job-name: internal-container
comment-pr: "true"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/multi-container-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
setup:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-repo.yaml@v1.0.0-repo
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-repo.yaml@feat/runs-on-input
with:
job-name: setup
release-tag-format: 'v${version}-bulk-release-test'

controller-container:
needs: setup
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-container.yaml@v1.0.0-bulk-containers
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-container.yaml@feat/runs-on-input
with:
job-name: controller-container
comment-pr: "true"
Expand All @@ -65,7 +65,7 @@ jobs:

trino-container:
needs: setup
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-container.yaml@v1.0.0-bulk-containers
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-container.yaml@feat/runs-on-input
with:
job-name: trino-container
comment-pr: "true"
Expand All @@ -86,7 +86,7 @@ jobs:

fizzbuzz-chart:
needs: setup
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-chart.yaml@v1.0.0-bulk-charts
uses: SwanseaUniversityMedical/workflows/.github/workflows/bulk-pr-and-release-chart.yaml@feat/runs-on-input
with:
job-name: fizzbuzz-chart
comment-pr: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ concurrency:

jobs:
pr-labeler:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-labeler.yaml@v1.1.1-pr-labeler
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-labeler.yaml@feat/runs-on-input
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ concurrency:

jobs:
pr-title-commitlint:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-title-commitlint.yaml@v1.4.0-pr-title-commitlint
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-title-commitlint.yaml@feat/runs-on-input
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
group: heavy

steps:
- uses: SwanseaUniversityMedical/workflows/.github/actions/renovate@v1.0.0-renovate
- uses: SwanseaUniversityMedical/workflows/.github/actions/renovate@feat/runs-on-input
with:
token: ${{ secrets.RENOVATE_TOKEN }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trino-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
trino-container:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@v2.0.1-containers
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@feat/runs-on-input
with:
job-name: trino-container
comment-pr: "true"
Expand Down
Loading