ci(ui): pass E2E AWS credentials through env vars (#12864)

This commit is contained in:
César Arroba
2026-09-22 10:42:40 +02:00
committed by GitHub
parent 79da676c86
commit 94899e20fd
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -11,6 +11,7 @@ on:
- "v5.*"
paths:
- ".github/workflows/ui-e2e-tests-v2.yml"
- ".github/workflows/test-impact-analysis.yml"
- ".github/test-impact.yml"
- "ui/**"
- "api/**" # API changes can affect UI E2E
@@ -237,8 +238,8 @@ jobs:
- name: Add AWS credentials for testing
run: |
echo "AWS_ACCESS_KEY_ID=${{ secrets.E2E_AWS_PROVIDER_ACCESS_KEY }}" >> .env
echo "AWS_SECRET_ACCESS_KEY=${{ secrets.E2E_AWS_PROVIDER_SECRET_KEY }}" >> .env
echo "AWS_ACCESS_KEY_ID=${E2E_AWS_PROVIDER_ACCESS_KEY}" >> .env
echo "AWS_SECRET_ACCESS_KEY=${E2E_AWS_PROVIDER_SECRET_KEY}" >> .env
- name: Build API image from current code
# docker-compose.yml references prowlercloud/prowler-api:latest from the registry,
@@ -0,0 +1 @@
Pass the E2E AWS credentials to the UI E2E workflow through environment variables instead of template expansion