-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Private CI/CD workflow improvements (#308)
* post deploy delay null bugfix Signed-off-by: Gordonby <[email protected]> * adding delay step * setting 2 min delay * resetting upgrade channel * trying backoff delay sleep * Update ByoVnetPrivateCI.yml
- Loading branch information
Gordon Byers
authored
Jun 24, 2022
1 parent
170329d
commit 067b474
Showing
3 changed files
with
19 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -279,7 +279,16 @@ jobs: | |
echo "::set-output name=LAWGUID::$LAWGUID" | ||
- name: Post Deploy Delay | ||
run: sleep ${{ github.event.inputs.postDeployDelay }} | ||
run: | | ||
if [ -z "${{ github.event.inputs.postDeployDelay }}" ] | ||
then | ||
echo "postDeployDelay parameter not available through GitHub event data, setting default" | ||
DELAY="30s" | ||
else | ||
echo "postDeployDelay parameter found in GitHub event (${{ github.event.inputs.region }})" | ||
DELAY="${{ github.event.inputs.postDeployDelay }}" | ||
fi | ||
sleep $DELAY | ||
- name: Enable AGIC Addon | ||
uses: Azure/[email protected] | ||
|
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