File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ suites:
415415 systems :
416416 - ubuntu-18.04-64
417417 manual : true
418- summary : externals snaps
418+ summary : external snaps
419419 prepare : |
420420 sudo apt-get install git
421421 sudo apt-mark auto git
Original file line number Diff line number Diff line change 1+ summary : Build lxd using LXD and on host
2+ kill-timeout : 90m
3+
4+ environment :
5+ SNAP_REPO : https://github.com/lxc/lxd-pkg-snap
6+ PROVIDER_OPTION/lxd : " --use-lxd"
7+ PROVIDER_OPTION/destructive : " --destructive-mode"
8+
9+ prepare : |
10+ git clone "$SNAP_REPO" repo
11+
12+ restore : |
13+ unset SNAPCRAFT_BUILD_ENVIRONMENT
14+
15+ pushd repo
16+ snapcraft clean "$PROVIDER_OPTION"
17+ popd
18+
19+ rm -rf repo
20+
21+ execute : |
22+ unset SNAPCRAFT_BUILD_ENVIRONMENT
23+
24+ cd repo
25+ snapcraft "$PROVIDER_OPTION"
26+
27+ # TODO LXD is a special snow flake. Enabling this needs removal on restore.
28+ # snap install --dangerous lxd_*.snap
You can’t perform that action at this time.
0 commit comments