Method: Gitlab::QA::Component::Base#prepare_network

Defined in:
lib/gitlab/qa/component/base.rb

#prepare_networkObject



84
85
86
87
88
89
90
# File 'lib/gitlab/qa/component/base.rb', line 84

def prepare_network
  prepare_airgapped_network
  prepare_runner_network
  return if docker.network_exists?(network)

  docker.network_create(network)
end