Skip to content

Commit

Permalink
ci: use OpenStack for spread tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo committed Jul 12, 2024
1 parent d2d25d7 commit 407c7d1
Showing 1 changed file with 33 additions and 15 deletions.
48 changes: 33 additions & 15 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,39 @@ include:
- Makefile
- rockcraft/

backends:
google:
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-east1-b
halt-timeout: 2h
systems:
- ubuntu-20.04-64:
workers: 1
storage: 40G
- ubuntu-22.04-64:
workers: 4
storage: 40G
- fedora-39-64:
workers: 1
storage: 40G
#backends:
# google:
# key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
# location: snapd-spread/us-east1-b
# halt-timeout: 2h
# systems:
# - ubuntu-20.04-64:
# workers: 1
# storage: 40G
# - ubuntu-22.04-64:
# workers: 4
# storage: 40G
# - fedora-39-64:
# workers: 1
# storage: 40G

openstack:
key: '$(HOST: echo "$SPREAD_OPENSTACK_ENV")'
plan: staging-cpu2-ram4-disk20
halt-timeout: 2h
groups: [default]
systems:
- ubuntu-20.04-64:
image: ubuntu-focal-20.04-amd64
workers: 1
storage: 40G
- ubuntu-22.04-64:
image: ubuntu-jammy-22.04-amd64
workers: 4
storage: 40G
# - ubuntu-22.04-arm-64:
# image: ubuntu-jammy-22.04-arm64
# workers: 1

prepare: |
# if the 'tools' directory inside the submodule does not exist, then assume the submodule is empty
Expand Down

0 comments on commit 407c7d1

Please sign in to comment.