Skip to content

Commit

Permalink
feat(vault): Migrate slack token (#30233)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz authored Oct 17, 2024
1 parent f87013d commit ba41512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ variables:
INSTALL_SCRIPT_API_KEY_ORG2: install-script-api-key-org-2 # agent-devx-infra
MACOS_GITHUB_APP_1: macos-github-app-one # agent-devx-infra
MACOS_GITHUB_APP_2: macos-github-app-two # agent-devx-infra
SLACK_AGENT: slack-agent-ci # agent-devx-infra
# End vault variables

DD_PKG_VERSION: "latest"
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/notify/notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ notify_gitlab_ci_changes:
timeout: 15 minutes # Added to prevent a stuck job blocking the resource_group defined above

.failure_summary_setup:
- SLACK_API_TOKEN=$($CI_PROJECT_DIR/tools/ci/fetch_secret.sh $SLACK_AGENT_CI_TOKEN) || exit $?; export SLACK_API_TOKEN
- SLACK_API_TOKEN=$($CI_PROJECT_DIR/tools/ci/fetch_secret.sh $SLACK_AGENT token) || exit $?; export SLACK_API_TOKEN
- GITLAB_TOKEN=$($CI_PROJECT_DIR/tools/ci/fetch_secret.sh $GITLAB_TOKEN read_api) || exit $?; export GITLAB_TOKEN
- DD_API_KEY=$($CI_PROJECT_DIR/tools/ci/fetch_secret.sh $AGENT_API_KEY_ORG2 token) || exit $?; export DD_API_KEY
- python3 -m pip install -r requirements.txt -r tasks/libs/requirements-notifications.txt
Expand Down

0 comments on commit ba41512

Please sign in to comment.