Skip to content

Commit 2294add

Browse files
Send file parameter to compose sub command
1 parent 0c93055 commit 2294add

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/e2e.frontend.yaml

+2-14
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,8 @@ on:
44
# paths:
55
# - 'frontend/**'
66
jobs:
7-
get-token:
8-
runs-on: ubuntu-latest
9-
outputs:
10-
token: ${{ steps.get-token.outputs.token }}
11-
steps:
12-
- uses: actions/checkout@v2
13-
- name: Get Token
14-
id: get-token
15-
run: |
16-
echo "token=$(curl https://app.unleash-hosted.com/docker-login/token/${{ secrets.ECR_ENTERPRISE_TOKEN }})" >> $GITHUB_OUTPUT
17-
187
e2e:
198
runs-on: ubuntu-latest
20-
needs: get-token
219
strategy:
2210
matrix:
2311
test:
@@ -35,8 +23,8 @@ jobs:
3523
uses: actions/checkout@v4
3624
- name: Start Unleash test instance
3725
run: |
38-
echo ${{ needs.get-token.outputs.token }} | docker login --username AWS --password-stdin 726824350591.dkr.ecr.eu-central-1.amazonaws.com
39-
docker compose up -f .github/docker-compose.test.yml -d --wait -t 90
26+
curl https://app.unleash-hosted.com/docker-login/token/${{ secrets.ECR_ENTERPRISE_TOKEN }} | docker login --username AWS --password-stdin 726824350591.dkr.ecr.eu-central-1.amazonaws.com
27+
docker compose -f .github/docker-compose.test.yml up -d --wait -t 90
4028
env:
4129
FRONTEND_TEST_LICENSE: ${{ secrets.FRONTEND_TEST_LICENSE }}
4230
- name: Run Cypress

0 commit comments

Comments
 (0)