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.15.1 features/step_definitions/container_steps.rb
testlab-1.15.0 features/step_definitions/container_steps.rb
testlab-1.14.0 features/step_definitions/container_steps.rb
testlab-1.13.0 features/step_definitions/container_steps.rb
testlab-1.12.0 features/step_definitions/container_steps.rb
testlab-1.11.7 features/step_definitions/container_steps.rb
testlab-1.11.6 features/step_definitions/container_steps.rb
testlab-1.11.5 features/step_definitions/container_steps.rb
testlab-1.11.4 features/step_definitions/container_steps.rb
testlab-1.11.3 features/step_definitions/container_steps.rb
testlab-1.11.2 features/step_definitions/container_steps.rb
testlab-1.11.1 features/step_definitions/container_steps.rb
testlab-1.11.0 features/step_definitions/container_steps.rb
testlab-1.10.0 features/step_definitions/container_steps.rb
testlab-1.9.2 features/step_definitions/container_steps.rb
testlab-1.9.1 features/step_definitions/container_steps.rb
testlab-1.9.0 features/step_definitions/container_steps.rb
testlab-1.8.5 features/step_definitions/container_steps.rb
testlab-1.8.4 features/step_definitions/container_steps.rb
testlab-1.8.3 features/step_definitions/container_steps.rb