Skip to content

Commit

Permalink
add self-hosted not in steps
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberCharitos committed Jul 24, 2024
1 parent e123761 commit 9cfcc15
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup operator environment
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
uses: charmed-kubernetes/actions-operator@main
with:
juju-channel: 3.1/stable
provider: microk8s
microk8s-addons: "ingress storage dns rbac registry"
channel: 1.25-strict/stable
self-hosted-runner: true
self-hosted-runner-label: "xlarge"
- name: Run integration tests
run: tox -e ${{ matrix.tox-environments }}
integration-test-cross-controller:
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
secrets: inherit
with:
channel: 1.28-strict/stable
modules: '["test_charm.py"]'
juju-channel: 3.4/stable
self-hosted-runner: true
self-hosted-runner-label: "xlarge"
microk8s-addons: "dns ingress rbac storage metallb:10.15.119.2-10.15.119.4 registry"
name: Integration tests (microk8s & lxd)
strategy:
matrix:
Expand All @@ -40,19 +47,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup K8s environment
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
uses: charmed-kubernetes/actions-operator@main
with:
juju-channel: 3.1/stable
provider: microk8s
microk8s-addons: "ingress storage dns rbac registry"
channel: 1.25-strict/stable
self-hosted-runner: true
self-hosted-runner-label: "xlarge"
- name: Save K8s controller name
id: k8s-controller
run: echo "name=$CONTROLLER_NAME" >> $GITHUB_OUTPUT
- name: Setup LXD environment
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
uses: charmed-kubernetes/actions-operator@main
with:
juju-channel: 3.0/stable
provider: lxd
Expand Down

0 comments on commit 9cfcc15

Please sign in to comment.