From 5f47e4a19165157afc1ce3c53a34d3299c28eca3 Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 8 Nov 2024 10:50:41 +0100 Subject: [PATCH 1/7] ci: Tweak the integration test configuration --- tests/infrastructure.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/infrastructure.yaml b/tests/infrastructure.yaml index 6f8d6d02..fb7f5eae 100644 --- a/tests/infrastructure.yaml +++ b/tests/infrastructure.yaml @@ -1 +1,2 @@ -instance-size: medium +instance-size: large +nodes: 3 From 6f95870f735e832a04be2592a17e0d584542efde Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 8 Nov 2024 14:16:19 +0100 Subject: [PATCH 2/7] ci: Use updated action This commit will be reverted before merge. --- .github/workflows/integration-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 9a6ef2c0..de056caa 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -81,7 +81,8 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@5b66858af3597c4ea34f9b33664b8034a1d28427 # v0.3.0 + # NOTE (@Techassi): Use tagged version instead, changed only for testing + uses: stackabletech/actions/run-integration-test@99211a06f470cda1b2bcf7b4054ea1ccfe4ba071 with: test-platform: ${{ env.TEST_PLATFORM }}-${{ env.TEST_ARCHITECTURE }} test-run: ${{ env.TEST_RUN }} From 8ee7e9621577a990f4b7b8207279af0ae376ff85 Mon Sep 17 00:00:00 2001 From: Techassi Date: Wed, 4 Dec 2024 14:38:45 +0100 Subject: [PATCH 3/7] chore: Bump run-integration-test action --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 24eb3372..7a5f3687 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -86,7 +86,7 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@5901c3b1455488820c4be367531e07c3c3e82538 # v0.4.0 + uses: stackabletech/actions/run-integration-test@5c9e7b59b5a6c459a6a488193e9a9fb8dfe63cc8 # v0.4.0 TODO: Use released version with: test-platform: ${{ env.TEST_PLATFORM }}-${{ env.TEST_ARCHITECTURE }} test-run: ${{ env.TEST_RUN }} From 046d2d40a5903088a06ddfd862b0a137cd4d113f Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 6 Dec 2024 15:55:14 +0100 Subject: [PATCH 4/7] ci: Use 100G disks --- .github/workflows/integration-test.yml | 2 +- tests/infrastructure.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 7a5f3687..dc7dda1b 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -86,7 +86,7 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@5c9e7b59b5a6c459a6a488193e9a9fb8dfe63cc8 # v0.4.0 TODO: Use released version + uses: stackabletech/actions/run-integration-test@95626907fd8cae2f17c862ae40bcab1aa5a2c854 # v0.5.0 with: test-platform: ${{ env.TEST_PLATFORM }}-${{ env.TEST_ARCHITECTURE }} test-run: ${{ env.TEST_RUN }} diff --git a/tests/infrastructure.yaml b/tests/infrastructure.yaml index fb7f5eae..6b7ba290 100644 --- a/tests/infrastructure.yaml +++ b/tests/infrastructure.yaml @@ -1,2 +1,3 @@ instance-size: large +disk: 100 nodes: 3 From e065f35d4614f76138824b7dd3b76d80d0376bf4 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 14 Jan 2025 12:39:06 +0100 Subject: [PATCH 5/7] chore: Use new interu config --- tests/infrastructure.yaml | 3 --- tests/interu.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) delete mode 100644 tests/infrastructure.yaml create mode 100644 tests/interu.yaml diff --git a/tests/infrastructure.yaml b/tests/infrastructure.yaml deleted file mode 100644 index 6b7ba290..00000000 --- a/tests/infrastructure.yaml +++ /dev/null @@ -1,3 +0,0 @@ -instance-size: large -disk: 100 -nodes: 3 diff --git a/tests/interu.yaml b/tests/interu.yaml new file mode 100644 index 00000000..d89e3ccb --- /dev/null +++ b/tests/interu.yaml @@ -0,0 +1,17 @@ +runners: + amd64: + platform: aks-1.31 + ttl: 4h + node-groups: + - name: default + arch: amd64 + size: large + disk-gb: 50 + nodes: 3 + +profiles: + schedule: + strategy: use-runner + runner: amd64 + options: + parallelism: 1 From 9b048f2c2d6921e53c63aec8bb6c0d789c15e915 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 14 Jan 2025 13:39:25 +0100 Subject: [PATCH 6/7] ci: Switch to action with interu --- .github/workflows/integration-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index dc7dda1b..63c52496 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -86,12 +86,10 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@95626907fd8cae2f17c862ae40bcab1aa5a2c854 # v0.5.0 + uses: stackabletech/actions/run-integration-test@05cb2081c8ffd34bbaaee36846f4e1892686cf55 # TODO: Use releases version with: - test-platform: ${{ env.TEST_PLATFORM }}-${{ env.TEST_ARCHITECTURE }} - test-run: ${{ env.TEST_RUN }} - test-parameter: ${{ env.TEST_PARAMETER }} replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} + test-profile: schedule - name: Send Notification if: ${{ failure() }} From f92bf86d6d3cc33b8a4a1e096555b000d751dfe3 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 14 Jan 2025 13:44:27 +0100 Subject: [PATCH 7/7] ci: Adjust workflow --- .github/workflows/integration-test.yml | 64 +------------------------- tests/interu.yaml | 6 +-- 2 files changed, 4 insertions(+), 66 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 63c52496..c3bf2d17 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -1,92 +1,30 @@ --- 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) }}) env: DEFAULT_TEST_PLATFORM: kind-1.31.0 DEFAULT_TEST_ARCHITECTURE: amd64 DEFAULT_TEST_RUN: all DEFAULT_TEST_PARAMETER: "" # Unused when the test-run is 'all' - TEST_PLATFORM: ${{ inputs.test-platform }} - TEST_ARCHITECTURE: ${{ inputs.test-architecture }} - TEST_RUN: ${{ inputs.test-run }} - TEST_PARAMETER: ${{ inputs.test-parameter }} on: # schedule: # At 00:00 on Sunday. See: https://crontab.guru/#0_0_*_*_0 # - cron: "0 0 * * 0" workflow_dispatch: - inputs: - test-platform: - description: | - The test platform to run on - required: true - type: choice - options: - - kind-1.31.2 - - kind-1.30.6 - - rke2-1.31.2 - - rke2-1.30.6 - - k3s-1.31.2 - - k3s-1.30.6 - - 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. Consult the run-integration-test action README for - more details on supported architectures for each distribution - 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: test: name: Run Integration Test runs-on: ubuntu-latest steps: - - name: Override integration test options for scheduled run - if: github.event_name == 'schedule' - shell: bash - run: | - set -euo pipefail - - echo "TEST_PLATFORM=$DEFAULT_TEST_PLATFORM" | tee -a "$GITHUB_ENV" - echo "TEST_ARCHITECTURE=$DEFAULT_TEST_ARCHITECTURE" | tee -a "$GITHUB_ENV" - echo "TEST_RUN=$DEFAULT_TEST_RUN" | tee -a "$GITHUB_ENV" - echo "TEST_PARAMETER=$DEFAULT_TEST_PARAMETER" | tee -a "$GITHUB_ENV" - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: submodules: recursive - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@05cb2081c8ffd34bbaaee36846f4e1892686cf55 # TODO: Use releases version + uses: stackabletech/actions/run-integration-test@990f74b08b1c3693fb80814c20c44a97531ebf75 # TODO: Use released version with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} test-profile: schedule diff --git a/tests/interu.yaml b/tests/interu.yaml index d89e3ccb..7a8a5e8b 100644 --- a/tests/interu.yaml +++ b/tests/interu.yaml @@ -1,12 +1,12 @@ runners: amd64: platform: aks-1.31 - ttl: 4h + ttl: 6h node-groups: - name: default arch: amd64 size: large - disk-gb: 50 + disk-gb: 100 nodes: 3 profiles: @@ -14,4 +14,4 @@ profiles: strategy: use-runner runner: amd64 options: - parallelism: 1 + parallelism: 2