Skip to content

Commit 47d6c35

Browse files
committed
fix: e2e tests env vars
Signed-off-by: Marcel Dias <marcel.dias@camunda.com>
1 parent c1c02b8 commit 47d6c35

File tree

1 file changed

+1
-33
lines changed
  • .github/actions/internal-camunda-chart-tests

1 file changed

+1
-33
lines changed

.github/actions/internal-camunda-chart-tests/action.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -846,17 +846,7 @@ runs:
846846
# Base URLs
847847
cat > "$ENV_FILE" << EOF
848848
# Camunda Platform URLs
849-
AUTH_URL=https://${CAMUNDA_DOMAIN}/auth/realms/camunda-platform/protocol/openid-connect/token
850849
OAUTH_URL=https://${CAMUNDA_DOMAIN}/auth/realms/camunda-platform/protocol/openid-connect/token
851-
CONSOLE_BASE_URL=https://${CAMUNDA_DOMAIN}/console
852-
KEYCLOAK_BASE_URL=https://${CAMUNDA_DOMAIN}/auth
853-
IDENTITY_BASE_URL=https://${CAMUNDA_DOMAIN}/identity
854-
OPERATE_BASE_URL=https://${CAMUNDA_DOMAIN}/operate
855-
OPTIMIZE_BASE_URL=https://${CAMUNDA_DOMAIN}/optimize
856-
TASKLIST_BASE_URL=https://${CAMUNDA_DOMAIN}/orchestration/tasklist
857-
CONNECTORS_BASE_URL=https://${CAMUNDA_DOMAIN}/connectors
858-
ZEEBE_GATEWAY_GRPC=${CAMUNDA_DOMAIN_GRPC:-${CAMUNDA_DOMAIN}:443}
859-
ZEEBE_GATEWAY_REST=https://${CAMUNDA_DOMAIN}/zeebe
860850
861851
# Login paths
862852
CONSOLE_LOGIN_PATH=/login
@@ -869,34 +859,12 @@ runs:
869859
# Authentication
870860
TEST_AUTH_TYPE=${TEST_AUTH_TYPE}
871861
TEST_CLIENT_ID=${TEST_CLIENT_ID}
872-
DISTRO_QA_E2E_TESTS_KEYCLOAK_CLIENTS_SECRET=${TEST_CLIENT_SECRET}
873862
TASKLIST_VERSION=v2
874863
PLAYWRIGHT_BASE_URL=https://${CAMUNDA_DOMAIN}
875864
CLUSTER_VERSION=${CAMUNDA_VERSION}
876-
C8_USERNAME=admin
865+
DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_USERNAME=admin
877866
EOF
878867
879-
# Fetch service client secrets from the cluster
880-
echo "🔑 Fetching service client secrets..."
881-
882-
for svc in CONNECTORS OPTIMIZE ORCHESTRATION; do
883-
secret=$(kubectl -n "$TEST_NAMESPACE" \
884-
get secret integration-test-credentials \
885-
-o jsonpath="{.data.identity-${svc,,}-client-token}" 2>/dev/null | base64 -d 2>/dev/null || \
886-
kubectl -n "$TEST_NAMESPACE" \
887-
get secret "${CAMUNDA_RELEASE_NAME}-credentials" \
888-
-o jsonpath="{.data.identity-${svc,,}-client-token}" 2>/dev/null | base64 -d 2>/dev/null || \
889-
echo "")
890-
891-
if [[ -n "$secret" ]]; then
892-
echo "::add-mask::$secret"
893-
echo "PLAYWRIGHT_VAR_${svc}_CLIENT_SECRET=${secret}" >> "$ENV_FILE"
894-
else
895-
echo "⚠️ Could not fetch secret for $svc, using test-client-secret"
896-
echo "PLAYWRIGHT_VAR_${svc}_CLIENT_SECRET=${TEST_CLIENT_SECRET}" >> "$ENV_FILE"
897-
fi
898-
done
899-
900868
# Fisrt user credentials
901869
firstuser_password=$(kubectl -n "$TEST_NAMESPACE" \
902870
get secret camunda-credentials \

0 commit comments

Comments
 (0)