Skip to content

Commit

Permalink
fix: gitlab license as env
Browse files Browse the repository at this point in the history
  • Loading branch information
omri2001 committed Dec 24, 2024
1 parent 32436ce commit 23cf48c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ permissions:

jobs:
gitlab-e2e-env:
env:
GITLAB_LICENSE: ${{ secrets.GITLAB_LICENSE }}
name: Gitlab E2E Tests (on development)
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down Expand Up @@ -53,7 +55,7 @@ jobs:
make init-argo-workflows
- name: install gitlab
run: |
tokens=$(make init-gitlab ${{ secrets.GITLAB_LICENSE }} | tail -n1)
tokens=$(make init-gitlab | tail -n1)
GROUP_TOKEN=$(echo "$tokens" | grep -oP "(?<=GROUP_TOKEN )\S+")
echo "GITLAB_TOKEN=$GROUP_TOKEN" >> $GITHUB_ENV
- name: Build Docker Image
Expand Down

0 comments on commit 23cf48c

Please sign in to comment.