mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
44d07c4b82
An alternative approach to #822 - this allows the setting of a single `git_strategy` variable which can be set to `:archive` (the default, as it is the current functionality) or `:clone` which includes the `--recursive` flag in order to support submodules.
11 lines
333 B
Gherkin
11 lines
333 B
Gherkin
Feature: Deploy via clone
|
|
|
|
Background:
|
|
Given a test app with git clone configuration
|
|
And servers with the roles app and web
|
|
|
|
Scenario: Creating a release
|
|
Given I run cap "deploy:check:directories"
|
|
When I run cap "git:create_release" as part of a release
|
|
Then the repo is cloned
|
|
And the release is created
|