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.8.2 features/step_definitions/container_steps.rb
testlab-1.8.1 features/step_definitions/container_steps.rb
testlab-1.8.0 features/step_definitions/container_steps.rb
testlab-1.7.1 features/step_definitions/container_steps.rb
testlab-1.7.0 features/step_definitions/container_steps.rb
testlab-1.6.6 features/step_definitions/container_steps.rb
testlab-1.6.5 features/step_definitions/container_steps.rb
testlab-1.6.4 features/step_definitions/container_steps.rb
testlab-1.6.3 features/step_definitions/container_steps.rb
testlab-1.6.2 features/step_definitions/container_steps.rb
testlab-1.6.1 features/step_definitions/container_steps.rb
testlab-1.6.0 features/step_definitions/container_steps.rb
testlab-1.5.1 features/step_definitions/container_steps.rb
testlab-1.5.0 features/step_definitions/container_steps.rb
testlab-1.4.4 features/step_definitions/container_steps.rb
testlab-1.4.3 features/step_definitions/container_steps.rb
testlab-1.4.2 features/step_definitions/container_steps.rb
testlab-1.4.1 features/step_definitions/container_steps.rb
testlab-1.4.0 features/step_definitions/container_steps.rb
testlab-1.3.2 features/step_definitions/container_steps.rb