Skip to content

Commit 1852500

Browse files
committed
blog, go.dev, tour: update deployment instructions
Automatic deployment is now enabled for these web sites. (But not yet for golang.org. Waiting on the pending CLs for better testing.) Change-Id: I19a690d6354f83601be355b1eb5ca8003efd911a Reviewed-on: https://go-review.googlesource.com/c/website/+/324410 Trust: Russ Cox <[email protected]> Run-TryBot: Russ Cox <[email protected]> Website-Publish: Russ Cox <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 59d9e0e commit 1852500

File tree

3 files changed

+15
-40
lines changed

3 files changed

+15
-40
lines changed

blog/README.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,10 @@ subject line, so it is easy to find.
4343

4444
## Deploying
4545

46-
The Google Cloud project triggers a fresh deploy of the blog on each submit
47-
but that deployment is published to a temporary URL.
46+
Each time a CL is reviewed and submitted, the blog is automatically redeployed to
47+
https://blog.golang.org/.
4848

49-
To publish the blog to blog.golang.org, you need access to the
50-
Cloud Console for the golang-org project.
51-
Then:
49+
If the automatic redeploy is not working, or to check on the status of a redeploy,
50+
see the “website-redeploy-blog” trigger in the
51+
[Cloud Build console](https://console.cloud.google.com/cloud-build/builds?project=golang-org).
5252

53-
1. Visit the
54-
[builds list](https://console.cloud.google.com/cloud-build/builds?project=golang-org&query=trigger_id%3D%22c99674d3-32c1-4aec-ade4-ae2d5a844369%22)
55-
and click on the build hash for the most recent build
56-
with trigger name “Redeploy-blog-on-blog-commit”.
57-
58-
Scrolling to the bottom of the build log, you will find a URL in a log message like
59-
60-
Deployed service [blog] to [https://TEMPORARYURL.appspot.com]
61-
62-
2. Copy that URL and load it in your browser. Check that it looks OK.
63-
64-
3. Assuming it does, visit the
65-
[AppEngine versions list](https://console.cloud.google.com/appengine/versions?project=golang-org&serviceId=blog).
66-
Click “Migrate Traffic” on the new entry to move 100% of the blog.golang.org
67-
traffic to the new version.
68-
69-
4. You're done.

go.dev/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ To serve the go.dev pages, run
1313

1414
## Deploying
1515

16-
All commits pushed to `master` will be automatically deployed to https://go.dev.
16+
Each time a CL is reviewed and submitted, the web site is automatically redeployed to
17+
https://go.dev/.
1718

18-
For now moment, the deployment is not automatic. Instead, after submitting,
19-
visit the [Cloud Build triggers list](https://console.cloud.google.com/cloud-build/triggers?project=go-discovery),
20-
find the one named “Redeploy-go-dev-on-website-commit”, which should say “Disabled” in the status column,
21-
and then click “RUN”.
19+
If the automatic redeploy is not working, or to check on the status of a redeploy,
20+
see the “website-redeploy-go-dev” trigger in the
21+
[Cloud Build console](https://console.cloud.google.com/cloud-build/builds?project=golang-org).
2222

2323
## Commands
2424

tour/README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,13 @@ at https://github.com/golang/tour/issues.
4343

4444
## Deploying
4545

46-
1. To deploy tour.golang.org, run:
46+
Each time a CL is reviewed and submitted, the tour is automatically redeployed to
47+
https://tour.golang.org/.
4748

48-
```
49-
GO111MODULE=on gcloud --project=golang-org app deploy --no-promote app.yaml
50-
```
49+
If the automatic redeploy is not working, or to check on the status of a redeploy,
50+
see the “website-redeploy-tour” trigger in the
51+
[Cloud Build console](https://console.cloud.google.com/cloud-build/builds?project=golang-org).
5152

52-
This will create a new version, which can be viewed within the
53-
[golang-org GCP project](https://console.cloud.google.com/appengine/versions?project=golang-org&serviceId=tour).
54-
55-
2. Check that the deployed version looks OK (click the version link in GCP).
56-
57-
3. If all is well, click "Migrate Traffic" to move 100% of the tour.golang.org
58-
traffic to the new version.
59-
60-
4. You're done.
6153

6254
## License
6355

0 commit comments

Comments
 (0)