Skip to content

Commit

Permalink
CI: fork spread to get #179 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed May 21, 2024
1 parent 4ecc7a1 commit 41d2319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/spread.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:
- uses: actions/checkout@v3
- name: Install spread
run: |
go install github.com/snapcore/spread/cmd/spread@latest
# TODO: Once Spread PR #179 is merged, go back to:
# go install github.com/snapcore/spread/cmd/spread@latest
git clone --depth 1 --branch thp https://github.com/thp-canonical/spread spread-fork
cd spread-fork && go install ./cmd/spread
cd .. && rm -r spread-fork
- name: Run the spread test inside LXD
run: |
~/go/bin/spread -v lxd:
Expand Down
1 change: 1 addition & 0 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ prepare: |
rm -f /lib/netplan/generate
# FIXME: having the debian packging available would allow "apt
# build-dep -y ./" would make this easier :)
add-apt-repository -y -u -s ppa:slyon/netplan-ci
apt update -qq
apt install -y ubuntu-dev-tools devscripts equivs
pull-lp-source netplan.io
Expand Down

0 comments on commit 41d2319

Please sign in to comment.