diff options
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 |