-
Notifications
You must be signed in to change notification settings - Fork 146
1665 lines (1548 loc) · 77.5 KB
/
Copy pathtest-integration-runner.yaml
File metadata and controls
1665 lines (1548 loc) · 77.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Docs: https://github.com/camunda/camunda-platform-helm/blob/main/docs/gha-workflows.md
name: "Test - Integration - Runner"
on:
workflow_call:
inputs:
helmChartVersion:
description: Deploy from OCI registry using this version (overrides git-based chart packaging for install flow)
required: false
default: ""
type: string
values-config:
type: string
description: Some of the values files will allow subsitutions. For example, on the image.tags. This config supplies those values
default: '{}'
required: false
auth:
description: The authentication type to use for the tests.
required: true
default: keycloak
type: string
exclude:
description: The test suites to exclude.
required: false
default: ""
type: string
identifier:
description: The unique identifier of used in the deployment hostname.
required: true
type: string
camunda-helm-repo:
description: The Helm repo which is used during the upgrade flow.
required: false
default: camunda/camunda-platform
type: string
camunda-helm-dir:
required: false
default: camunda-platform-8.8
type: string
camunda-helm-git-ref:
required: false
default: main
type: string
camunda-helm-upgrade-version:
description: The Helm chart version used in the upgrade-patch flow.
required: false
default: ""
type: string
camunda-version-previous:
description: The Camunda version used in the upgrade-minor flow.
required: false
default: ""
type: string
caller-git-ref:
required: false
default: main
type: string
deployment-ttl:
description: Define a TTL for the lifespan of the deployment.
required: false
default: "12h"
type: string
distro-platform:
default: gke
type: string
distro-type:
default: kubernetes
type: string
infra-type:
description: Define the infrastructure that will be used to run the deployment.
default: "preemptible"
type: string
flow:
required: false
default: install
type: string
test-enabled:
required: false
default: true
type: boolean
e2e-enabled:
required: false
default: false
type: boolean
extra-values:
description: Pass extra values to the Helm chart.
required: false
type: string
vault-secret-mapping:
description: (optional) defines how to map Vault secrets to distro CI environment variables
required: false
type: string
auth-data:
required: false
type: string
cluster-type:
required: false
type: string
test-case:
required: false
default: "pr"
type: string
scenario:
required: false
default: "elasticsearch"
type: string
# =============================================================================
# Selection + Composition Model Inputs (New - Preferred)
# These inputs allow explicit configuration of identity, persistence, platform,
# and features instead of relying on scenario name parsing.
# =============================================================================
test-identity:
description: "Identity selection: keycloak, keycloak-external, oidc, basic, hybrid"
required: false
type: string
test-persistence:
description: "Persistence selection: elasticsearch, opensearch, rdbms, rdbms-oracle"
required: false
type: string
test-platform:
description: "Platform selection: gke, eks, openshift"
required: false
type: string
test-features:
description: "Features (comma-separated): multitenancy, rba, documentstore"
required: false
type: string
test-qa:
description: "Enable QA configuration"
required: false
default: false
type: boolean
test-upgrade:
description: "Enable upgrade flow configuration"
required: false
default: false
type: boolean
skip-e2e:
description: "Skip E2E (Playwright smoke) tests for this scenario (declared in ci-test-config.yaml)"
required: false
default: false
type: boolean
skip-it:
description: "Skip integration (Playwright IT) tests for this scenario (declared in ci-test-config.yaml)"
required: false
default: false
type: boolean
pr-head-sha:
description: "PR HEAD commit SHA for recording cache results"
required: false
default: ""
type: string
camunda-version:
description: "Camunda version (e.g., 8.9) for cache result recording"
required: false
default: ""
type: string
camunda-helm-post-render:
description: Set to true if you would like to run the post-renderer script for OpenShift
required: false
default: true
type: boolean
camunda-helm-credentials-source:
description: |
Auto-generate credentials or copy them from external secret.
Valid options: auto-generated or external-secret-only.
New optional auto-generated secrets are only supported in Camunda 8.4 chart and above.
required: false
default: auto-generated
type: string
cluster-name:
required: false
type: string
cluster-location:
required: false
type: string
workload-identity-provider:
required: false
type: string
service-account:
required: false
type: string
server-url:
required: false
type: string
username:
required: false
type: string
password:
required: false
type: string
e2e-test-pattern:
required: false
default: "**/smoke-tests.spec.{ts,js}"
type: string
run-all-e2e-tests:
description: "Run all E2E tests (playwright)"
required: false
default: false
type: boolean
teleport-token:
description: The Teleport token to use for authentication.
required: false
default: infra-ci-prod-github-action-distribution
type: string
shortname:
description: The shortname of the scenario.
required: true
default: "eske"
type: string
namespace-prefix:
description: The prefix for the namespace. This is necessary because we only have permissions to create namespaces with a specific prefix.
required: false
default: ""
type: string
values-enterprise:
required: false
default: "false"
type: string
description: Enable enterprise values
values-digest:
required: false
default: "true"
type: string
description: Enable digest values
always-delete-namespace:
description: Always delete the namespace after the test run
default: false
type: boolean
required: false
initialClaimValue:
description: This is only used for testing Entra. This is here so we can do exploratory testing with Entra.
required: false
default: ""
type: string
include-image-tags:
description: Include the image tags file for substitution from values-config
required: false
default: false
type: boolean
helm-version:
description: "Helm version to install. Empty means use the pre-baked Helm from the CI runner image."
required: false
default: ""
type: string
outputs:
deployment-url:
description: The URL of the deployed application.
value: ${{ jobs.install.outputs.vars-ingress-host }}
namespace:
description: The namespace where the deployment is running.
value: ${{ jobs.install.outputs.vars-namespace }}
permissions:
contents: read
id-token: write
deployments: write
packages: read
statuses: write
# No concurrency block here — this is the innermost layer containing the cleanup job.
# cancel-in-progress at this level kills ALL jobs including cleanup, causing orphaned
# cloud resources. Cancellation is handled by outer caller workflows. See #5307.
env:
# Vars with "CI_" prefix are used in the CI workflow only.
# Vars with "TEST_" prefix are used in the test runner tool (Task).
CI_DEPLOYMENT_TTL: ${{ inputs.deployment-ttl }}
# The Helm repo which is used during the upgrade flow.
TEST_CHART_REPO: ${{ inputs.camunda-helm-repo }}
# Docker Hub auth to avoid image pull rate limit.
TEST_CREATE_DOCKER_LOGIN_SECRET: "TRUE"
# OIDC.
INITIAL_CLAIM_VALUE: ${{ inputs.initialClaimValue }}
# Mapping rule client IDs - defaults for Keycloak; overridden by entra.ensure-venom-app for OIDC.
VENOM_CLIENT_ID: venom
CONNECTORS_CLIENT_ID: connectors
# Misc.
# NOTE: Infrastructure values (CLUSTER_NAME, AWS_PROFILE, OPENSEARCH_HOST/PROTOCOL/PORT,
# POSTGRESQL_JDBC_URL) are loaded from .github/config/infra.yaml by the workflow-vars action
# (invoked via integration-test-setup) and exported to $GITHUB_ENV per-job.
TELEPORT_TOKEN: ${{ inputs.teleport-token }}
FLOW: ${{ inputs.flow }}
jobs:
install:
if: github.event.action != 'closed' && inputs.flow != 'modular-upgrade-minor'
name: install for ${{ inputs.flow }} on ${{ inputs.distro-platform }} - ${{ inputs.shortname }}
runs-on: ubuntu-latest
container:
image: ghcr.io/camunda/team-distribution/ci-runner:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --user root
defaults:
run:
shell: bash
outputs:
vars-identifier: ${{ steps.setup.outputs.identifier }}
vars-ingress-host: ${{ steps.setup.outputs.ingress-host }}
vars-namespace: ${{ steps.setup.outputs.namespace }}
SHARD_TOTAL: ${{ env.SHARD_TOTAL }}
SHARD_INDEX: ${{ env.SHARD_INDEX }}
permissions:
contents: read
id-token: write
deployments: write
packages: read
env:
TEST_CLUSTER_TYPE: ${{ inputs.distro-type || inputs.cluster-type }}
steps:
- name: Info - ℹ️ Print workflow inputs ℹ️
env:
GITHUB_CONTEXT: ${{ toJson(inputs) }}
run: |
if [[ -n "${INITIAL_CLAIM_VALUE}" ]]; then
echo "::add-mask::${INITIAL_CLAIM_VALUE}"
fi
echo "Workflow Inputs:"
echo "${GITHUB_CONTEXT}" | jq '."extra-values" = "<Check below>"'
echo "Workflow Inputs - Extra Values:"
echo "${GITHUB_CONTEXT}" | jq -r '."extra-values"'
- name: CI Setup - Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
# This is needed to load repo GH composite actions if the workflow triggered by workflow_call.
repository: camunda/camunda-platform-helm
ref: ${{ inputs.camunda-helm-git-ref }}
- name: CI Setup - Configure Git safe directory
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Configure curl and wget
uses: ./.github/actions/setup-curl
# Tools (golang, helm, kubectl, oc, task, yq, zbctl) are pre-installed in the CI runner container image
# See: .github/docker/ci-runner/Dockerfile
# The per-scenario helm-version input below can override the pre-baked helm when set in ci-test-config.yaml.
# When no override is provided, fall back to the helm version pinned in .tool-versions.
- name: CI Setup - Resolve Helm version
id: helm-resolve
run: |
version="${{ inputs.helm-version }}"
if [[ -z "$version" ]]; then
version="$(awk '$1=="helm"{print $2}' .tool-versions)"
fi
prebaked="$(helm version --short --template '{{.Version}}' 2>/dev/null | sed 's/^v//' | cut -d'+' -f1)"
echo "version=$version" >> "$GITHUB_OUTPUT"
if [[ "$version" == "$prebaked" ]]; then
echo "needs-install=false" >> "$GITHUB_OUTPUT"
echo "Pre-baked helm $prebaked matches requested $version — skipping override"
else
echo "needs-install=true" >> "$GITHUB_OUTPUT"
echo "Pre-baked helm $prebaked != requested $version — installing override"
fi
- name: CI Setup - Override Helm version
if: steps.helm-resolve.outputs.needs-install == 'true'
env:
HELM_VERSION: ${{ steps.helm-resolve.outputs.version }}
run: |
tarball="helm-v${HELM_VERSION}-linux-amd64.tar.gz"
curl -fsSL "https://get.helm.sh/${tarball}" -o "/tmp/${tarball}"
curl -fsSL "https://get.helm.sh/${tarball}.sha256sum" -o "/tmp/${tarball}.sha256sum"
(cd /tmp && sha256sum --check "${tarball}.sha256sum")
tar -xzf "/tmp/${tarball}" -C /tmp
mv /tmp/linux-amd64/helm /usr/local/bin/helm
rm -rf "/tmp/${tarball}" "/tmp/${tarball}.sha256sum" /tmp/linux-amd64
helm version --short
- name: CI Setup - Shared integration test setup
id: setup
uses: ./.github/actions/integration-test-setup
with:
vault-secret-mapping: ${{ inputs.vault-secret-mapping }}
distro-platform: ${{ inputs.distro-platform }}
auth-data: ${{ inputs.auth-data }}
deployment-ttl: ${{ env.CI_DEPLOYMENT_TTL }}
flow: ${{ inputs.flow }}
identifier: ${{ inputs.identifier }}
camunda-helm-dir: ${{ inputs.camunda-helm-dir }}
camunda-helm-upgrade-version: ${{ inputs.camunda-helm-upgrade-version }}
namespace-prefix: ${{ inputs.namespace-prefix }}
infra-type: ${{ inputs.infra-type }}
values-enterprise: ${{ inputs.values-enterprise }}
values-digest: ${{ inputs.values-digest }}
camunda-version-previous: ${{ inputs.camunda-version-previous }}
env:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_ROLE_ID: ${{ secrets.VAULT_ROLE_ID }}
VAULT_SECRET_ID: ${{ secrets.VAULT_SECRET_ID }}
GH_APP_ID: ${{ secrets.GH_APP_ID_DISTRO_CI_MANAGE_GH_ENVS }}
GH_APP_KEY: ${{ secrets.GH_APP_PRIVATE_KEY_DISTRO_CI_MANAGE_GH_ENVS }}
ROSA_URL: ${{ secrets[inputs.server-url] }}
ROSA_USER: ${{ secrets[inputs.username] }}
ROSA_PASS: ${{ secrets[inputs.password] }}
DISTRO_CI_DOCKER_USERNAME_DOCKERHUB: ${{ secrets.DISTRO_CI_DOCKER_USERNAME_DOCKERHUB }}
DISTRO_CI_DOCKER_PASSWORD_DOCKERHUB: ${{ secrets.DISTRO_CI_DOCKER_PASSWORD_DOCKERHUB }}
- name: CI Setup - Start GitHub deployment
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1
id: deployment
continue-on-error: true # Deployment status is cosmetic; don't fail the job if the API 404s (e.g. merge queue refs).
with:
step: start
token: ${{ steps.setup.outputs.cluster-auth-token }}
env: ${{ steps.setup.outputs.identifier }}
ref: ${{ inputs.caller-git-ref }}
- name: Cluster Setup - Configure the namespace
run: |
echo $TEST_NAMESPACE
# Check if namespace exists and if we own it (created by same run)
if kubectl get ns $TEST_NAMESPACE &>/dev/null; then
EXISTING_RUN_ID=$(kubectl get ns $TEST_NAMESPACE -o jsonpath='{.metadata.labels.github-run-id}' 2>/dev/null || echo "")
if [[ "$EXISTING_RUN_ID" == "$GITHUB_WORKFLOW_RUN_ID" ]]; then
echo "Namespace exists and was created by this run, deleting and recreating..."
kubectl delete ns $TEST_NAMESPACE
else
echo "Namespace exists but was created by a different run (run-id: $EXISTING_RUN_ID), cleaning up stale release..."
# Remove any stale Helm release left behind by a cancelled/completed previous run.
# Without this, 'helm install' fails with "cannot re-use a name that is still in use".
helm uninstall integration --namespace $TEST_NAMESPACE --wait --timeout 2m0s 2>/dev/null || true
fi
fi
kubectl create ns $TEST_NAMESPACE --dry-run=client -o yaml | kubectl apply -f -
kubectl label ns $TEST_NAMESPACE github-id=${{ steps.setup.outputs.identifier }} --overwrite
kubectl label ns $TEST_NAMESPACE test-flow=${{ inputs.flow }} --overwrite
kubectl label ns $TEST_NAMESPACE github-run-id=$GITHUB_WORKFLOW_RUN_ID --overwrite
kubectl label ns $TEST_NAMESPACE github-job-id=$GITHUB_WORKFLOW_JOB_ID --overwrite
kubectl label ns $TEST_NAMESPACE github-org=$(dirname $GITHUB_REPOSITORY) --overwrite
kubectl label ns $TEST_NAMESPACE github-repo=$(basename $GITHUB_REPOSITORY) --overwrite
kubectl annotate ns $TEST_NAMESPACE cleaner/ttl=${{ inputs.deployment-ttl || '1h' }} --overwrite
kubectl annotate ns $TEST_NAMESPACE janitor/ttl=${{ inputs.deployment-ttl || '1h' }} --overwrite
kubectl annotate ns $TEST_NAMESPACE camunda.cloud/ephemeral=true --overwrite
kubectl annotate ns $TEST_NAMESPACE github-workflow-run-url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID --overwrite
kubectl get ns $TEST_NAMESPACE -o yaml
- name: Apply Vault mapped Secret
if: inputs.vault-secret-mapping != ''
run: |
kubectl -n "$TEST_NAMESPACE" apply -f /tmp/vault-mapped-secrets.yaml
- name: Cluster Setup - Install docker registry on cluster
run: |
kubectl create secret docker-registry registry-camunda-cloud \
--namespace $TEST_NAMESPACE \
--docker-server "registry.camunda.cloud" \
--docker-username $TEST_DOCKER_USERNAME_CAMUNDA_CLOUD \
--docker-password $TEST_DOCKER_PASSWORD_CAMUNDA_CLOUD \
--dry-run=client -o yaml | kubectl apply -f -
kubectl create secret docker-registry ghcr-io \
--namespace $TEST_NAMESPACE \
--docker-server "ghcr.io" \
--docker-username $GITHUB_ACTOR \
--docker-password $GITHUB_TOKEN \
--dry-run=client -o yaml | kubectl apply -f -
# Docker Hub pull secret (replaces the legacy `task init.seed` lib taskfile target).
# TEST_DOCKER_USERNAME/PASSWORD are exported by integration-test-setup from Vault.
if [[ "${TEST_CREATE_DOCKER_LOGIN_SECRET:-FALSE}" == "TRUE" && -n "${TEST_DOCKER_USERNAME:-}" && -n "${TEST_DOCKER_PASSWORD:-}" ]]; then
kubectl create secret docker-registry index-docker-io \
--namespace $TEST_NAMESPACE \
--docker-server "https://index.docker.io/v1/" \
--docker-username "$TEST_DOCKER_USERNAME" \
--docker-password "$TEST_DOCKER_PASSWORD" \
--dry-run=client -o yaml | kubectl apply -f -
fi
env:
TEST_DOCKER_USERNAME_CAMUNDA_CLOUD: ${{ env.TEST_DOCKER_USERNAME_CAMUNDA_CLOUD || env.NEXUS_USERNAME }}
TEST_DOCKER_PASSWORD_CAMUNDA_CLOUD: ${{ env.TEST_DOCKER_PASSWORD_CAMUNDA_CLOUD || env.NEXUS_PASSWORD }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
##########################################################################################################
# Install
##########################################################################################################
- name: Cluster Setup - Configure TLS Certificates/Secrets
uses: ./.github/actions/cluster-setup-secrets
with:
distro-platform: ${{ inputs.distro-platform }}
chart-path: ${{ env.CHART_PATH }}
namespace: ${{ env.TEST_NAMESPACE }}
- name: Helm - Install - Configure Helm with Entra Values
if: (inputs.auth == 'oidc' || inputs.scenario == 'oidc' || inputs.test-identity == 'oidc') && inputs.values-config == '{}'
timeout-minutes: 5
env:
TEST_CHART_FLOW: ${{ inputs.flow }}
TEST_INGRESS_HOST: ${{ steps.setup.outputs.ingress-host }}
TEST_VALUES_SCENARIO: "${{ inputs.scenario }}"
TEST_AUTH_TYPE: ${{ inputs.auth }}
INFRA_TYPE: ${{ inputs.infra-type }}
EXTRA_VALUES: ${{ inputs.extra-values }}
# Selection + composition model environment variables (new - preferred)
TEST_IDENTITY: ${{ inputs.test-identity }}
TEST_PERSISTENCE: ${{ inputs.test-persistence }}
TEST_PLATFORM: ${{ inputs.test-platform || inputs.distro-platform }}
TEST_FEATURES: ${{ inputs.test-features }}
TEST_HELM_EXTRA_ARGS: >-
${{ env.TEST_HELM_EXTRA_ARGS }}
${{ steps.setup.outputs.legacy-ingress-arg }}
--set global.host=${{ steps.setup.outputs.ingress-host }}
run: |
echo "Extra values from workflow:"
echo "$EXTRA_VALUES" | tee /tmp/extra-values-file.yaml
cd ./scripts/deploy-camunda
go run . entra update-redirect-uris \
--ingress-host "$TEST_INGRESS_HOST" \
--log-level info
go run . entra ensure-venom-app \
--namespace "$TEST_NAMESPACE" \
--log-level info | tee /tmp/entra-output.txt
# Capture VENOM_CLIENT_ID and CONNECTORS_CLIENT_ID from Go CLI stdout.
grep '^VENOM_CLIENT_ID=' /tmp/entra-output.txt >> "$GITHUB_ENV"
grep '^CONNECTORS_CLIENT_ID=' /tmp/entra-output.txt >> "$GITHUB_ENV"
# Also export for the current step.
eval "$(grep '^VENOM_CLIENT_ID=' /tmp/entra-output.txt)"
eval "$(grep '^CONNECTORS_CLIENT_ID=' /tmp/entra-output.txt)"
- name: Helm - Install - Pre-install scenario tweaks
timeout-minutes: 5
env:
EXTRA_VALUES: ${{ inputs.extra-values }}
run: |
# Persist user-supplied extra values for `deploy-camunda matrix run` to consume.
# The runner uses a fixed location (/tmp/extra-values-file.yaml) which is added to
# the helm values chain by deploy.Execute via flags.Deployment.ExtraValues.
echo "Extra values from workflow:"
echo "$EXTRA_VALUES" | tee /tmp/extra-values-file.yaml
# Configure OpenSearch values when running the opensearch scenario
# (legacy substitution; only applies to the opensearch scenario name).
if [[ "${{ inputs.scenario }}" == "opensearch" ]] && [[ -n "${OPENSEARCH_USERNAME:-}" ]] && [[ -n "${OPENSEARCH_PASSWORD:-}" ]]; then
values_file="${{ env.CHART_PATH }}/test/integration/scenarios/chart-full-setup/values-integration-test-ingress-${{ inputs.scenario }}.yaml"
if [[ -f "$values_file" ]]; then
envsubst < "$values_file" > /tmp/values-substituted.yaml && mv /tmp/values-substituted.yaml "$values_file"
fi
fi
- name: Helm - OCI Registry Login
if: inputs.helmChartVersion != ''
run: |
printf '%s' "${TEST_DOCKER_PASSWORD_CAMUNDA_CLOUD}" | helm registry login registry.camunda.cloud \
--username "${TEST_DOCKER_USERNAME_CAMUNDA_CLOUD}" \
--password-stdin
echo "TEST_CHART_VERSION=${{ inputs.helmChartVersion }}" >> "$GITHUB_ENV"
- name: Helm - Install - 🌟 Install Camunda chart 🌟
# For upgrade flows, the upgrade job runs the full two-step orchestration
# (install previous version + upgrade to current) via deploy-camunda matrix run.
# The install job only deploys for plain `install` flow; for upgrade-patch /
# upgrade-minor it stops after pre-install setup so the upgrade job can take
# over a clean (but pre-secret-configured) namespace.
if: inputs.flow == 'install'
env:
TEST_CHART_FLOW: ${{ inputs.flow }}
# CAMUNDA_HOSTNAME is required by layered values (e.g. base.yaml contains $CAMUNDA_HOSTNAME)
CAMUNDA_HOSTNAME: ${{ steps.setup.outputs.ingress-host }}
# License key for Camunda Platform. Persisted to a file and injected via
# --set-file (avoids shell word-splitting on spaces/semicolons).
E2E_TESTS_LICENSE_KEY: ${{ secrets.E2E_TESTS_LICENSE_KEY || env.E2E_TESTS_LICENSE_KEY }}
CAMUNDA_HELM_DIR: ${{ inputs.camunda-helm-dir }}
INFRA_TYPE: ${{ inputs.infra-type }}
# Selection + composition model environment variables (consumed by
# deploy-camunda's prepare-values via the matrix run scenario resolver
# — no flag wiring required, the runner reads $TEST_* env vars).
TEST_IDENTITY: ${{ inputs.test-identity }}
TEST_PERSISTENCE: ${{ inputs.test-persistence }}
TEST_PLATFORM: ${{ inputs.test-platform || inputs.distro-platform }}
TEST_FEATURES: ${{ inputs.test-features }}
TEST_QA: ${{ inputs.test-qa }}
TEST_UPGRADE: ${{ inputs.test-upgrade }}
TEST_IMAGE_TAGS: ${{ inputs.include-image-tags }}
TEST_VALUES_SCENARIO: "${{ inputs.scenario }}"
VALUES_CONFIG: ${{ inputs.values-config }}
HELM_CHART_VERSION: ${{ inputs.helmChartVersion }}
run: |
set -euo pipefail
CHART_VERSION="${CAMUNDA_HELM_DIR#camunda-platform-}"
# License key: pre-8.9 charts use global.license.key, >=8.9 use
# global.license.secret.inlineSecret. Detect by grepping the chart's
# values.yaml @param annotations.
EXTRA_HELM_ARGS=()
if [[ -n "${E2E_TESTS_LICENSE_KEY:-}" ]]; then
LICENSE_FILE=/tmp/license-key.txt
printf '%s' "${E2E_TESTS_LICENSE_KEY}" > "$LICENSE_FILE"
if grep -q '@param global.license.key' "${{ env.CHART_PATH }}/values.yaml" 2>/dev/null; then
EXTRA_HELM_ARGS+=(--extra-helm-arg=--set-file=global.license.key="$LICENSE_FILE")
else
EXTRA_HELM_ARGS+=(--extra-helm-arg=--set-file=global.license.secret.inlineSecret="$LICENSE_FILE")
fi
fi
# Pass the legacy ingress arg + global.host as helm extra args.
LEGACY_INGRESS_ARG="${{ steps.setup.outputs.legacy-ingress-arg }}"
if [[ -n "$LEGACY_INGRESS_ARG" ]]; then
# legacy-ingress-arg is space-delimited (e.g. "--set foo=bar"); split it.
# shellcheck disable=SC2206
LEGACY_TOKENS=($LEGACY_INGRESS_ARG)
for tok in "${LEGACY_TOKENS[@]}"; do
EXTRA_HELM_ARGS+=(--extra-helm-arg="$tok")
done
fi
# OCI chart override: when helmChartVersion is set, deploy from the published
# OCI artifact instead of the local git chart directory.
CHART_REF_ARGS=()
if [[ -n "${HELM_CHART_VERSION:-}" ]]; then
CHART_REF_ARGS+=(--chart-ref "oci://registry.camunda.cloud/team-distribution/camunda-platform")
CHART_REF_ARGS+=(--chart-version "${HELM_CHART_VERSION}")
fi
# Image version source selection:
# TEST_IMAGE_TAGS=false → --disable-image-tags; when OCI chart is set the runner
# applies no version overlay (chart's values.yaml is authoritative); for local
# chart deploys the runner falls back to values-digest.yaml.
# TEST_IMAGE_TAGS=true → load VALUES_CONFIG as .env file so base-image-tags.yaml
# substitution resolves $E2E_TESTS_*_IMAGE_TAG placeholders (SNAPSHOT builds).
IMAGE_TAGS_ARGS=()
ENV_FILE_ARGS=()
if [[ "${TEST_IMAGE_TAGS:-true}" == "false" ]]; then
IMAGE_TAGS_ARGS=(--disable-image-tags)
elif [[ -n "${VALUES_CONFIG:-}" && "${VALUES_CONFIG}" != "{}" ]]; then
echo "${VALUES_CONFIG}" | jq -r 'to_entries[] | "\(.key)=\(.value)"' > /tmp/values-config.env
ENV_FILE_ARGS=(--env-file /tmp/values-config.env)
fi
cd ./scripts/deploy-camunda
go run . matrix run \
--repo-root "${GITHUB_WORKSPACE}" \
--include-disabled \
--scenario-filter "${{ inputs.scenario }}" \
--shortname-filter "${{ inputs.shortname }}" \
--shortname-exact \
--flow-filter "${{ inputs.flow }}" \
--versions "${CHART_VERSION}" \
--platform "${{ inputs.distro-platform }}" \
--namespace-override "${TEST_NAMESPACE}" \
--skip-dependency-update=false \
--timeout 20 \
--extra-helm-set "global.host=${{ steps.setup.outputs.ingress-host }}" \
${IMAGE_TAGS_ARGS[@]+"${IMAGE_TAGS_ARGS[@]}"} \
${ENV_FILE_ARGS[@]+"${ENV_FILE_ARGS[@]}"} \
${CHART_REF_ARGS[@]+"${CHART_REF_ARGS[@]}"} \
${EXTRA_HELM_ARGS[@]+"${EXTRA_HELM_ARGS[@]}"} \
--log-level info
- name: Display Docker Image Git Commits
id: display-image-commits
if: always()
continue-on-error: true
run: |
OUTPUT=$($GITHUB_WORKSPACE/scripts/list-chart-image-commits.sh)
echo "$OUTPUT"
echo "$OUTPUT" >> $GITHUB_STEP_SUMMARY
##########################################################################################################
# Misc
##########################################################################################################
- name: CI Setup - Update GitHub deployment status
if: inputs.flow == 'install'
continue-on-error: true # Deployment status is cosmetic; don't fail the job if the API 404s (e.g. merge queue refs).
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1
with:
step: finish
token: ${{ steps.setup.outputs.cluster-auth-token }}
status: ${{ job.status }}
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
env_url: https://${{ steps.setup.outputs.ingress-host }}
env: ${{ steps.setup.outputs.identifier }}
ref: ${{ inputs.caller-git-ref }}
- name: Calculate Playwright sharding matrix
id: calc-playwright-matrix
run: |
# Decide how many shards to use for the Playwright E2E test-suite.
if [[ "${{ inputs.run-all-e2e-tests }}" != "true" ]]; then
SHARD_TOTAL="[4]"
SHARD_INDEX_LIST="[1,2,3,4]"
else
SHARD_TOTAL="[36]"
SHARD_INDEX_LIST="[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]"
fi
echo "SHARD_TOTAL=${SHARD_TOTAL}" | tee -a "$GITHUB_ENV"
echo "SHARD_INDEX=${SHARD_INDEX_LIST}" | tee -a "$GITHUB_ENV"
- name: 🚨 Get failed Pods info 🚨
if: failure()
uses: ./.github/actions/failed-pods-info
upgrade:
if: always() && github.event.action != 'closed' && (needs.install.result == 'success' || needs.install.result == 'skipped') && inputs.flow != 'install'
name: upgrade for ${{ inputs.flow }} on ${{ inputs.distro-platform }} - ${{ inputs.shortname }}
runs-on: ubuntu-latest
container:
image: ghcr.io/camunda/team-distribution/ci-runner:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --user root
defaults:
run:
shell: bash
needs: [install]
outputs:
vars-identifier: ${{ steps.setup.outputs.identifier }}
vars-ingress-host: ${{ steps.setup.outputs.ingress-host }}
vars-namespace: ${{ steps.setup.outputs.namespace }}
SHARD_TOTAL: ${{ env.SHARD_TOTAL }}
SHARD_INDEX: ${{ env.SHARD_INDEX }}
permissions:
contents: read
id-token: write
deployments: write
packages: read
env:
TEST_CLUSTER_TYPE: ${{ inputs.distro-type || inputs.cluster-type }}
steps:
- name: Info - ℹ️ Print workflow inputs ℹ️
env:
GITHUB_CONTEXT: ${{ toJson(inputs) }}
run: |
if [[ -n "${INITIAL_CLAIM_VALUE}" ]]; then
echo "::add-mask::${INITIAL_CLAIM_VALUE}"
fi
echo "Workflow Inputs:"
echo "${GITHUB_CONTEXT}" | jq '."extra-values" = "<Check below>"'
echo "Workflow Inputs - Extra Values:"
echo "${GITHUB_CONTEXT}" | jq -r '."extra-values"'
- name: CI Setup - Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
# This is needed to load repo GH composite actions if the workflow triggered by workflow_call.
repository: camunda/camunda-platform-helm
ref: ${{ inputs.camunda-helm-git-ref }}
- name: CI Setup - Configure Git safe directory
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
# Tools (golang, helm, kubectl, oc, task, yq, zbctl) are pre-installed in the CI runner container image
# See: .github/docker/ci-runner/Dockerfile
# The per-scenario helm-version input below can override the pre-baked helm when set in ci-test-config.yaml.
# When no override is provided, fall back to the helm version pinned in .tool-versions.
- name: CI Setup - Resolve Helm version
id: helm-resolve
run: |
version="${{ inputs.helm-version }}"
if [[ -z "$version" ]]; then
version="$(awk '$1=="helm"{print $2}' .tool-versions)"
fi
prebaked="$(helm version --short --template '{{.Version}}' 2>/dev/null | sed 's/^v//' | cut -d'+' -f1)"
echo "version=$version" >> "$GITHUB_OUTPUT"
if [[ "$version" == "$prebaked" ]]; then
echo "needs-install=false" >> "$GITHUB_OUTPUT"
echo "Pre-baked helm $prebaked matches requested $version — skipping override"
else
echo "needs-install=true" >> "$GITHUB_OUTPUT"
echo "Pre-baked helm $prebaked != requested $version — installing override"
fi
- name: CI Setup - Override Helm version
if: steps.helm-resolve.outputs.needs-install == 'true'
env:
HELM_VERSION: ${{ steps.helm-resolve.outputs.version }}
run: |
tarball="helm-v${HELM_VERSION}-linux-amd64.tar.gz"
curl -fsSL "https://get.helm.sh/${tarball}" -o "/tmp/${tarball}"
curl -fsSL "https://get.helm.sh/${tarball}.sha256sum" -o "/tmp/${tarball}.sha256sum"
(cd /tmp && sha256sum --check "${tarball}.sha256sum")
tar -xzf "/tmp/${tarball}" -C /tmp
mv /tmp/linux-amd64/helm /usr/local/bin/helm
rm -rf "/tmp/${tarball}" "/tmp/${tarball}.sha256sum" /tmp/linux-amd64
helm version --short
- name: CI Setup - Shared integration test setup
id: setup
uses: ./.github/actions/integration-test-setup
with:
vault-secret-mapping: ${{ inputs.vault-secret-mapping }}
distro-platform: ${{ inputs.distro-platform }}
auth-data: ${{ inputs.auth-data }}
deployment-ttl: ${{ env.CI_DEPLOYMENT_TTL }}
flow: ${{ inputs.flow }}
identifier: ${{ inputs.identifier }}
camunda-helm-dir: ${{ inputs.camunda-helm-dir }}
camunda-helm-upgrade-version: ${{ inputs.camunda-helm-upgrade-version }}
namespace-prefix: ${{ inputs.namespace-prefix }}
infra-type: ${{ inputs.infra-type }}
values-enterprise: ${{ inputs.values-enterprise }}
values-digest: ${{ inputs.values-digest }}
camunda-version-previous: ${{ inputs.camunda-version-previous }}
upgrade-step: "true"
env:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_ROLE_ID: ${{ secrets.VAULT_ROLE_ID }}
VAULT_SECRET_ID: ${{ secrets.VAULT_SECRET_ID }}
GH_APP_ID: ${{ secrets.GH_APP_ID_DISTRO_CI_MANAGE_GH_ENVS }}
GH_APP_KEY: ${{ secrets.GH_APP_PRIVATE_KEY_DISTRO_CI_MANAGE_GH_ENVS }}
ROSA_URL: ${{ secrets[inputs.server-url] }}
ROSA_USER: ${{ secrets[inputs.username] }}
ROSA_PASS: ${{ secrets[inputs.password] }}
DISTRO_CI_DOCKER_USERNAME_DOCKERHUB: ${{ secrets.DISTRO_CI_DOCKER_USERNAME_DOCKERHUB }}
DISTRO_CI_DOCKER_PASSWORD_DOCKERHUB: ${{ secrets.DISTRO_CI_DOCKER_PASSWORD_DOCKERHUB }}
##########################################################################################################
# Upgrade
##########################################################################################################
- name: Helm - Upgrade - Configure Helm with Entra Values
if: (inputs.auth == 'oidc' || inputs.test-identity == 'oidc') && inputs.values-config == '{}'
timeout-minutes: 5
env:
TEST_CHART_FLOW: ${{ inputs.flow }}
TEST_INGRESS_HOST: ${{ steps.setup.outputs.ingress-host }}
TEST_VALUES_SCENARIO: "${{ inputs.scenario }}"
TEST_AUTH_TYPE: ${{ inputs.auth }}
INFRA_TYPE: ${{ inputs.infra-type }}
EXTRA_VALUES: ${{ inputs.extra-values }}
# Selection + composition model environment variables (new - preferred)
TEST_IDENTITY: ${{ inputs.test-identity }}
TEST_PERSISTENCE: ${{ inputs.test-persistence }}
TEST_PLATFORM: ${{ inputs.test-platform || inputs.distro-platform }}
TEST_FEATURES: ${{ inputs.test-features }}
TEST_HELM_EXTRA_ARGS: >-
${{ env.TEST_HELM_EXTRA_ARGS }}
${{ steps.setup.outputs.legacy-ingress-arg }}
--set global.host=${{ steps.setup.outputs.ingress-host }}
run: |
echo "Extra values from workflow:"
echo "$EXTRA_VALUES" | tee /tmp/extra-values-file.yaml
cd ./scripts/deploy-camunda
go run . entra update-redirect-uris \
--ingress-host "$TEST_INGRESS_HOST" \
--log-level info
go run . entra ensure-venom-app \
--namespace "$TEST_NAMESPACE" \
--log-level info | tee /tmp/entra-output.txt
# Capture VENOM_CLIENT_ID and CONNECTORS_CLIENT_ID from Go CLI stdout.
grep '^VENOM_CLIENT_ID=' /tmp/entra-output.txt >> "$GITHUB_ENV"
grep '^CONNECTORS_CLIENT_ID=' /tmp/entra-output.txt >> "$GITHUB_ENV"
# NOTE: helm package + pre-upgrade scripts are handled by `deploy-camunda matrix run`.
# The runner deploys directly from the chart directory (no `helm package` needed) and
# auto-discovers per-version pre-upgrade scripts via versionmatrix.HasPreUpgradeScript.
- name: Cluster Setup - Upgrade - Configure TLS Certificates/Secrets
uses: ./.github/actions/cluster-setup-secrets
with:
distro-platform: ${{ inputs.distro-platform }}
chart-path: ${{ env.CHART_PATH }}
namespace: ${{ env.TEST_NAMESPACE }}
- name: Apply Vault mapped Secret
if: inputs.vault-secret-mapping != ''
run: |
kubectl -n "$TEST_NAMESPACE" apply -f /tmp/vault-mapped-secrets.yaml
- name: Helm - OCI Registry Login (Upgrade)
if: inputs.helmChartVersion != ''
run: |
printf '%s' "${TEST_DOCKER_PASSWORD_CAMUNDA_CLOUD}" | helm registry login registry.camunda.cloud \
--username "${TEST_DOCKER_USERNAME_CAMUNDA_CLOUD}" \
--password-stdin
- name: Helm - Upgrade - 🌟 Upgrade Camunda chart 🌟
env:
TEST_CHART_FLOW: ${{ inputs.flow }}
# CAMUNDA_HOSTNAME is required by layered values (e.g. base.yaml contains $CAMUNDA_HOSTNAME)
CAMUNDA_HOSTNAME: ${{ steps.setup.outputs.ingress-host }}
# License key for Camunda Platform.
E2E_TESTS_LICENSE_KEY: ${{ secrets.E2E_TESTS_LICENSE_KEY || env.E2E_TESTS_LICENSE_KEY }}
CAMUNDA_HELM_DIR: ${{ inputs.camunda-helm-dir }}
INFRA_TYPE: ${{ inputs.infra-type }}
# Selection + composition model environment variables.
TEST_IDENTITY: ${{ inputs.test-identity }}
TEST_PERSISTENCE: ${{ inputs.test-persistence }}
TEST_PLATFORM: ${{ inputs.test-platform || inputs.distro-platform }}
TEST_FEATURES: ${{ inputs.test-features }}
TEST_QA: ${{ inputs.test-qa }}
TEST_UPGRADE: ${{ inputs.test-upgrade }}
TEST_IMAGE_TAGS: ${{ inputs.include-image-tags }}
TEST_VALUES_SCENARIO: "${{ inputs.scenario }}"
VALUES_CONFIG: ${{ inputs.values-config }}
HELM_CHART_VERSION: ${{ inputs.helmChartVersion }}
run: |
set -euo pipefail
CHART_VERSION="${CAMUNDA_HELM_DIR#camunda-platform-}"
EXTRA_HELM_ARGS=()
if [[ -n "${E2E_TESTS_LICENSE_KEY:-}" ]]; then
LICENSE_FILE=/tmp/license-key.txt
printf '%s' "${E2E_TESTS_LICENSE_KEY}" > "$LICENSE_FILE"
if grep -q '@param global.license.key' "${{ env.CHART_PATH }}/values.yaml" 2>/dev/null; then
EXTRA_HELM_ARGS+=(--extra-helm-arg=--set-file=global.license.key="$LICENSE_FILE")
else
EXTRA_HELM_ARGS+=(--extra-helm-arg=--set-file=global.license.secret.inlineSecret="$LICENSE_FILE")
fi
fi
LEGACY_INGRESS_ARG="${{ steps.setup.outputs.legacy-ingress-arg }}"
if [[ -n "$LEGACY_INGRESS_ARG" ]]; then
# shellcheck disable=SC2206
LEGACY_TOKENS=($LEGACY_INGRESS_ARG)
for tok in "${LEGACY_TOKENS[@]}"; do
EXTRA_HELM_ARGS+=(--extra-helm-arg="$tok")
done
fi
# OCI chart override: when helmChartVersion is set, upgrade to the published
# OCI artifact instead of the local git chart directory. Step 1 (installing
# the previous version) still uses the Helm repo — only Step 2 uses the OCI ref.
CHART_REF_ARGS=()
if [[ -n "${HELM_CHART_VERSION:-}" ]]; then
CHART_REF_ARGS+=(--chart-ref "oci://registry.camunda.cloud/team-distribution/camunda-platform")
CHART_REF_ARGS+=(--chart-version "${HELM_CHART_VERSION}")
fi
# Image version source selection (same logic as install block above).
IMAGE_TAGS_ARGS=()
ENV_FILE_ARGS=()
if [[ "${TEST_IMAGE_TAGS:-true}" == "false" ]]; then
IMAGE_TAGS_ARGS=(--disable-image-tags)
elif [[ -n "${VALUES_CONFIG:-}" && "${VALUES_CONFIG}" != "{}" ]]; then
echo "${VALUES_CONFIG}" | jq -r 'to_entries[] | "\(.key)=\(.value)"' > /tmp/values-config.env
ENV_FILE_ARGS=(--env-file /tmp/values-config.env)
fi
cd ./scripts/deploy-camunda
go run . matrix run \
--repo-root "${GITHUB_WORKSPACE}" \
--include-disabled \
--scenario-filter "${{ inputs.scenario }}" \
--shortname-filter "${{ inputs.shortname }}" \
--shortname-exact \
--flow-filter "${{ inputs.flow }}" \
--versions "${CHART_VERSION}" \
--platform "${{ inputs.distro-platform }}" \
--namespace-override "${TEST_NAMESPACE}" \
--skip-dependency-update=false \
--timeout 20 \
--extra-helm-set "global.host=${{ steps.setup.outputs.ingress-host }}" \
${IMAGE_TAGS_ARGS[@]+"${IMAGE_TAGS_ARGS[@]}"} \
${ENV_FILE_ARGS[@]+"${ENV_FILE_ARGS[@]}"} \
${CHART_REF_ARGS[@]+"${CHART_REF_ARGS[@]}"} \
${EXTRA_HELM_ARGS[@]+"${EXTRA_HELM_ARGS[@]}"} \
--log-level info
- name: Display Docker Image Git Commits (Upgrade)
id: display-image-commits-upgrade
if: always()
continue-on-error: true
run: |
OUTPUT=$($GITHUB_WORKSPACE/scripts/list-chart-image-commits.sh)
echo "$OUTPUT"
echo "$OUTPUT" >> $GITHUB_STEP_SUMMARY
##########################################################################################################
# Misc
##########################################################################################################
- name: 🚨 Get failed Pods info 🚨
if: failure()
uses: ./.github/actions/failed-pods-info
playwright-e2e-tests-after-install:
name: Playwright e2e after install - ${{ inputs.flow }} on ${{ inputs.distro-platform }} - ${{ inputs.shortname }} (${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})
needs: [install]
runs-on: gcp-core-8-release
container:
image: ghcr.io/camunda/team-distribution/playwright-runner:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --ipc=host --user root
defaults:
run:
shell: bash
if: ${{ inputs.test-enabled && inputs.e2e-enabled && inputs.flow == 'install' && !inputs.skip-e2e }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
shardIndex: [1]
shardTotal: [1]
permissions:
contents: read
id-token: write
deployments: write
packages: read