Skip to content

Commit

Permalink
fix: resolve commit ID in integ test script
Browse files Browse the repository at this point in the history
  • Loading branch information
clareliguori committed Feb 2, 2020
1 parent 3de962e commit 77f2df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_integ_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ACTION_GIT_COMMIT_ID=`git rev-parse HEAD`

# Update the integ test action workflow file with the latest action commit ID
git checkout integ-tests
sed -i 's|aws-actions/configure-aws-credentials@v1|aws-actions/configure-aws-credentials@$ACTION_GIT_COMMIT_ID|g' test-workflow.yml
sed -i "s|aws-actions/configure-aws-credentials@v1|aws-actions/configure-aws-credentials@$ACTION_GIT_COMMIT_ID|g" test-workflow.yml
mkdir -p .github/workflows
cp test-workflow.yml .github/workflows
git add .github/workflows
Expand All @@ -18,7 +18,7 @@ git push origin integ-tests

# Validate that the action workflow succeeds
# Exit codes: success = 0; failure = 1; pending = 2; no status = 3
while hub ci-status; [ $? -ge 2 ] do
while hub ci-status; [ $? -ge 2 ]; do
echo "waiting for test workflow to complete..."
sleep 5
done
Expand Down

0 comments on commit 77f2df7

Please sign in to comment.