This repository was archived by the owner on Jun 6, 2025. It is now read-only.
Integration Test on aks-1.29-arm64 (test-suite=nightly) #48
This file contains hidden or 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
| --- | |
| # This is an example workflow that will then be moved to operator-templating | |
| name: Integration Test | |
| run-name: | | |
| Integration Test on ${{ inputs.test-platform }}-${{ inputs.test-architecture }} (${{ inputs.test-run == 'all' && 'all' || format('{0}={1}', inputs.test-run, inputs.test-parameter) }}) | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| test-platform: | |
| description: | | |
| The test platform to run on (kind doesn't support `arm64`) | |
| required: true | |
| type: choice | |
| options: | |
| - kind-1.31.0 | |
| - kind-1.30.3 | |
| - aks-1.29 | |
| - aks-1.28 | |
| - aks-1.27 | |
| - eks-1.29 | |
| - eks-1.28 | |
| - eks-1.27 | |
| - gke-1.29 | |
| - gke-1.28 | |
| - gke-1.27 | |
| - okd-4.15 | |
| - okd-4.14 | |
| - okd-4.13 | |
| test-architecture: | |
| description: | | |
| The architecture the tests will run on | |
| required: true | |
| type: choice | |
| options: | |
| - amd64 | |
| - arm64 | |
| test-run: | |
| description: Type of test run | |
| required: true | |
| type: choice | |
| options: | |
| - all | |
| - test-suite | |
| - test | |
| test-parameter: | |
| description: Parameter to `--test-suite` or `--test` (ignored for `all`) | |
| default: smoke | |
| jobs: | |
| placeholder: | |
| name: Run Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
| with: | |
| submodules: recursive | |
| - name: Run Integration Test | |
| id: test | |
| uses: stackabletech/actions/run-integration-test@run-integration-test | |
| with: | |
| test-platform: ${{ inputs.test-platform }}-${{ inputs.test-architecture }} | |
| test-run: ${{ inputs.test-run }} | |
| test-parameter: ${{ inputs.test-parameter }} | |
| replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} | |
| - name: Send Notification | |
| if: ${{ failure() }} | |
| env: | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} | |
| uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 | |
| with: | |
| channel-id: "C07UYKAEE02" # notifications-integration-tests-test | |
| payload: | | |
| { | |
| "text": "Integration Test *${{ github.repository }}* failed", | |
| "attachments": [ | |
| { | |
| "pretext": "Started at ${{ steps.test.outputs.start-time }}, failed at ${{ steps.test.outputs.end-time }}", | |
| "color": "#aa0000", | |
| "actions": [ | |
| { | |
| "type": "button", | |
| "text": "Go to integration test run", | |
| "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
| } | |
| ] | |
| } | |
| ] | |
| } |