tfjs-website/test-scripts/cloud_funcs
dependabot[bot] 0a995cce18
Bump qs in /test-scripts/cloud_funcs/trigger_nightly (#483)
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 13:23:04 -08:00
..
trigger_nightly Bump qs in /test-scripts/cloud_funcs/trigger_nightly (#483) 2023-01-27 13:23:04 -08:00
README.md update code snippet runner (#300) 2019-04-24 11:39:29 -04:00

README.md

This directory contains the following Google Cloud Functions.

trigger_nightly

Programatically triggers a Cloud Build on master. This function is called by the Cloud Scheduler around 4:30am EST every day (configurable via the Cloud Scheduler UI). You can also trigger the function manually via the Cloud UI.

Command to re-deploy:

gcloud functions deploy nightly_tfjs_website \
  --runtime nodejs8 \
  --trigger-topic nightly_tfjs_website

If a build was triggered by nightly, there is a substitution variable _NIGHTLY=true. The substitution gets forwarded as the NIGHTLY environment variable so the scripts can use it, by specifying env: ['NIGHTLY=$_NIGHTLY'] in cloudbuild.yml.