Skip to content

Commit

Permalink
github: workflows: use dts-builder label for runner
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Żyjewski <[email protected]>
  • Loading branch information
TomaszAIR committed Nov 3, 2023
1 parent 26973f1 commit 8f2e460
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
jobs:
build:
name: Build system image
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Checkout meta-dts repo
uses: actions/checkout@v2
Expand All @@ -21,7 +22,8 @@ jobs:
name: Deploy DTS artifacts on boot.dasharo.com
if: always()
needs: build
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Prepare SSH key
shell: bash
Expand Down Expand Up @@ -94,7 +96,8 @@ jobs:
name: Cleanup
if: always()
needs: deploy-images
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Cleanup after deployment
shell: bash
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
jobs:
build:
name: Build system image
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Checkout meta-dts repo
uses: actions/checkout@v2
Expand All @@ -21,7 +22,8 @@ jobs:
name: Deploy DTS artifacts on boot.dasharo.com
if: always()
needs: build
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Prepare SSH key
shell: bash
Expand Down Expand Up @@ -72,7 +74,8 @@ jobs:
name: Cleanup
if: always()
needs: deploy-images
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Cleanup after deployment
shell: bash
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
jobs:
build:
name: Build system image without using cache
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Prepare SSH key
shell: bash
Expand All @@ -28,7 +29,8 @@ jobs:
name: Deploy cache on cache.dasharo.com
if: always()
needs: build
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Prepare SSH key
shell: bash
Expand All @@ -50,7 +52,8 @@ jobs:
name: Cleanup
if: always()
needs: deploy-cache
runs-on: self-hosted
runs-on:
label: dts-builder
steps:
- name: Cleanup after deployment
shell: bash
Expand Down

0 comments on commit 8f2e460

Please sign in to comment.