diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-08 15:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-08 15:09:28 +0300 |
commit | 61cf5b32c5a6a3982a704d33e72ea9b391a3b04d (patch) | |
tree | c35de1f864996c71e7b31909c503772283ef403d /scripts | |
parent | 5bd8b9d24f16a0b9773c55cd0680ed98d345b07c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trigger-build.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/trigger-build.rb b/scripts/trigger-build.rb index 28b52fa916a..57cc6a8551e 100755 --- a/scripts/trigger-build.rb +++ b/scripts/trigger-build.rb @@ -382,9 +382,10 @@ module Trigger private def ops_gitlab_client + # No access token is needed here - we only use this client to trigger pipelines, + # and the trigger token authenticates the request to the pipeline @ops_gitlab_client ||= Gitlab.client( - endpoint: 'https://ops.gitlab.net/api/v4', - private_token: ENV['GITLABCOM_DATABASE_TESTING_ACCESS_TOKEN'] + endpoint: 'https://ops.gitlab.net/api/v4' ) end |