Skip to content

Commit

Permalink
Switch to self-hosted-v2 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Sep 13, 2023
1 parent 97d2a71 commit d8fbaed
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/itest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ env:
jobs:
build:
name: Build image
# Use an environment variable to set the worker
strategy:
matrix:
runner: [self-hosted]
runs-on: ${{ matrix.runner }}
runs-on: [self-hosted, v2]
outputs:
image: ${{ steps.push.outputs.IMAGE }}
promoted_image: ${{ steps.push.outputs.PROMOTED_IMAGE }}
Expand All @@ -50,10 +46,7 @@ jobs:
echo "PROMOTED_IMAGE=$PROMOTED_IMAGE" >> "$GITHUB_OUTPUT"
integration-tests:
name: Run integration tests
strategy:
matrix:
runner: [self-hosted, v2]
runs-on: ${{ matrix.runner }}
runs-on: [self-hosted, v2]
needs: build
steps:
- name: Checkout code
Expand Down Expand Up @@ -146,10 +139,7 @@ jobs:
./itest/fink-start.sh
image-analysis:
name: Analyze image
strategy:
matrix:
runner: [self-hosted, v2]
runs-on: ${{ matrix.runner }}
runs-on: [self-hosted, v2]
permissions:
security-events: write
needs: build
Expand All @@ -173,10 +163,7 @@ jobs:
sarif_file: ${{ steps.scan.outputs.sarif }}
push:
name: Push fink-broker image to IN2P3 registry
strategy:
matrix:
runner: [self-hosted, v2]
runs-on: ${{ matrix.runner }}
runs-on: [self-hosted, v2]
needs: [build, integration-tests, image-analysis]
steps:
- name: Login to DockerHub
Expand Down

0 comments on commit d8fbaed

Please sign in to comment.