Skip to content

Add JH_ENV as the switch in env.rb

Tao Heng requested to merge gitlab-jh/jh-team/gitlab-qa:qa/add_jh_env into master

What does this MR do and why?

What: Add JH_ENV as switch in env.rb
Why: We need to add new logic on JH side; I think the env variable should be a good switch about JH logic.
For example, in update.rb.

type = current_release.ee? ? 'ee' : 'ce'

This is no ce edition on JH side, we may add an if expression for JH logic here.

Describe in detail what your merge request does and why.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

/cc @daveliu

Edited by Tao Heng

Merge request reports

Loading