Skip to content

Commit 5d1f437

Browse files
committed
ci: remove integration test (--test-it) infrastructure from deploy-camunda CLI and CI workflows
The IT test runner was built into the Helm repo but is no longer used — all post-deployment testing now goes through E2E/Playwright. This removes: - --test-it CLI flag and TestIT/RunIntegrationTests config fields - SkipIT from CIScenario and matrix Entry structs - skip-it workflow inputs from all CI workflow templates - skip-it entries from ci-test-config.yaml (8.7–8.10) - skipIT handling from generate-chart-matrix.sh - IT log file creation in the matrix runner Closes #5764
1 parent 8bef9d0 commit 5d1f437

18 files changed

Lines changed: 20 additions & 80 deletions

File tree

.github/workflows/test-chart-version-template.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ on:
117117
required: false
118118
default: false
119119
type: boolean
120-
skip-it:
121-
description: "Skip integration (Playwright IT) tests for this scenario"
122-
required: false
123-
default: false
124-
type: boolean
125120

126121
concurrency:
127122
group: ${{ github.workflow }}-${{ inputs.pr-number }}-${{ inputs.shortname }}-${{ inputs.flows }}-${{ inputs.camunda-version }}-${{ inputs.auth }}-${{ inputs.flows }}-${{ inputs.exclude }}-${{ inputs.platforms }}-${{ github.ref_name || github.ref }}
@@ -187,7 +182,6 @@ jobs:
187182
test-qa: ${{ inputs.test-qa }}
188183
test-upgrade: ${{ inputs.test-upgrade }}
189184
skip-e2e: ${{ inputs.skip-e2e }}
190-
skip-it: ${{ inputs.skip-it }}
191185
vault-secret-mapping: |
192186
secret/data/products/distribution/ci ENTRA_APP_CLIENT_ID;
193187
secret/data/products/distribution/ci ENTRA_APP_CLIENT_SECRET;

.github/workflows/test-chart-version.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,3 @@ jobs:
220220
test-qa: ${{ matrix.qa == 'true' }}
221221
test-upgrade: ${{ matrix.upgrade == 'true' }}
222222
skip-e2e: ${{ matrix.skipE2E == 'true' }}
223-
skip-it: ${{ matrix.skipIT == 'true' }}

.github/workflows/test-integration-runner.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ on:
139139
required: false
140140
default: false
141141
type: boolean
142-
skip-it:
143-
description: "Skip integration (Playwright IT) tests for this scenario (declared in ci-test-config.yaml)"
144-
required: false
145-
default: false
146-
type: boolean
147142
camunda-helm-post-render:
148143
description: Set to true if you would like to run the post-renderer script for OpenShift
149144
required: false

.github/workflows/test-integration-template.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ on:
130130
required: false
131131
default: false
132132
type: boolean
133-
skip-it:
134-
description: "Skip integration (Playwright IT) tests for this scenario"
135-
required: false
136-
default: false
137-
type: boolean
138133
shortname:
139134
required: false
140135
default: "es"
@@ -353,7 +348,6 @@ jobs:
353348
test-qa: ${{ inputs.test-qa }}
354349
test-upgrade: ${{ inputs.test-upgrade }}
355350
skip-e2e: ${{ inputs.skip-e2e }}
356-
skip-it: ${{ inputs.skip-it }}
357351
camunda-helm-post-render: ${{ inputs.camunda-helm-post-render }}
358352
camunda-helm-credentials-source: ${{ inputs.camunda-helm-credentials-source }}
359353
run-all-e2e-tests: ${{ inputs.run-all-e2e-tests }}

charts/camunda-platform-8.10/test/ci-test-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ integration:
9999
auth: oidc
100100
flow: upgrade-minor
101101
skip-e2e: true # OIDC auth incompatible with Keycloak-dependent smoke tests
102-
skip-it: true # OIDC ITs require Entra setup that returns 401
103102
infra-type:
104103
gke: distroci
105104
eks: preemptible
@@ -188,7 +187,6 @@ integration:
188187
exclude: []
189188
flow: install
190189
skip-e2e: true # No Elasticsearch means no secondary storage for E2E tests
191-
skip-it: true # Integration tests require Elasticsearch
192190
identity: keycloak
193191
persistence: no-elasticsearch
194192
features: [no-secondary-storage]

charts/camunda-platform-8.7/test/ci-test-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ integration:
6767
persistence: elasticsearch
6868
flow: install,upgrade-patch
6969
skip-e2e: true # 8.7 web-modeler-restapi bug + OIDC incompatible with Keycloak-dependent smoke tests
70-
skip-it: true # OIDC ITs require Entra setup that returns 401
7170
infra-type:
7271
gke: distroci
7372
eks: preemptible

