[DPE-4976] Add workflow for nightly scheduled tests with juju 3.6 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Juju 3.6 CI tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v18.0.0 | |
build: | |
name: Build charm | |
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0 | |
with: | |
cache: true | |
integration-test-3-6: | |
strategy: | |
fail-fast: false | |
matrix: | |
architecture: | |
- amd64 | |
- arm64 | |
name: Integration | 3.6 | ${{ matrix.architecture }} | |
needs: | |
- lint | |
- build | |
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v18.0.0 | |
with: | |
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} | |
architecture: ${{ matrix.architecture }} | |
cloud: microk8s | |
juju-snap-channel: 3.6/beta | |
libjuju-version-constraint: 3.5.2.0 | |
microk8s-snap-channel: 1.28-strict/stable | |
secrets: | |
# GitHub appears to redact each line of a multi-line secret | |
# Avoid putting `{` or `}` on a line by itself so that it doesn't get redacted in logs | |
integration-test: | | |
{ "AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}", | |
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}", | |
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}", | |
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}", | |
"UBUNTU_PRO_TOKEN" : "${{ secrets.UBUNTU_PRO_TOKEN }}", | |
"LANDSCAPE_ACCOUNT_NAME": "${{ secrets.LANDSCAPE_ACCOUNT_NAME }}", | |
"LANDSCAPE_REGISTRATION_KEY": "${{ secrets.LANDSCAPE_REGISTRATION_KEY }}", } |