Sha256: a22edbb9ec88c16e6cdee595ed6d72b3160eb62efb056662b9f9eb0a4c39b8e8

Contents?: true

Size: 1.48 KB

Versions: 66

Compression:

Stored size: 1.48 KB

Contents

When /^I get the containers status with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(status -n test-server))
end

When /^I get the containers ssh-config with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(ssh-config -n test-server))
end

When /^I up the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(up -n test-server))
end

When /^I down the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(down -n test-server))
end

When /^I put the containers in a ephemeral state with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(ephemeral -n test-server))
end

When /^I put the containers in a persistent state with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(persistent -n test-server))
end

When /^I build the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(build -n test-server))
end

When /^I bounce the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(bounce -n test-server))
end

When /^I recycle the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(recycle -n test-server))
end

When /^I export the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(export -n test-server --output=/tmp/test-server.sc))
end

When /^I import the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(import -n test-server --input=/tmp/test-server.sc))
end

def container_cmd(app_name, *args)
  testlab_cmd(app_name, [%(container), args].flatten)
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
testlab-1.22.4 features/step_definitions/container_steps.rb
testlab-1.22.3 features/step_definitions/container_steps.rb
testlab-1.22.2 features/step_definitions/container_steps.rb
testlab-1.22.1 features/step_definitions/container_steps.rb
testlab-1.22.0 features/step_definitions/container_steps.rb
testlab-1.21.1 features/step_definitions/container_steps.rb
testlab-1.21.0 features/step_definitions/container_steps.rb
testlab-1.20.6 features/step_definitions/container_steps.rb
testlab-1.20.5 features/step_definitions/container_steps.rb
testlab-1.20.4 features/step_definitions/container_steps.rb
testlab-1.20.3 features/step_definitions/container_steps.rb
testlab-1.20.2 features/step_definitions/container_steps.rb
testlab-1.20.1 features/step_definitions/container_steps.rb
testlab-1.20.0 features/step_definitions/container_steps.rb
testlab-1.19.0 features/step_definitions/container_steps.rb
testlab-1.18.1 features/step_definitions/container_steps.rb
testlab-1.18.0 features/step_definitions/container_steps.rb
testlab-1.17.0 features/step_definitions/container_steps.rb
testlab-1.16.1 features/step_definitions/container_steps.rb
testlab-1.16.0 features/step_definitions/container_steps.rb