To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorrbld checkout
As a CLI user
I want to be able to discard environment modifications with rbld checkout
- Background
-
- Given
-
existing environments:
test-env:initial test-env:v001
- Scenarios
-
- checkout help succeeds and usage is printed
- checkout of non-existing environment
- checkout of existing environment
- checkout help succeeds and usage is printed
-
- Given
- I successfully request help for rbld checkout
- Then
-
help output should contain:
Discard environment modifications
- checkout of non-existing environment
-
- When
-
I run
rbld checkout environment name
- Then
-
it should fail with:
ERROR: Unknown environment full environment name
Examples: environment name full environment name nonexisting nonexisting:initial nonexisting:sometag nonexisting:sometag - checkout of existing environment
-
- Given
- environment test-env:v001 is modified or not modified
- When
-
I run
rbld checkout test-env:v001
- Then
- it should pass with empty output
- And
- environment test-env:v001 should not be marked as modified
Examples: modified or not modified modified not modified
Last published almost 5 years ago by Rebuild.