Skip to content

Commit

Permalink
chore(ci) download artifacts instead of rebuilding lxd for e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd committed Nov 13, 2024
1 parent 6f73c2c commit 6644bf5
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -578,15 +578,18 @@ jobs:
curl -sSfL https://dl.min.io/client/mc/release/linux-amd64/mc --output "$(go env GOPATH)/bin/mc"
chmod +x "$(go env GOPATH)/bin/mc"
- name: Download go dependencies
run: |
set -eux
go mod download
- name: Download system test dependencies
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: system-test-deps
merge-multiple: true
path: /home/runner/go/bin

- name: Run LXD build
- name: Set exec perms on LXD binaries
run: |
set -eux
make lxd
ls -lR /home/runner/go/bin/
chmod uog+x /home/runner/go/bin/*
- name: Install doc dependencies
run: |
Expand Down Expand Up @@ -694,11 +697,11 @@ jobs:
cd lxd-ui
npx playwright install --with-deps chromium
- name: Create OIDC users
- name: Setup for LXD-UI tests
shell: bash
run: |
set -eux
sudo LXD_DIR=/var/lib/lxd PATH=/home/runner/go/bin:$PATH ./lxd-ui/tests/scripts/create_oidc_identities
sudo LXD_DIR=/var/lib/lxd PATH=/home/runner/go/bin:$PATH ./lxd-ui/tests/scripts/setup_test
- name: Run Playwright tests
run: |
Expand Down

0 comments on commit 6644bf5

Please sign in to comment.