generated from titan-data/template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #97
- Loading branch information
Eric Schrock
authored and
Derek Smart
committed
Dec 16, 2019
1 parent
8589a60
commit af5a877
Showing
12 changed files
with
142 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
tests: | ||
- "can launch postgres": | ||
command: titan run postgres | ||
- "can create commit with tag=one": | ||
command: titan commit -t tag=one postgres | ||
stdout: | ||
contains: Commit | ||
env: | ||
set: | ||
- COMMIT_ONE: | ||
split: | ||
delimiter: " " | ||
position: 1 | ||
- "can create commit with tag=two": | ||
command: titan commit -t tag=two postgres | ||
stdout: | ||
contains: Commit | ||
env: | ||
set: | ||
- COMMIT_TWO: | ||
split: | ||
delimiter: " " | ||
position: 1 | ||
- "can add s3 remote": | ||
command: titan remote add s3://titan-data-testdata/e2etest postgres | ||
- "can push tag=two": | ||
command: titan push -t tag=two postgres | ||
- "commit two exists in remote": | ||
command: titan remote log postgres | ||
stdout: | ||
contains: $COMMIT_TWO | ||
excludes: $COMMIT_ONE | ||
env: | ||
get: | ||
- COMMIT_ONE | ||
- COMMIT_TWO | ||
- "can push tag=one": | ||
command: titan push -t tag=one postgres | ||
- "commit one exists in remote": | ||
command: titan remote log postgres | ||
stdout: | ||
contains: $COMMIT_ONE | ||
env: | ||
get: | ||
- COMMIT_ONE | ||
- "can remove postgres": | ||
command: titan rm -f postgres | ||
- "can clone tag=one": | ||
command: titan clone -n postgres -- s3://titan-data-testdata/e2etest?tag=tag=one | ||
- "commit one exists locally": | ||
command: titan log postgres | ||
stdout: | ||
contains: $COMMIT_ONE | ||
env: | ||
get: | ||
- COMMIT_ONE | ||
- "can remove cloned postgres": | ||
command: titan rm -f postgres | ||
- "clone of non-existent tag fails": | ||
command: titan clone -n postgres2 -- s3://titan-data-testdata/e2etest?tag=tag=three | ||
exitValue: 1 | ||
- "can cleanup S3 assets": | ||
command: aws s3 rm s3://titan-data-testdata/e2etest --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters