Skip to content

Commit ab561c4

Browse files
committed
Switch to 24.10
1 parent 9db3f5e commit ab561c4

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

HACKING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ and yq (needed for yaml manipulation), download the newest image and import it i
7979
```
8080
sudo snap install lxd
8181
sudo snap install yq
82-
curl -o lxd-initrd-img.tar.gz https://storage.googleapis.com/snapd-spread-core/lxd/lxd-spread-initrd22-img.tar.gz
83-
lxc image import lxd-initrd-img.tar.gz --alias ucspread24
84-
lxc image show ucspread24 > temp.profile
85-
yq e '.properties.aliases = "ucspread24,amd64"' -i ./temp.profile
82+
curl -o lxd-initrd-img.tar.gz https://storage.googleapis.com/snapd-spread-core/lxd/lxd-spread-initrd26-img.tar.gz
83+
lxc image import lxd-initrd-img.tar.gz --alias ucspread26
84+
lxc image show ucspread26 > temp.profile
85+
yq e '.properties.aliases = "ucspread26,amd64"' -i ./temp.profile
8686
yq e '.properties.remote = "images"' -i ./temp.profile
87-
cat ./temp.profile | lxc image edit ucspread24
87+
cat ./temp.profile | lxc image edit ucspread26
8888
rm ./temp.profile ./lxd-initrd-img.tar.gz
8989
```
9090
2. Import the LXD coreinitrd test profile. Make sure your working directory is the root of this repository.

spread.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ backends:
1919
plan: n2-standard-2
2020
halt-timeout: 2h
2121
systems:
22-
- ubuntu-24.04-64:
23-
image: ubuntu-24.04-64
22+
- ubuntu-24.10-64:
23+
image: ubuntu-24.10-64
2424
storage: 20G
2525

2626
qemu-nested:
@@ -30,16 +30,16 @@ backends:
3030
# uc22 with less RAM
3131
memory: 4G
3232
systems:
33-
- ubuntu-24.04-64:
33+
- ubuntu-24.10-64:
3434
username: ubuntu
3535
password: ubuntu
3636

3737
lxd-nested:
3838
type: lxd
3939
container-profiles: coreinitrd
4040
systems:
41-
- ubuntu-24.04:
42-
image: ucspread24
41+
- ubuntu-24.10:
42+
image: ucspread26
4343

4444
path: /home/core-initrd
4545

tests/spread/ci/build-lxd/task.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ execute: |
3838
lxc stop $INSTANCE_NAME
3939
4040
# make a tarball out of the container image and delete the container
41-
lxc publish $INSTANCE_NAME --alias ucspread24
42-
lxc image export ucspread24 ./$IMAGE_NAME
41+
lxc publish $INSTANCE_NAME --alias ucspread26
42+
lxc image export ucspread26 ./$IMAGE_NAME
4343
4444
# upload the image file as https://storage.googleapis.com/snapd-spread-core/lxd/$IMAGE_NAME.tar.gz
4545
gsutil -o GSUtil:parallel_composite_upload_threshold=2000M cp "./$IMAGE_NAME.tar.gz" "gs://snapd-spread-core/lxd/$IMAGE_NAME.tar.gz"

0 commit comments

Comments
 (0)