Skip to content

Commit

Permalink
Save
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDallas committed Nov 30, 2023
1 parent 0f73dea commit f3cbc38
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/performance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,19 @@ jobs:
gsutil -q stat "${ARTIFACT_PATH}"
PATH_EXIST=$?
if [ ${PATH_EXIST} -eq 0 ]; then
echo "Artifact Already Exist"
echo "Artifact Ready"
break
else
echo "Sleep 2 minutes"
echo "Artifact not ready, wait 2 minutes"
sleep 2m
fi
done
done
echo "build-version=${ARTIFACT_NAME}" >>"${GITHUB_OUTPUT}"
- name: Reset Network
id: reset-network
run: |
curl -X POST 'https://ci.preprod.hedera-devops.com/generic-webhook-trigger/invoke?token=${{ secrets.JENKINS_NETWORK_RESET }}&command=/devops-reset&text=performance6%20${{ needs.release-adhoc.outputs.build-version }}&user_id=${{ vars.SLACK_ID }}&user_name=${{ vars.SLACK_USER }}&channel_id=${{ vars.DEVOP_CHANNEL_ID }}&channel_name=${{ vars.DEVOP_CHANNEL_NAME }}'
curl -X POST 'https://ci.preprod.hedera-devops.com/generic-webhook-trigger/invoke?token=${{ secrets.JENKINS_NETWORK_RESET }}&command=/devops-reset&text=performance6%20${{ steps.check-if-exist.outputs.build-version }}&user_id=${{ vars.SLACK_ID }}&user_name=${{ vars.SLACK_USER }}&channel_id=${{ vars.DEVOP_CHANNEL_ID }}&channel_name=${{ vars.DEVOP_CHANNEL_NAME }}'
echo "Sleep 10 minutes for network reset"
sleep 10m
Expand Down

0 comments on commit f3cbc38

Please sign in to comment.