Skip to content

Commit

Permalink
container scaling test uses multiple containers on same runner set (#280
Browse files Browse the repository at this point in the history
)
  • Loading branch information
some-natalie authored Nov 20, 2024
1 parent ddfcbfc commit c6a99eb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/arc2-container-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,24 @@ on:
required: true

jobs:
hello-world:
hello-world-alpine:
runs-on: ${{ github.event.inputs.target-scale-set }}
container: "alpine:3"
strategy:
matrix: # A matrix of 4 is probably quite plenty
matrix: # A matrix of 4 is probably quite plenty
number: [1, 2]
letter: [a, b]
steps:
- name: Hello world
run: |
echo "Hello world"
echo "Number: ${{ matrix.number }}"
echo "Letter: ${{ matrix.letter }}"
hello-world-wolfi:
runs-on: ${{ github.event.inputs.target-scale-set }}
container: "cgr.dev/chainguard/wolfi-base:latest"
strategy:
matrix: # A matrix of 4 is probably quite plenty
number: [1, 2]
letter: [a, b]
steps:
Expand Down

0 comments on commit c6a99eb

Please sign in to comment.