-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Goss Tests to hermes images (#6)
* First pass at adding tests * Adding tests * Adding working directory * Update path * Store test results * Send junit results to report * Make the reports directory * Update path for store results * Strip off the first couple non-xml lines * Adding tests for hermes:terraform * Store tests in home dir, and output to TAG subdir * Remember to make the reports dir * Change store reports dir * I don't care about versions of packages * Updated circle to tests all builds Added goss tests for all builds as well as updated docs * Store results and fixed run_tests * Debug output * Removed files sizes and added second run * Update GOSS_PATH env var Trying to cleanup the circle config * Adding second runs This should make viewing in circleci easier * Forcing a test failure Want to test to make sure no images get pushed * outputing to junit doesn't seem useful It doesn't store the result of the failed test... so why bother? * trying doc format * Fix failing tests * remove GOSS_OPTS * Adding back GOSS_OPT * Revert "Adding back GOSS_OPT" This reverts commit 0c0539b. * Adding echo for debug * remove comment lines * remove comments * Add failing tests * Revert "Add failing tests" This reverts commit 4bf252c. * removing store_test_results * moving GOSS_FILES_STRATEGY to circle config * Cleanup of Circle Config
- Loading branch information
1 parent
01a64bd
commit e135591
Showing
7 changed files
with
184 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
reports |
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,31 @@ | ||
file: | ||
/opt/hermes/bin/get-consul-htpasswd: | ||
exists: true | ||
mode: "0755" | ||
size: 699 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/get-consul-http-auth: | ||
exists: true | ||
mode: "0755" | ||
size: 647 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/terraform: | ||
exists: true | ||
mode: "0775" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/tflint: | ||
exists: true | ||
mode: "0755" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] |
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 @@ | ||
reports |
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,80 @@ | ||
file: | ||
/opt/hermes/bin/consul: | ||
exists: true | ||
mode: "0755" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/dgoss: | ||
exists: true | ||
mode: "0755" | ||
size: 3801 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/dudewheresmy: | ||
exists: true | ||
mode: "0755" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/get-iam-auth: | ||
exists: true | ||
mode: "0755" | ||
size: 977 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/goss: | ||
exists: true | ||
mode: "0755" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/install-hermes-deps: | ||
exists: true | ||
mode: "0755" | ||
size: 267 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/lease-revoke: | ||
exists: true | ||
mode: "0755" | ||
size: 427 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/set-vault-token: | ||
exists: true | ||
mode: "0755" | ||
size: 728 | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
/opt/hermes/bin/vault: | ||
exists: true | ||
mode: "0755" | ||
owner: root | ||
group: root | ||
filetype: file | ||
contains: [] | ||
package: | ||
bash: | ||
installed: true | ||
curl: | ||
installed: true | ||
git: | ||
installed: true | ||
jq: | ||
installed: true | ||
openssh: | ||
installed: true |
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