Skip to content

Commit

Permalink
feat(secret): Prevent useless usage of Gitlab token
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Oct 16, 2024
1 parent 19c2807 commit 08ed25a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitlab/e2e/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ generate-flakes-finder-pipeline:
- qa_agent_ot
tags: ["arch:amd64"]
script:
- GITLAB_TOKEN=$($CI_PROJECT_DIR/tools/ci/fetch_secret.sh $GITLAB_FULL_API_TOKEN) || exit $?; export GITLAB_TOKEN
- inv -e testwasher.generate-flake-finder-pipeline
artifacts:
paths:
Expand Down
2 changes: 1 addition & 1 deletion tasks/testwasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def generate_flake_finder_pipeline(ctx, n=3):
"""

# Read gitlab config
config = resolve_gitlab_ci_configuration(ctx, ".gitlab-ci.yml")
config = resolve_gitlab_ci_configuration(ctx, ".gitlab-ci.yml", with_lint=False)

# Lets keep only variables and jobs with flake finder variable
kept_job = {}
Expand Down

0 comments on commit 08ed25a

Please sign in to comment.