diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-25 15:12:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-25 15:12:11 +0000 |
commit | 82c63f420c7fc2229a44aa336d656a9712884f83 (patch) | |
tree | 7ae316f671e194adcbc7712e853e5397bf161a36 /scripts/api | |
parent | e5d3d8c323872cb5dee33c5388b3157294c30343 (diff) | |
download | gitlab-ce-82c63f420c7fc2229a44aa336d656a9712884f83.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/api')
-rw-r--r-- | scripts/api/default_options.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/api/default_options.rb b/scripts/api/default_options.rb index 70fb9683733..d10666e3a68 100644 --- a/scripts/api/default_options.rb +++ b/scripts/api/default_options.rb @@ -9,3 +9,10 @@ module API endpoint: ENV['CI_API_V4_URL'] || 'https://gitlab.com/api/v4' }.freeze end + +module Host + DEFAULT_OPTIONS = { + instance_base_url: ENV['CI_SERVER_URL'], + mr_id: ENV['CI_MERGE_REQUEST_ID'] + }.freeze +end |