Speed up deployments by separating rc targets. (#2046)
This commit is contained in:
Родитель
4cbeb7e983
Коммит
2f236fc745
|
@ -98,7 +98,7 @@ Open the [Google Developer
|
|||
Console for the staging site](https://console.cloud.google.com/appengine/versions?project=cr-status-staging)
|
||||
and flip to the new version by selecting from the list and clicking *MIGRATE TRAFFIC*. Make sure to do this for both the 'default' service as well as for the 'notifier' service.
|
||||
|
||||
Each deployment also uploads the same code to a version named `rc` for "Release candidate". This is the only version that you can test using Google Sign-In at `https://rc-dot-cr-status-staging.appspot.com`.
|
||||
Alternatively, run `npm run staging-rc` to upload the same code to a version named `rc` for "Release candidate". This is the only version that you can test using Google Sign-In at `https://rc-dot-cr-status-staging.appspot.com`.
|
||||
|
||||
If manual testing on the staging server looks good, then repeat the same steps to deploy to prod:
|
||||
|
||||
|
|
|
@ -30,8 +30,10 @@
|
|||
"lint": "gulp lint-fix && lit-analyzer \"static/elements/chromedash-!(featurelist)*.js\"",
|
||||
"pylint": "pylint --output-format=parseable *py api/*py customtags/*py framework/*py internals/*py pages/*py",
|
||||
|
||||
"staging": "npm run build && ./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` cr-status-staging && ./scripts/deploy_site.sh rc cr-status-staging",
|
||||
"deploy": "npm run build && ./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` && ./scripts/deploy_site.sh rc"
|
||||
"staging": "./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` cr-status-staging",
|
||||
"staging-rc": "./scripts/deploy_site.sh rc cr-status-staging",
|
||||
"deploy": "./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'`",
|
||||
"deploy-rc": "./scripts/deploy_site.sh rc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Загрузка…
Ссылка в новой задаче