pkgsite/deploy
Jonathan Amsterdam 71b0feb8eb tests/screentest: improve run.sh
- Use single-hyphen flags to conform to Go style.

- Remove unnecessary quotation.

- Minor shell style nits.

- Change the "local" case to run all components, instead of assuming
  that some are already running.

The last change makes the "local" case much more useful, and faster
than the "ci" case for local testing.

Change-Id: Id3412fac8bd4a29539563e3cc568a3c7edd06c2e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/626855
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-13 18:54:55 +00:00
..
README.md
build.sh
config.sh
deploy-env.yaml
deploy.yaml
frontend.sh
migrate.yaml
pagecheck.sh
prepare.sh
screentest.sh
sitemap.yaml
worker.sh

README.md

Deploy

The scripts in this directory are meant to be run as steps in Cloud Build.

See the Cloud Build triggers page for a list of available triggers.

deploy-env.yaml deploys the config, worker, and frontend for a single environment. The environment is configurable from the Cloud Build trigger execution page.

deploy.yaml deploys to staging, runs e2e tests, and if the tests pass, deploys to production.