Created
March 10, 2023 14:26
-
-
Save rudolphjacksonm/010f6c1d67a10eaacf1610d4854c6f47 to your computer and use it in GitHub Desktop.
script for creating well-architected milestones
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
#!/bin/bash | |
set -euo pipefail | |
# assuming MILESTONE_NAME is passed in via release pipeline | |
source config/test_workload.env | |
source helpers/lib.sh | |
main() { | |
local milestoneName=$1 | |
local workloadId=$(get_workload_id "${WORKLOAD_NAME}") | |
check_milestone "${workloadId}" "${milestoneName}" | |
create_milestone "${workloadId}" "${milestoneName}" | |
} | |
main "${MILESTONE_NAME}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment