Skip to content

Commit

Permalink
Revert "github: sideload microcloud{,d} binaries for system-tests"
Browse files Browse the repository at this point in the history
Temporarily revert this commit due to build issue with dqlite.

This reverts commit c0624fd.

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Apr 18, 2024
1 parent ab66130 commit 55538fb
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 @@ -134,16 +134,6 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Install dependencies
run: |
sudo add-apt-repository ppa:dqlite/dev -y --no-update
sudo apt-get update
sudo apt-get install --no-install-recommends -y libdqlite-dev pkg-config
- name: Build
working-directory: microcloud
run: make

- name: "Run system tests (${{ matrix.go }}, ${{ matrix.suite }})"
run: |
set -eux
Expand All @@ -169,16 +159,9 @@ jobs:
sudo snap install lxd --channel 5.21/stable || sudo snap refresh lxd --channel 5.21/stable
sudo lxd init --auto
# Binaries to sideload
export MICROCLOUD_DEBUG_PATH=~/go/bin/microcloud
export MICROCLOUDD_DEBUG_PATH=~/go/bin/microcloudd
# strip debug binaries
strip -s "${MICROCLOUD_DEBUG_PATH}" "${MICROCLOUDD_DEBUG_PATH}"
chmod +x ~
cd microcloud/test
sudo --preserve-env=DEBUG,GITHUB_ACTIONS,MICROCLOUD_DEBUG_PATH,MICROCLOUDD_DEBUG_PATH,SKIP_VM_LAUNCH,SNAPSHOT_RESTORE,TEST_STORAGE_SOURCE ./main.sh ${{ matrix.suite }}
sudo --preserve-env=DEBUG,GITHUB_ACTIONS,SKIP_VM_LAUNCH,SNAPSHOT_RESTORE,TEST_STORAGE_SOURCE ./main.sh ${{ matrix.suite }}
documentation-checks:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
Expand Down

0 comments on commit 55538fb

Please sign in to comment.