diff options
Diffstat (limited to 'scripts/trigger-build.rb')
-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 |