sourcegraph/dev/ci/annotate-cloud-ephemeral.sh
William Bezuidenhout f7fb02e0e3
sg+ci: cloud ephemeral annotation (#62489)
* force cloud ephemeral run

* invoke cloud ephemeral annotation

* do not actually push stuff

* update annotation

* use emoji syntax

* fixup

fix wording

* remove debugging
2024-05-07 17:57:54 +02:00

21 lines
652 B
Bash
Executable File

#!/usr/bin/env bash
VERSION=$1
cat <<EOF | buildkite-agent annotate --style=info --context=cloud-ephemeral
<div class="flex">
<div>
Images in this build will be pushed to the Cloud Ephemeral registry with the following tag/version
<pre class="term">$VERSION</pre>
<div>
You can deploy this version to a Cloud Ephemeral envirionment by running
<pre class="term">sg cloud deploy --version "$VERSION"</pre>
Or you can upgrade an existing Cloud Ephemeral deployment by running
<pre class="term">sg cloud upgrade --version "$VERSION"</pre>
</div>
</div>
<div class="ml-auto">
:gcp: Cloud Ephemeral
</div>
EOF