cmd/golangorg: specify region in Cloud Build URLs explicitly

The GCP web UI remembers region selection across different visits.
If a user picks another region in another context, these links may
display a misleading page that doesn't show all intended build
history and trigger entries.

Explicitly include the region as global (non-regional) in the URL
to remove that pitfall and make the links more predictable.

Change-Id: Ie540853ef54bcfb253b28c492bbf56b251db28aa
Reviewed-on: https://go-review.googlesource.com/c/website/+/398536
Trust: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
This commit is contained in:
Dmitri Shuralyov 2022-04-05 17:19:53 -04:00 коммит произвёл Dmitri Shuralyov
Родитель d7134f9a80
Коммит a3d868e5e5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -43,4 +43,4 @@ Whether it passes or not, the new deployment can be found in the
If the automatic deployment is not working, or to check on the status of a pending deployment,
see the “website-redeploy-golang-org” trigger in the
[Cloud Build console](https://console.cloud.google.com/cloud-build/builds?project=golang-org&query=trigger_id%3D%222399003e-0cc5-4877-86de-8bc8f13fd984%22).
[Cloud Build console](https://console.cloud.google.com/cloud-build/builds;region=global?project=golang-org&query=trigger_id%3D%222399003e-0cc5-4877-86de-8bc8f13fd984%22).

Просмотреть файл

@ -1,5 +1,5 @@
# This Cloud Build file is run automatically when commits land in the website repo.
# See https://console.cloud.google.com/cloud-build/triggers?project=golang-org.
# See https://console.cloud.google.com/cloud-build/triggers;region=global?project=golang-org.
# Do not run directly.
steps: