Commit f648226
committed
deploy: add daily schedule for gotip playground
Create a scheduled trigger to deploy the gotip playground every
America/New_York morning. I attempted to create and manage the trigger
with gcloud alpha builds triggers create scheduled, however I had to create the
schedule portion manually in the web interface.
There's probably a way to manage it with configuration in the CLI, but I
added documentation to the Makefile on how to update it manually in the
meantime.
Create command:
gcloud alpha builds triggers create scheduled --project=golang-org \
--schedule="15 11 * * *" \
--time-zone="America/New_York" \
--build-config=deploy/deploy_gotip.json \
--repo-type="CLOUD_SOURCE_REPOSITORIES" \
--revision="refs/heads/master" \
--repo-uri="https://source.developers.google.com/p/golang-org/r/playground" \
--name "playground-deploy-gotip-playground" \
--description="Deploy gotip playground daily"
For golang/go#48517
Change-Id: I9d58e5a81ae4d590e6492c07cc71806864838c81
Reviewed-on: https://go-review.googlesource.com/c/playground/+/366634
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>1 parent 9187f21 commit f648226
File tree
3 files changed
+45
-0
lines changed- deploy
3 files changed
+45
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments