Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ jobs:
with:
self-hosted-runner: false
with-uv: true
integration-test:
name: Integration Test
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
secrets: inherit
with:
extra-arguments: >-
--openstack-rc=${GITHUB_WORKSPACE}/openrc
--kube-config=${GITHUB_WORKSPACE}/kube-config
--screenshot-dir=/tmp
modules: '["test_addon", "test_core", "test_external", "test_ingress"]'
pre-run-script: |
-c "sudo microk8s enable hostpath-storage
sudo microk8s kubectl -n kube-system rollout status -w deployment/hostpath-provisioner
sudo microk8s config > ${GITHUB_WORKSPACE}/kube-config
chmod +x tests/integration/pre_run_script.sh
./tests/integration/pre_run_script.sh"
setup-devstack-swift: true
trivy-image-config: ./trivy.yaml
channel: 1.32/stable
with-uv: true
# integration-test:
# name: Integration Test
# uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@install-refresh
# secrets: inherit
# with:
# extra-arguments: >-
# --openstack-rc=${GITHUB_WORKSPACE}/openrc
# --kube-config=${GITHUB_WORKSPACE}/kube-config
# --screenshot-dir=/tmp
# modules: '["test_addon", "test_core", "test_external", "test_ingress"]'
# pre-run-script: |
# -c "sudo microk8s enable hostpath-storage
# sudo microk8s kubectl -n kube-system rollout status -w deployment/hostpath-provisioner
# sudo microk8s config > ${GITHUB_WORKSPACE}/kube-config
# chmod +x tests/integration/pre_run_script.sh
# ./tests/integration/pre_run_script.sh"
# setup-devstack-swift: true
# trivy-image-config: ./trivy.yaml
# channel: 1.32/stable
# with-uv: true
integration-test-juju3:
name: Integration Test on Juju3
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@install-refresh
secrets: inherit
with:
extra-arguments: >-
Expand All @@ -57,6 +57,6 @@ jobs:
allure-report:
if: ${{ !cancelled() && github.event_name == 'schedule' }}
needs:
- integration-test
# - integration-test
- integration-test-juju3
uses: canonical/operator-workflows/.github/workflows/allure_report.yaml@main
Loading