Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-08 15:09:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-08 15:09:28 +0300
commit61cf5b32c5a6a3982a704d33e72ea9b391a3b04d (patch)
treec35de1f864996c71e7b31909c503772283ef403d /scripts
parent5bd8b9d24f16a0b9773c55cd0680ed98d345b07c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trigger-build.rb5
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