sourcegraph/dev/ci/annotate-cloud-ephemeral.sh

21 lines
660 B
Bash
Raw Permalink Normal View History

#!/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 eph deploy --version "$VERSION"</pre>
Or you can upgrade an existing Cloud Ephemeral deployment by running
<pre class="term">sg cloud eph upgrade --version "$VERSION"</pre>
</div>
</div>
<div class="ml-auto">
:gcp: Cloud Ephemeral
</div>
EOF