Skip to content

Commit

Permalink
Enable metallb
Browse files Browse the repository at this point in the history
  • Loading branch information
saltiyazan committed Aug 29, 2024
1 parent a947fc1 commit 2054808
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
arch:
- arch: amd64
runner: ubuntu-22.04

runs-on: ${{ matrix.arch.runner }}
steps:
- name: Checkout
Expand All @@ -21,31 +21,34 @@ jobs:
with:
name: built-charm-${{ matrix.arch.arch }}
path: built/

- name: Get Charm Under Test Path
id: charm-path
run: echo "charm_path=$(find built/ -name '*.charm' -type f -print)" >> $GITHUB_OUTPUT

- name: Setup operator environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: 1.29-strict/stable
juju-channel: 3.4/stable
lxd-channel: 5.20/stable


- name: Enable Metallb
run: /usr/bin/sg snap_microk8s -c "sudo microk8s enable metallb:10.0.0.2-10.0.0.10"

- name: Run integration tests
run: |
tox -e integration -- \
--charm_path=${{ steps.charm-path.outputs.charm_path }}
- name: Archive charmcraft logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: charmcraft-logs
path: /home/runner/.local/state/charmcraft/log/*.log

- name: Archive juju crashdump
if: failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2054808

Please sign in to comment.