Skip to content

Commit

Permalink
tests/Ci: Use a more powerful machine for cross-build tests
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mars <[email protected]>
  • Loading branch information
upils committed Oct 10, 2024
1 parent 2c1bcf4 commit 5578ca7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/spread-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ jobs:

if [[ "${{ matrix.systems }}" =~ -arm- ]]; then
BACKEND=google-arm
elif [[ "${{ matrix.group }}" =~ -crossbuild ]]; then
BACKEND=google-crossbuild
fi

RUN_TESTS=""
Expand Down
12 changes: 11 additions & 1 deletion spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ backends:
- ubuntu-24.04-64:
storage: 45G
workers: 1
google-crossbuild:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-east1-b
plan: n2-standard-4
halt-timeout: 2h
systems:
- ubuntu-24.04-64:
storage: 45G
workers: 1
google-arm:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
Expand Down Expand Up @@ -141,7 +151,7 @@ suites:
IMG/ubuntu_server_pc_amd64: ubuntu-server-pc-amd64
tests/amd64-crossbuild/:
summary: Integration tests for ubuntu-image on amd64
backends: [google, qemu]
backends: [google-crossbuild, qemu]
environment:
IMG/ubuntu_server_riscv64: ubuntu-server-riscv64
IMG/ubuntu_server_pi_arm64: ubuntu-server-pi-arm64
Expand Down

0 comments on commit 5578ca7

Please sign in to comment.