Skip to content
代码片段 群组 项目
未验证 提交 29054488 编辑于 作者: Dan Davison's avatar Dan Davison 提交者: GitLab
浏览文件

Merge branch 'shl-remove-default-value-for-elastic-search-e2e-tests' into 'master'

Remove default value for ELASTIC_URL to avoid accidentally updating staging

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/179492



Merged-by: default avatarDan Davison <ddavison@gitlab.com>
Approved-by: default avatarDan Davison <ddavison@gitlab.com>
Approved-by: default avatarArturo Herrero <arturo.herrero@gmail.com>
Co-authored-by: default avatarSanad Liaquat (Personal) <sliaquat@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -253,6 +253,7 @@ elasticsearch:
extends: .qa
variables:
QA_SCENARIO: "Test::Integration::Elasticsearch"
ELASTIC_URL: "http://elastic68:9200"
before_script:
- !reference [.qa, before_script]
rules:
......
......@@ -22,7 +22,9 @@ def simple_saml_fingerprint
end
def elasticsearch_url
ENV.fetch('ELASTIC_URL', 'http://elastic68:9200')
ENV.fetch('ELASTIC_URL')
rescue KeyError
raise 'Please provide ELASTIC_URL for the environment you are running the tests'
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册