Skip to content

Commit

Permalink
Uploading vcr cassettes (#908)
Browse files Browse the repository at this point in the history
Merged PR #908.
  • Loading branch information
slevenick authored and modular-magician committed Nov 14, 2018
1 parent 06c5853 commit a6dc00e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/acceptance-tests/inspec-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ set +e

for i in {1..30}
do
# Cleanup cassettes folder each time, we don't want to use a recorded cassette if it records an unauthorized response
rm -r inspec-cassettes
inspec exec inspec-mm --attrs=attributes/attributes.yaml -t gcp2://
if [ "$?" -eq "0" ]; then
# Upload cassettes to storage bucket for unit test use
gsutil cp inspec-cassettes/* gs://magic-modules-inspec-bucket/inspec-cassettes
exit 0
fi
done
Expand Down
1 change: 1 addition & 0 deletions .ci/ci.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ jobs:
method: squash
commit_msg: mm-output/commit_message
- name: inspec-integration-test
serial: true
plan:
- get: magic-modules-new-prs
- task: inspec-integration
Expand Down

0 comments on commit a6dc00e

Please sign in to comment.