charts/camunda-platform-8.8/test/ci-test-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ integration:
6262
auth: oidc
6363
flow: install,upgrade-minor
6464
skip-e2e: true # OIDC auth incompatible with Keycloak-dependent smoke tests
65-
skip-it: true # OIDC ITs require Entra setup that returns 401
6665
infra-type:
6766
gke: distroci
6867
eks: preemptible

charts/camunda-platform-8.9/test/ci-test-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ integration:
100100
auth: oidc
101101
flow: install,upgrade-minor
102102
skip-e2e: true # OIDC auth incompatible with Keycloak-dependent smoke tests
103-
skip-it: true # OIDC ITs require Entra setup that returns 401
104103
infra-type:
105104
gke: distroci
106105
eks: preemptible
@@ -177,7 +176,6 @@ integration:
177176
exclude: []
178177
flow: install
179178
skip-e2e: true # No Elasticsearch means no secondary storage for E2E tests
180-
skip-it: true # Integration tests require Elasticsearch
181179
identity: keycloak
182180
persistence: no-elasticsearch
183181
features: [no-secondary-storage]

scripts/deploy-camunda/cmd/matrix.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ func newMatrixRunCommand() *cobra.Command {
139139
repoRoot string
140140
dryRun bool
141141
coverage bool
142-
testIT bool
143142
testE2E bool
144143
testAll bool
145144
stopOnFailure bool
@@ -265,7 +264,6 @@ This command calls deploy.Execute() for each matrix entry.`,
265264
SkipDependencyUpdate: &skipDependencyUpdate,
266265
HelmTimeout: &helmTimeout,
267266
// Tests
268-
TestIT: &testIT,
269267
TestE2E: &testE2E,
270268
TestAll: &testAll,
271269
// Kube contexts
@@ -450,7 +448,6 @@ This command calls deploy.Execute() for each matrix entry.`,
450448
NamespacePrefix: namespacePrefix,
451449
Platform: platform,
452450
MaxParallel: maxParallel,
453-
TestIT: testIT,
454451
TestE2E: testE2E,
455452
TestAll: testAll,
456453
RepoRoot: repoRoot,
@@ -524,9 +521,8 @@ This command calls deploy.Execute() for each matrix entry.`,
524521
f.StringVar(&repoRoot, "repo-root", "", "Repository root path (or set repoRoot in config)")
525522
f.BoolVar(&dryRun, "dry-run", false, "Log what would be deployed without actually deploying")
526523
f.BoolVar(&coverage, "coverage", false, "Show a layer-breakdown report of what is tested in the matrix (no deployment)")
527-
f.BoolVar(&testIT, "test-it", false, "Run integration tests after each deployment")
528524
f.BoolVar(&testE2E, "test-e2e", false, "Run e2e tests after each deployment")
529-
f.BoolVar(&testAll, "test-all", false, "Run both integration and e2e tests after each deployment")
525+
f.BoolVar(&testAll, "test-all", false, "Run all e2e tests after each deployment")
530526
f.BoolVar(&stopOnFailure, "stop-on-failure", false, "Stop the run on the first failure")
531527
f.StringVar(&namespacePrefix, "namespace-prefix", "matrix", "Prefix for generated namespaces")
532528
f.BoolVar(&cleanup, "cleanup", false, "Delete each entry's namespace after its deployment and tests complete")

scripts/deploy-camunda/cmd/root.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,8 @@ func NewRootCommand() *cobra.Command {
233233
f.StringVar(&flags.Test.OutputTestEnvPath, "output-test-env-path", ".env.test", "Path for the test .env file output (for multi-scenario: used as base, e.g., .env.test.{scenario})")
234234

235235
// Test execution flags
236-
f.BoolVar(&flags.Test.RunIntegrationTests, "test-it", false, "Run integration tests after deployment")
237236
f.BoolVar(&flags.Test.RunE2ETests, "test-e2e", false, "Run e2e tests after deployment")
238-
f.BoolVar(&flags.Test.RunAllTests, "test-all", false, "Run both integration and e2e tests after deployment")
237+
f.BoolVar(&flags.Test.RunAllTests, "test-all", false, "Run all e2e tests after deployment")
239238
f.StringVar(&flags.Test.KubeContext, "kube-context", "", "Kubernetes context to use for deployment")
240239
f.StringVar(&flags.Test.TestExclude, "test-exclude", "", "Pipe-separated regex of test suites to exclude (passed as --grep-invert to Playwright)")
241240
f.BoolVar(&flags.Secrets.UseVaultBackedSecrets, "use-vault-backed-secrets", false, "Use vault-backed external secrets (selects -vault.yaml suffix files)")

0 commit comments

Comments
 (0)