forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspread.yaml
More file actions
2083 lines (1957 loc) · 80.5 KB
/
spread.yaml
File metadata and controls
2083 lines (1957 loc) · 80.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
project: snapd
environment:
GOHOME: /home/gopath
GOPATH: $GOHOME
# On some distros the default GOPROXY setting is 'direct' (eg. Fedora).
# Some of the external go packages may get removed or could be temporary
# offline (as happened with maze.io/x/crypt), and then the sources are
# only available through the proxy cache. Play it safe and enable the
# proxy to allow for least CI interruptions.
GOPROXY: https://proxy.golang.org,direct
REUSE_PROJECT: '$(HOST: echo "$REUSE_PROJECT")'
PROJECT_PATH: $GOHOME/src/github.com/snapcore/snapd
PATH: $PROJECT_PATH/tests/bin:$GOHOME/bin:/snap/bin:$PATH:/var/lib/snapd/snap/bin
TESTSLIB: $PROJECT_PATH/tests/lib
TESTSTOOLS: $PROJECT_PATH/tests/lib/tools
TESTSTMP: /var/tmp/snapd-tools
RUNTIME_STATE_PATH: $TESTSTMP/runtime-state
# turn debug off so that we don't get errant debug messages while running
# tests, and in some cases like on UC20 we have the kernel command line
# parameter, snapd.debug=1 turned on to enable early boot debugging before
# we have a shell, but then once we get a shell and run spread tests, we
# want debug messages to be off for commands we run as part of tests, unless
# tests explicitly turn the messages on
SNAPD_DEBUG: 0
SNAPPY_TESTING: 1
# we run the entire suite with re-exec on (the default) and modify
# the core snap so that it contains our new code. So we run new
# snapd from the deb that re-execs into new snapd in core. To
# test purely from the deb, set "export SPREAD_SNAP_REEXEC=0"
SNAP_REEXEC: '$(HOST: echo "${SPREAD_SNAP_REEXEC:-}")'
MODIFY_CORE_SNAP_FOR_REEXEC: '$(HOST: echo "${SPREAD_MODIFY_CORE_SNAP_FOR_REEXEC:-1}")'
SPREAD_STORE_USER: '$(HOST: echo "$SPREAD_STORE_USER")'
SPREAD_STORE_PASSWORD: '$(HOST: echo "$SPREAD_STORE_PASSWORD")'
SPREAD_STORE_EXPIRED_MACAROON: '$(HOST: echo "$SPREAD_STORE_EXPIRED_MACAROON")'
SPREAD_STORE_EXPIRED_DISCHARGE: '$(HOST: echo "$SPREAD_STORE_EXPIRED_DISCHARGE")'
SPREAD_DEBUG_EACH: '$(HOST: echo "${SPREAD_DEBUG_EACH:-1}")'
LANG: "C.UTF-8"
LANGUAGE: "en"
# important to ensure adhoc and linode/qemu behave the same
SUDO_USER: ""
SUDO_UID: ""
TRUST_TEST_KEYS: '$(HOST: echo "${SPREAD_TRUST_TEST_KEYS:-true}")'
# a global setting for LXD channel to use in the tests
LXD_SNAP_CHANNEL: "latest/candidate"
OLD_UBUNTU_IMAGE_SNAP_CHANNEL: "2/stable"
UBUNTU_IMAGE_SNAP_CHANNEL: "latest/beta"
SNAPCRAFT_SNAP_CHANNEL: "latest/stable"
# controls whether ubuntu-image is built using the current snapd tree as a
# dependency or the one listed in its go.mod
UBUNTU_IMAGE_ALLOW_API_BREAK: '$(HOST: echo "${SPREAD_UBUNTU_IMAGE_ALLOW_API_BREAK:-true}")'
CORE_CHANNEL: '$(HOST: echo "${SPREAD_CORE_CHANNEL:-edge}")'
BASE_CHANNEL: '$(HOST: echo "${SPREAD_BASE_CHANNEL:-edge}")'
# Channel for kernel cannot be edge as that one is not signed with Canonical keys
KERNEL_CHANNEL: '$(HOST: echo "${SPREAD_KERNEL_CHANNEL:-beta}")'
GADGET_CHANNEL: '$(HOST: echo "${SPREAD_GADGET_CHANNEL:-beta}")'
SNAPD_CHANNEL: '$(HOST: echo "${SPREAD_SNAPD_CHANNEL:-edge}")'
REMOTE_STORE: '$(HOST: echo "${SPREAD_REMOTE_STORE:-production}")'
SNAPPY_USE_STAGING_STORE: '$(HOST: if [ "$SPREAD_REMOTE_STORE" = staging ]; then echo 1; else echo 0; fi)'
DELTA_REF: 2.62
DELTA_PREFIX: snapd-$DELTA_REF/
REPACK_KEEP_VENDOR: '$(HOST: echo "${REPACK_KEEP_VENDOR:-n}")'
HTTP_PROXY: '$(HOST: echo "$SPREAD_HTTP_PROXY")'
http_proxy: '$(HOST: echo "$SPREAD_HTTP_PROXY")'
HTTPS_PROXY: '$(HOST: echo "$SPREAD_HTTPS_PROXY")'
https_proxy: '$(HOST: echo "$SPREAD_HTTPS_PROXY")'
NO_PROXY: '$(HOST: echo "${SPREAD_NO_PROXY:-127.0.0.1}")'
no_proxy: '$(HOST: echo "${SPREAD_NO_PROXY:-127.0.0.1}")'
NEW_CORE_CHANNEL: '$(HOST: echo "$SPREAD_NEW_CORE_CHANNEL")'
SRU_VALIDATION: '$(HOST: echo "${SPREAD_SRU_VALIDATION:-0}")'
# use the ppa_validation_name to install snapd from a public ppa
PPA_VALIDATION_NAME: '$(HOST: echo "${SPREAD_PPA_VALIDATION_NAME:-}")'
# use the ppa_source_line and ppa_gpg_key to install snapd from a private ppa
PPA_SOURCE_LINE: '$(HOST: echo "${SPREAD_PPA_SOURCE_LINE:-}")'
PPA_GPG_KEY: '$(HOST: echo "${SPREAD_PPA_GPG_KEY:-}")'
# List the snaps which are cached
PRE_CACHE_SNAPS: test-snapd-tools test-snapd-sh
# always skip removing the rsync snap
SKIP_REMOVE_SNAPS: '$(HOST: echo "${SPREAD_SKIP_REMOVE_SNAPS:-}") test-snapd-rsync test-snapd-rsync-core18 test-snapd-rsync-core20 test-snapd-rsync-core22 test-snapd-rsync-core24 test-snapd-rsync-core26'
# Use the installed snapd and reset the systems without removing snapd
REUSE_SNAPD: '$(HOST: echo "${SPREAD_REUSE_SNAPD:-0}")'
EXPERIMENTAL_FEATURES: '$(HOST: echo "${SPREAD_EXPERIMENTAL_FEATURES:-}")'
# set to 1 when the snapd memory limit has to be removed
SNAPD_NO_MEMORY_LIMIT: '$(HOST: echo "${SPREAD_SNAPD_NO_MEMORY_LIMIT:-}")'
# Use the snapd package from the repository when possible
SNAPD_DEB_FROM_REPO: '$(HOST: echo "${SPREAD_SNAPD_DEB_FROM_REPO:-true}")'
# Directory where the built snapd snaps and other assets are stored
SNAPD_WORK_DIR: '$(HOST: echo "${SPREAD_SNAPD_WORK_DIR:-/var/tmp/work-dir}")'
# Threshold used to determine which stake locks have to be collected during runtime
SNAPD_STATE_LOCK_TRACE_THRESHOLD_MS: '$(HOST: echo "${SPREAD_SNAPD_STATE_LOCK_TRACE_THRESHOLD_MS:-0}")'
# Allow mismatch in snapd/kernel versions
SNAPD_ALLOW_SNAPD_KERNEL_MISMATCH: '$(HOST: echo "${SNAPD_ALLOW_SNAPD_KERNEL_MISMATCH:-true}")'
# The pattern used by `apt-cache search` to determine the ubuntu kernel to be used in tests
UPDATE_UBUNTU_KERNEL_PATTERN: '$(HOST: echo "${SPREAD_UPDATE_UBUNTU_KERNEL_PATTERN:-}")'
# Directory where the nested images and test assets are stored
NESTED_WORK_DIR: '$(HOST: echo "${NESTED_WORK_DIR:-/var/tmp/work-dir}")'
# Channel used to create the nested vm
NESTED_CORE_CHANNEL: '$(HOST: echo "${NESTED_CORE_CHANNEL:-beta}")'
# Kernel channel used to create the nested vm
NESTED_KERNEL_CHANNEL: '$(HOST: echo "${NESTED_KERNEL_CHANNEL:-beta}")'
# Gadget channel used to create the nested vm
NESTED_GADGET_CHANNEL: '$(HOST: echo "${NESTED_GADGET_CHANNEL:-edge}")'
# Use cloud init to make initial system configuration instead of user assertion
NESTED_CORE_REFRESH_CHANNEL: '$(HOST: echo "${NESTED_CORE_REFRESH_CHANNEL:-edge}")'
# Use cloud init to make initial system configuration instead of user assertion
NESTED_USE_CLOUD_INIT: '$(HOST: echo "${NESTED_USE_CLOUD_INIT:-true}")'
# Build and use snapd from current branch
NESTED_BUILD_SNAPD_FROM_CURRENT: '$(HOST: echo "${NESTED_BUILD_SNAPD_FROM_CURRENT:-true}")'
# Download and use an custom image from this url
NESTED_CUSTOM_IMAGE_URL: '$(HOST: echo "${NESTED_CUSTOM_IMAGE_URL:-}")'
# Configure nested images to be reused on the following tests
NESTED_CONFIGURE_IMAGES: '$(HOST: echo "${NESTED_CONFIGURE_IMAGES:-false}")'
# Indicates if the snap has to be repacked in case NESTED_BUILD_SNAPD_FROM_CURRENT is true
NESTED_REPACK_KERNEL_SNAP: '$(HOST: echo "${NESTED_REPACK_KERNEL_SNAP:-true}")'
NESTED_REPACK_GADGET_SNAP: '$(HOST: echo "${NESTED_REPACK_GADGET_SNAP:-true}")'
NESTED_REPACK_BASE_SNAP: '$(HOST: echo "${NESTED_REPACK_BASE_SNAP:-true}")'
NESTED_KERNEL_MODULES_COMP: '$(HOST: echo "${NESTED_KERNEL_MODULES_COMP:-}")'
# Whether we should use snapd snap ./built-snap/ directory
USE_PREBUILT_SNAPD_SNAP: '$(HOST: echo "${SPREAD_USE_PREBUILT_SNAPD_SNAP:-false}")'
SNAPD_USE_PROXY: '$(HOST: echo "${SPREAD_SNAPD_USE_PROXY:-}")'
# Whether we should use pre-built packages in the ./built-pkgs/ directory
USE_PREBUILT_PACKAGES: '$(HOST: echo "${SPREAD_USE_PREBUILT_PACKAGES:-false}")'
# When SPREAD_TAG_FEATURES is populated with a non-empty value,
# each spread task will extract relevant information form its
# journal and copy it and the state.json to the artifacts folder.
# NOTE: this should only be used coupled with the -artifact spread
# tag otherwise the data will not be downloaded from the VMs.
TAG_FEATURES: '$(HOST: echo "${SPREAD_TAG_FEATURES:-}")'
# Set the following to SPREAD_TAG_FEATURES by default
# since the following are required to log snap commands
# to the journal
SNAPD_LOG_SNAP_TO_JOURNAL: '$(HOST: echo "${SPREAD_SNAPD_LOG_SNAP_TO_JOURNAL:-$SPREAD_TAG_FEATURES}")'
SNAPD_TRACE: '$(HOST: echo "${SPREAD_SNAPD_TRACE:-$SPREAD_TAG_FEATURES}")'
backends:
google:
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/europe-west2-b
halt-timeout: 2h
systems:
- ubuntu-14.04-64:
workers: 6
- ubuntu-16.04-64:
workers: 8
storage: 15G
- ubuntu-18.04-64:
storage: 15G
workers: 8
- ubuntu-20.04-64:
image: ubuntu-2004-64
storage: 16G
workers: 8
- ubuntu-secboot-20.04-64:
image: ubuntu-2004-64
storage: 16G
workers: 1
secure-boot: true
- ubuntu-22.04-64:
image: ubuntu-2204-64
storage: 15G
workers: 8
- ubuntu-24.04-64:
image: ubuntu-2404-64
storage: 15G
workers: 8
- ubuntu-25.10-64:
image: ubuntu-os-cloud-devel/ubuntu-2510-amd64
storage: 15G
workers: 8
google-core:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/europe-west1-b
halt-timeout: 2h
systems:
- ubuntu-core-16-64:
image: ubuntu-16.04-64
workers: 6
storage: 20G
- ubuntu-core-18-64:
image: ubuntu-18.04-64
workers: 6
storage: 20G
- ubuntu-core-20-64:
image: ubuntu-2004-64
workers: 8
storage: 20G
- ubuntu-core-22-64:
image: ubuntu-2204-64
workers: 8
storage: 20G
- ubuntu-core-24-64:
image: ubuntu-2404-64
workers: 8
storage: 20G
- ubuntu-core-26-64:
image: ubuntu-2604-64
workers: 8
storage: 20G
google-pro:
type: google
# XXX the role assigned to the key must allow for attaching service
# accounts
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/europe-west1-b
halt-timeout: 2h
systems:
- ubuntu-pro-20.04-64:
image: ubuntu-os-pro-cloud/ubuntu-pro-2004-lts
workers: 1
attach-service-account: true
- ubuntu-pro-22.04-64:
image: ubuntu-os-pro-cloud/ubuntu-pro-2204-lts
workers: 1
attach-service-account: true
- ubuntu-fips-20.04-64:
image: ubuntu-os-pro-cloud/ubuntu-pro-2004-lts
workers: 1
attach-service-account: true
- ubuntu-fips-22.04-64:
image: ubuntu-os-pro-cloud/ubuntu-pro-2204-lts
workers: 1
attach-service-account: true
- ubuntu-fips-24.04-64:
image: ubuntu-os-pro-cloud/ubuntu-pro-2404-lts-amd64
workers: 1
attach-service-account: true
google-distro:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/europe-west3-b
halt-timeout: 2h
systems:
- debian-12-64:
storage: 20G
workers: 6
- debian-sid-64:
storage: 20G
workers: 6
- amazon-linux-2-64:
workers: 6
storage: preserve-size
- amazon-linux-2023-64:
workers: 6
storage: preserve-size
- arch-linux-64:
workers: 6
storage: 20G
- centos-9-64:
workers: 6
storage: preserve-size
image: centos-9-64
- opensuse-15.6-64:
workers: 6
- opensuse-16.0-64:
workers: 6
- opensuse-tumbleweed-64:
workers: 6
storage: 12G
- opensuse-tumbleweed-selinux-64:
image: snapd-spread/opensuse-tumbleweed-64-selinux-enabled
workers: 6
storage: 12G
google-arm:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-central1-a
plan: t2a-standard-1
halt-timeout: 2h
kill-timeout: 60m
systems:
- ubuntu-20.04-arm-64:
image: ubuntu-os-cloud/ubuntu-2004-lts-arm64
workers: 8
storage: 15G
- ubuntu-22.04-arm-64:
image: ubuntu-os-cloud/ubuntu-2204-lts-arm64
workers: 8
storage: 15G
- ubuntu-24.04-arm-64:
image: ubuntu-os-cloud/ubuntu-2404-lts-arm64
workers: 8
storage: 15G
- ubuntu-core-22-arm-64:
image: ubuntu-22.04-arm-64
workers: 6
storage: 30G
- ubuntu-core-24-arm-64:
image: ubuntu-24.04-arm-64
workers: 6
storage: 30G
# TODO add garden-sru backend
google-nested:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-central1-a
plan: n2-standard-2
halt-timeout: 2h
environment:
NESTED_ARCHITECTURE: amd64
systems: &google-nested-systems
- ubuntu-16.04-64:
image: ubuntu-1604-64-virt-enabled
storage: 20G
workers: 4
- ubuntu-18.04-64:
image: ubuntu-1804-64-virt-enabled
storage: 20G
workers: 4
- ubuntu-20.04-64:
image: ubuntu-2004-64-virt-enabled
storage: 20G
workers: 12
- ubuntu-22.04-64:
image: ubuntu-2204-64-virt-enabled
storage: 25G
workers: 14
- ubuntu-24.04-64:
image: ubuntu-2404-64-virt-enabled
storage: 30G
workers: 14
- ubuntu-26.04-64:
image: ubuntu-2604-64-virt-enabled
storage: 30G
workers: 14
google-nested-arm:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-central1-a
plan: c4a-highcpu-4
halt-timeout: 2h
environment:
NESTED_ARCHITECTURE: arm64
NESTED_ENABLE_KVM: false
NESTED_ENABLE_TPM: '$(HOST: echo "${NESTED_ENABLE_TPM:-false}")'
NESTED_ENABLE_SECURE_BOOT: '$(HOST: echo "${NESTED_ENABLE_SECURE_BOOT:-false}")'
systems:
- ubuntu-22.04-arm-64:
image: ubuntu-2204-arm-64-virt-enabled
storage: 25G
workers: 8
- ubuntu-24.04-arm-64:
image: ubuntu-2404-arm-64-virt-enabled
storage: 25G
workers: 8
openstack:
key: '$(HOST: echo "$OS_CREDENTIALS_AMD64_PS7")'
plan: shared.xsmall
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.96.0/21:5000]
volume-auto-delete: true
environment: &openstack-env
SNAPD_USE_PROXY: 'true'
HTTP_PROXY: 'http://egress.ps7.internal:3128'
HTTPS_PROXY: 'http://egress.ps7.internal:3128'
http_proxy: 'http://egress.ps7.internal:3128'
https_proxy: 'http://egress.ps7.internal:3128'
no_proxy: '127.0.0.1,127.0.0.53,localhost'
NO_PROXY: '127.0.0.1,127.0.0.53,localhost'
NTP_SERVER: 'ntp.ps7.internal'
systems: &openstack-systems
- ubuntu-16.04-64:
image: snapd-spread/ubuntu-16.04-64
workers: 8
- ubuntu-18.04-64:
image: snapd-spread/ubuntu-18.04-64
workers: 8
- ubuntu-20.04-64:
image: snapd-spread/ubuntu-20.04-64
workers: 8
- ubuntu-22.04-64:
image: snapd-spread/ubuntu-22.04-64
workers: 8
- ubuntu-24.04-64:
image: snapd-spread/ubuntu-24.04-64
workers: 8
- ubuntu-25.10-64:
image: snapd-spread/ubuntu-25.10-64
workers: 8
- ubuntu-26.04-64:
image: snapd-spread/ubuntu-26.04-64
workers: 8
- ubuntu-core-18-64:
image: snapd-spread/ubuntu-18.04-64
workers: 8
- ubuntu-core-20-64:
image: snapd-spread/ubuntu-20.04-64-uefi
workers: 8
- ubuntu-core-22-64:
image: snapd-spread/ubuntu-22.04-64-uefi
workers: 8
- ubuntu-core-24-64:
image: snapd-spread/ubuntu-24.04-64-uefi
workers: 8
- ubuntu-core-26-64:
image: snapd-spread/ubuntu-26.04-64-uefi
workers: 8
- debian-12-64:
image: snapd-spread/debian-12-64
workers: 6
- debian-sid-64:
image: snapd-spread/debian-sid-64
workers: 6
- amazon-linux-2-64:
image: snapd-spread/amazon-linux-2-64
workers: 6
storage: 50G
- amazon-linux-2023-64:
image: snapd-spread/amazon-linux-2023-64
workers: 6
storage: 50G
- arch-linux-64:
image: snapd-spread/arch-linux-64
workers: 6
- fedora-42-64:
image: snapd-spread/fedora-42-64
workers: 12
- opensuse-15.6-64:
image: snapd-spread/opensuse-15.6-64
workers: 6
- opensuse-16.0-64:
image: snapd-spread/opensuse-16.0-64
workers: 6
- opensuse-tumbleweed-64:
image: snapd-spread/opensuse-tumbleweed-64
workers: 6
- opensuse-tumbleweed-selinux-64:
image: snapd-spread/opensuse-tumbleweed-64-selinux-enabled
workers: 6
- centos-9-64:
image: snapd-spread/centos-9-64
workers: 6
openstack-dev:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_STG_AMD64_PS7")'
plan: shared.xsmall
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.54.0/24:4000]
volume-auto-delete: true
environment: *openstack-env
systems: *openstack-systems
openstack-ext:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_AMD64_PS7")'
plan: shared.medium
storage: 30G
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.96.0/21:5000]
volume-auto-delete: true
environment: *openstack-env
systems: &openstack-nested-systems
- ubuntu-16.04-64:
image: snapd-spread/ubuntu-16.04-64
storage: 20G
workers: 4
- ubuntu-18.04-64:
image: snapd-spread/ubuntu-18.04-64
storage: 20G
workers: 4
- ubuntu-20.04-64:
image: snapd-spread/ubuntu-20.04-64-hwe
storage: 20G
workers: 12
- ubuntu-22.04-64:
image: snapd-spread/ubuntu-22.04-64
storage: 25G
workers: 12
- ubuntu-24.04-64:
image: snapd-spread/ubuntu-24.04-64
storage: 30G
workers: 12
- ubuntu-26.04-64:
image: snapd-spread/ubuntu-26.04-64
storage: 30G
workers: 12
openstack-ext-dev:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_STG_AMD64_PS7")'
plan: shared.medium
storage: 30G
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.54.0/24:4000]
volume-auto-delete: true
environment: *openstack-env
systems: *openstack-nested-systems
openstack-validation:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_AMD64_PS7")'
plan: shared.medium
storage: 30G
halt-timeout: 6h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.96.0/21:5000]
volume-auto-delete: true
environment: *openstack-env
systems: *openstack-nested-systems
openstack-arm:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_ARM64_PS7")'
plan: shared.xsmall.arm64
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.89.0/24:8000]
volume-auto-delete: true
environment: *openstack-env
systems: &openstack-arm-systems
- ubuntu-20.04-arm-64:
image: snapd-spread/ubuntu-20.04-arm-64
workers: 8
- ubuntu-22.04-arm-64:
image: snapd-spread/ubuntu-22.04-arm-64
workers: 8
- ubuntu-24.04-arm-64:
image: snapd-spread/ubuntu-24.04-arm-64
workers: 8
- ubuntu-26.04-arm-64:
image: snapd-spread/ubuntu-26.04-arm-64
workers: 8
- ubuntu-core-22-arm-64:
image: snapd-spread/ubuntu-22.04-arm-64-uefi
workers: 8
- ubuntu-core-24-arm-64:
image: snapd-spread/ubuntu-24.04-arm-64-uefi
workers: 8
- ubuntu-core-26-arm-64:
image: snapd-spread/ubuntu-26.04-arm-64-uefi
workers: 8
openstack-arm-ext:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_ARM64_PS7")'
plan: shared.large.arm64
halt-timeout: 3h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.89.0/24:8000]
volume-auto-delete: true
environment: *openstack-env
systems: *openstack-arm-systems
openstack-arm-dev:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_STG_ARM64_PS7")'
plan: shared.xsmall.arm64
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.53.0/24:3000]
volume-auto-delete: true
environment: *openstack-env
systems: *openstack-arm-systems
openstack-sru:
type: openstack
key: '$(HOST: echo "$OS_CREDENTIALS_AMD64_PS7")'
plan: shared.xsmall
halt-timeout: 2h
wait-timeout: 10m
groups: [default]
proxy: ingress-haproxy.ps7.canonical.com
cidr-port-rel: [10.151.96.0/21:5000]
volume-auto-delete: true
environment:
SNAPD_USE_PROXY: 'true'
HTTP_PROXY: 'http://egress.ps7.internal:3128'
HTTPS_PROXY: 'http://egress.ps7.internal:3128'
http_proxy: 'http://egress.ps7.internal:3128'
https_proxy: 'http://egress.ps7.internal:3128'
no_proxy: '127.0.0.1,127.0.0.53,localhost'
NO_PROXY: '127.0.0.1,127.0.0.53,localhost'
NTP_SERVER: 'ntp.ps7.internal'
SRU_VALIDATION: 1
SNAP_REEXEC: 0
MODIFY_CORE_SNAP_FOR_REEXEC: 0
TRUST_TEST_KEYS: false
CORE_CHANNEL: stable
systems:
- ubuntu-22.04-64:
image: snapd-spread/ubuntu-22.04-64
workers: 8
- ubuntu-24.04-64:
image: snapd-spread/ubuntu-24.04-64
workers: 8
- ubuntu-25.10-64:
image: snapd-spread/ubuntu-25.10-64
workers: 8
- ubuntu-26.04-64:
image: snapd-spread/ubuntu-26.04-64
workers: 8
qemu-nested:
memory: 4G
type: qemu
systems:
- ubuntu-16.04-64:
username: ubuntu
password: ubuntu
- ubuntu-18.04-64:
username: ubuntu
password: ubuntu
- ubuntu-20.04-64:
username: ubuntu
password: ubuntu
- ubuntu-22.04-64:
username: ubuntu
password: ubuntu
- ubuntu-24.04-64:
username: ubuntu
password: ubuntu
- ubuntu-26.04-64:
username: ubuntu
password: ubuntu
qemu:
memory: 4G
systems:
- ubuntu-14.04-64:
username: ubuntu
password: ubuntu
- ubuntu-16.04-64:
username: ubuntu
password: ubuntu
- ubuntu-core-16-64:
image: ubuntu-16.04-64
username: ubuntu
password: ubuntu
- ubuntu-core-18-64:
image: ubuntu-18.04-64
username: ubuntu
password: ubuntu
- ubuntu-core-20-64:
image: ubuntu-20.04-64
username: ubuntu
password: ubuntu
bios: uefi
# TODO: remove once everyone switch to official spread
flags: [virtio]
- ubuntu-core-22-64:
image: ubuntu-22.04-64
username: ubuntu
password: ubuntu
bios: uefi
# TODO: remove once everyone switch to official spread
flags: [virtio]
- ubuntu-18.04-64:
username: ubuntu
password: ubuntu
- ubuntu-20.04-64:
username: ubuntu
password: ubuntu
- ubuntu-22.04-64:
username: ubuntu
password: ubuntu
- ubuntu-24.04-64:
username: ubuntu
password: ubuntu
- ubuntu-26.04-64:
username: ubuntu
password: ubuntu
- debian-12-64:
username: debian
password: debian
- debian-sid-64:
username: debian
password: debian
- amazon-linux-2-64:
username: ec2-user
password: ec2-user
- opensuse-tumbleweed-64:
username: opensuse
password: opensuse
garden:
type: adhoc
allocate: |
# Spread automatically injects /snap/bin to PATH. When we are
# running from the image-garden snap then SPREAD_HOST_PATH is the
# original path before such modifications were applied. Snap
# applications cannot normally run /snap/bin/* entry-points
# successfully so re-set PATH to the original value, as provided by
# snapcraft.
if [ -n "${SPREAD_HOST_PATH-}" ]; then
PATH="${SPREAD_HOST_PATH}"
fi
# Spread does not expose any settings to ad-hoc backends.
export QEMU_MEM_OPTION="-m 3072"
export QEMU_SMP_OPTION="-smp 4"
exec image-garden allocate "$(.image-garden/remap-name snapd-to-garden "$SPREAD_SYSTEM")"
discard: |
# Spread automatically injects /snap/bin to PATH. When we are
# running from the image-garden snap then SPREAD_HOST_PATH is the
# original path before such modifications were applied. Snap
# applications cannot normally run /snap/bin/* entry-points
# successfully so re-set PATH to the original value, as provided by
# snapcraft.
if [ -n "${SPREAD_HOST_PATH-}" ]; then
PATH="${SPREAD_HOST_PATH}"
fi
# Stop the running qemu instance corresponding to the given address.
exec image-garden discard "$SPREAD_SYSTEM_ADDRESS"
systems:
- ubuntu-core-16-64:
image: ubuntu-16.04-64
username: root
password: root
# Disable due to ENOSPC.
manual: true
- ubuntu-core-18-64:
image: ubuntu-18.04-64
username: root
password: root
- ubuntu-core-20-64:
image: ubuntu-20.04-64
username: root
password: root
- ubuntu-core-22-64:
image: ubuntu-22.04-64
username: root
password: root
- ubuntu-core-24-64:
image: ubuntu-24.04-64
username: root
password: root
- ubuntu-core-26-64:
image: ubuntu-26.04-64
username: root
password: root
- ubuntu-16.04-64:
username: root
password: root
- ubuntu-18.04-64:
username: root
password: root
- ubuntu-20.04-64:
username: root
password: root
- ubuntu-22.04-64:
username: root
password: root
- ubuntu-24.04-64:
username: root
password: root
- ubuntu-25.10-64:
username: root
password: root
- ubuntu-26.04-64:
username: root
password: root
- debian-12-64:
username: root
password: root
- debian-sid-64:
username: root
password: root
- opensuse-16.0-64:
username: root
password: root
- opensuse-tumbleweed-64:
username: root
password: root
- opensuse-tumbleweed-selinux-64:
username: root
password: root
- fedora-42-64:
username: root
password: root
- centos-9-64:
username: root
password: root
- arch-linux-64:
username: root
password: root
- amazon-linux-2-64:
username: root
password: root
- amazon-linux-2023-64:
username: root
password: root
autopkgtest:
type: adhoc
allocate: |
echo "Allocating ad-hoc $SPREAD_SYSTEM"
if [ -z "${ADT_ARTIFACTS}" ]; then
FATAL "adhoc only works inside autopkgtest"
exit 1
fi
ADDRESS localhost:22
discard: |
echo "Discarding ad-hoc $SPREAD_SYSTEM"
systems:
# Trusty
- ubuntu-14.04-amd64:
username: ubuntu
password: ubuntu
# Xenial
- ubuntu-16.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-16.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-16.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-16.04-s390x:
username: ubuntu
password: ubuntu
# Bionic
- ubuntu-18.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-18.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-18.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-18.04-s390x:
username: ubuntu
password: ubuntu
- ubuntu-18.04-arm64:
username: ubuntu
password: ubuntu
# Focal
- ubuntu-20.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-20.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-20.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-20.04-s390x:
username: ubuntu
password: ubuntu
- ubuntu-20.04-arm64:
username: ubuntu
password: ubuntu
# Jammy
- ubuntu-22.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-22.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-22.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-22.04-s390x:
username: ubuntu
password: ubuntu
- ubuntu-22.04-arm64:
username: ubuntu
password: ubuntu
# noble
- ubuntu-24.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-24.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-24.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-24.04-s390x:
username: ubuntu
password: ubuntu
- ubuntu-24.04-arm64:
username: ubuntu
password: ubuntu
# resolute
- ubuntu-26.04-amd64:
username: ubuntu
password: ubuntu
- ubuntu-26.04-ppc64el:
username: ubuntu
password: ubuntu
- ubuntu-26.04-armhf:
username: ubuntu
password: ubuntu
- ubuntu-26.04-s390x:
username: ubuntu
password: ubuntu
- ubuntu-26.04-arm64:
username: ubuntu
password: ubuntu
# Debian Forky
- debian-14-amd64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-14-armhf:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-14-ppc64el:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-14-s390x:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-14-arm64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
# Debian Trixie
- debian-13-amd64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-13-armhf:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-13-ppc64el:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-13-s390x:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-13-arm64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
# Debian Sid
- debian-sid-amd64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-sid-i386:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-sid-armhf:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-sid-ppc64el:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-sid-s390x:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
- debian-sid-arm64:
username: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
password: '$(HOST: echo "$AUTOPKGTEST_NORMAL_USER")'
external:
type: adhoc
environment:
SPREAD_EXTERNAL_ADDRESS: '$(HOST: echo "${SPREAD_EXTERNAL_ADDRESS:-localhost:8022}")'
TRUST_TEST_KEYS: "false"
allocate: |
ADDRESS $SPREAD_EXTERNAL_ADDRESS
systems:
- ubuntu-20.04-arm-32:
username: root
password: ubuntu
- ubuntu-22.04-arm-32: