github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/tests/lib/external/snapd-testing-tools/spread.yaml (about)

     1  project: snapd-testing-tools
     2  
     3  environment:
     4      PROJECT_PATH: /root/snapd-testing-tools
     5      PATH: $PATH:$PROJECT_PATH/tools:$PROJECT_PATH/utils:$PROJECT_PATH/remote
     6      
     7  backends:
     8      google:
     9          key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
    10          location: snapd-spread/us-east1-b
    11          halt-timeout: 2h
    12          systems:
    13              - ubuntu-14.04-64:
    14              - ubuntu-16.04-64:
    15              - ubuntu-18.04-32:
    16              - ubuntu-18.04-64:
    17              - ubuntu-20.04-64:
    18              - ubuntu-22.04-64:
    19              - ubuntu-23.04-64:
    20              - ubuntu-23.10-64:
    21              - debian-11-64:
    22              - debian-12-64:
    23              - debian-sid-64:
    24              - fedora-37-64:
    25              - fedora-38-64:
    26              - arch-linux-64:
    27              - amazon-linux-2-64:
    28                  storage: preserve-size
    29              - centos-7-64:
    30                  storage: preserve-size
    31              - centos-8-64:
    32                  storage: preserve-size
    33              - centos-9-64:
    34                  storage: preserve-size
    35              - opensuse-15.4-64:
    36              - opensuse-15.5-64:
    37              - opensuse-tumbleweed-64:
    38  
    39      google-nested:
    40          type: google
    41          key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
    42          location: snapd-spread/us-east1-b
    43          plan: n2-standard-2
    44          halt-timeout: 2h
    45          cpu-family: "Intel Cascade Lake"
    46          systems:
    47              - ubuntu-20.04-64:
    48                    image: ubuntu-2004-64-virt-enabled
    49                    storage: 20G
    50                    workers: 1
    51  
    52  path: /root/snapd-testing-tools
    53  
    54  kill-timeout: 10m
    55  warn-timeout: 3m
    56  
    57  prepare: |
    58      echo "Prepare snapd-testing-tools project"
    59  
    60  restore: |
    61      echo "Restore snapd-testing-tools project"
    62      rm -rf "$PROJECT_PATH"
    63  
    64  suites:
    65      tests/:
    66          summary: Main test suite for snapd-testing-tools
    67          prepare: |
    68              echo "Preparing snapd-testing-tools main suite"
    69              # Create users for the tests
    70              useradd -m tools-user-1
    71              echo tools-user-1:tools-user-1 | sudo chpasswd
    72              useradd -m tools-user-2
    73              echo tools-user-2:tools-user-2 | sudo chpasswd
    74          restore: |
    75              echo "Restoring snapd-testing-tools main suite"