Skip to content

Commit

Permalink
Remove MicroOVN workaround in github runners
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <[email protected]>
  • Loading branch information
masnax committed Sep 12, 2024
1 parent 006c045 commit 6d20487
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,29 +214,12 @@ jobs:
sudo snap install lxd --channel latest/edge || sudo snap refresh lxd --channel latest/edge
sudo lxd init --auto
- name: Build MicroOVN from commit 803dc03ea847d214941330c74cc0ae0027550dc0
run: |
set -eux
sudo snap refresh
sudo snap set lxd daemon.group=adm
sudo snap install snapcraft --classic
git clone https://github.com/canonical/microovn
cd microovn
git checkout 803dc03ea847d214941330c74cc0ae0027550dc0
# disable golangci-lint as the latest version is not happy with this commit.
sed -e "s/golangci-lint run/# &/" -i snap/snapcraft.yaml
make microovn.snap
export MICROOVN_SNAP_PATH="$(readlink -f microovn.snap)"
echo "MICROOVN_SNAP_PATH=${MICROOVN_SNAP_PATH}" >> "${GITHUB_ENV}"
cd -
- name: "Prepare for system tests"
run: |
set -eux
chmod +x ~
cd test
sudo --preserve-env=DEBUG,GITHUB_ACTIONS,MICROCLOUD_DEBUG_PATH,MICROCLOUDD_DEBUG_PATH,SKIP_VM_LAUNCH,SNAPSHOT_RESTORE,TEST_STORAGE_SOURCE,TESTBED_READY,MICROOVN_SNAP_PATH ./main.sh setup
sudo --preserve-env=DEBUG,GITHUB_ACTIONS,MICROCLOUD_DEBUG_PATH,MICROCLOUDD_DEBUG_PATH,SKIP_VM_LAUNCH,SNAPSHOT_RESTORE,TEST_STORAGE_SOURCE,TESTBED_READY ./main.sh setup
echo "TESTBED_READY=1" >> "${GITHUB_ENV}"
- name: "Run system tests (${{ matrix.go }}, ${{ matrix.suite }})"
Expand Down

0 comments on commit 6d20487

Please sign in to comment.