Module: Gitlabci::Bundle::Update::Mr

Defined in:
lib/gitlabci/bundle/update/mr.rb,
lib/gitlabci/bundle/update/mr/client.rb,
lib/gitlabci/bundle/update/mr/version.rb

Defined Under Namespace

Classes: Client, Error, MissingKeyError, NotFoundUserError

Constant Summary collapse

VERSION =
"5.0.0".freeze

Class Method Summary collapse

Class Method Details

.assert_env_keysObject



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/gitlabci/bundle/update/mr.rb', line 19

def self.assert_env_keys
  %w[
    OCTOKIT_ACCESS_TOKEN
    GITLAB_API_ENDPOINT
    GITLAB_API_PRIVATE_TOKEN
    CI_PROJECT_PATH
    CI_COMMIT_REF_NAME
  ].each do |key|
    assert_env_key(key)
  end
end