[cft] Update comment when deployment is available (#139558)

* [cft] Update comment when deployment is available

Currently cloud deployment are linked to after the entire CI run.  Cloud
deployments typically finish early, so this provides a notification as
soon as the deployment is available.

* newline

* fix id
This commit is contained in:
Jonathan Budzenski 2022-08-26 17:34:15 -04:00 committed by GitHub
parent 659d664f01
commit f4dafd4eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,3 +134,4 @@ cat << EOF | buildkite-agent annotate --style "info" --context cloud
EOF
buildkite-agent meta-data set pr_comment:deploy_cloud:head "* [Cloud Deployment](${CLOUD_DEPLOYMENT_KIBANA_URL})"
buildkite-agent meta-data set pr_comment:early_comment_job_id "$BUILDKITE_JOB_ID"