@provider @git @deploy
Feature: Deploy
In order to repeatably and reliably deploy web apps from a source repository from the comfort of chef
As an OpsDev
I want to have automated deployments
Scenario: Deploy an app for the first time # features/provider/deploy/deploy.feature:8
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'deploy' # features/steps/node_steps.rb:30
And I have a clone of typo in the data/tmp dir # features/steps/deploy_steps.rb:1
When I run the chef-client # features/steps/run_client_steps.rb:22
Then the run should exit '0' # features/steps/run_client_steps.rb:104
And a file named 'deploy/shared' should exist # features/steps/file_steps.rb:39
And a file named 'deploy/shared/cached-copy/.git' should exist # features/steps/file_steps.rb:39
And a file named 'deploy/current/app' should exist # features/steps/file_steps.rb:39
And a file named 'deploy/current/config/database.yml' should exist # features/steps/file_steps.rb:39
And a file named 'deploy/current/db/production.sqlite3' should exist # features/steps/file_steps.rb:39
And a file named 'deploy/current/tmp/restart.txt' should exist # features/steps/file_steps.rb:39
Scenario: Deploy an app again # features/provider/deploy/deploy.feature:21
~ Loading role_test
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'deploy' # features/steps/node_steps.rb:30
And I have a clone of typo in the data/tmp dir # features/steps/deploy_steps.rb:1
When I run the chef-client # features/steps/run_client_steps.rb:22
And I run the chef-client again # features/steps/run_client_steps.rb:34
And there should be 'two' releases # features/steps/deploy_steps.rb:28
Scenario: Rollback an app # features/provider/deploy/deploy.feature:29
~ Loading role_test
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'deploy::rollback' # features/steps/node_steps.rb:30
When I run the chef-client # features/steps/run_client_steps.rb:22
Then there should be 'one' release # features/steps/deploy_steps.rb:28
@provider @git
Feature: Git
In order to use files stored in git so I can deploy apps and use edge versions of software
As a Developer
I want to clone and update git repositories
Scenario: Clone a git repo # features/provider/scm/git.feature:8
~ Loading role_test
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'scm::git' # features/steps/node_steps.rb:30
When I run the chef-client # features/steps/run_client_steps.rb:22
Then the run should exit '0' # features/steps/run_client_steps.rb:104
And a file named 'gitchef/.git' should exist # features/steps/file_steps.rb:39
And a file named 'gitchef/chef' should exist # features/steps/file_steps.rb:39
4 scenarios (4 passed)
27 steps (27 passed)
1m53.676s