Method: Gitlab::QA::Component::SAML#start
- Defined in:
- lib/gitlab/qa/component/saml.rb
#start ⇒ Object
rubocop:disable Metrics/AbcSize
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/gitlab/qa/component/saml.rb', line 70 def start docker.run(SAML_IMAGE, SAML_IMAGE_TAG) do |command| command << '-d ' command << "--name #{name}" command << "--net #{network}" command << "--hostname #{hostname}" command << "--publish 8080:8080" command << "--publish 8443:8443" @volumes.to_h.each do |to, from| command.volume(to, from, 'Z') end @environment.to_h.each do |key, value| command.env(key, value) end @network_aliases.to_a.each do |network_alias| command << "--network-alias #{network_alias}" end end end |