angular/aio/scripts
George Kalpakas 8d8cdc1991 ci: improve angular.io deployment process for the master branch (#43963)
Previously, the master branch was only deployed to the
`next-angular-io-site` Firebase site, which is connected to the
`next.angular.io` domain. However, if the master major version was
higher than the stable major version (or the RC major version in case
there was an active RC), we also had to manually configure (via the
Firebase console and/or DNS records) the `v<X>.angular.io` domain to
redirect to `next.angular.io`. Then, once `<X>` became the new stable or
RC version, we had to manually remove the redirect (to let
`v<X>.angular.io` be redirected to `angular.io` or `rc.angular.io`).

This commit is part of a new process that reduces the manual steps as
follows (the steps below only apply when the master major version is
higher than the current stable and RC (if applicable)):
- A `v<X>-angular-io-site` Firebase site will be created as soon as the
  version in the `master` branch's `package.json` is updated to a new
  major.
- The `v<X>.angular.io` domain will be connected to that new Firebase
  site.
- When deploying from the master branch, we will deploy to both
  `next-angular-io-site` and `v<X>-angular-io-site`. In addition, the
  deployment to `v<X>-angular-io-site` will update the Firebase config
  file to redirect to `next.angular.io`.
- When the master version becomes the new stable/RC, we will start
  deploying to `v<X>-angular-io-site` from the stable/RC branch, which
  will update the Firebase config to stop redirecting to
  `next.angular.io` and redirect to `(rc.)angular.io` instead (without
  requiring changes in the Firebase console or DNS).

PR Close #43963
2021-10-29 15:05:04 -07:00
..
contributors ci: check that there are no unused contributor images (#41290) 2021-03-23 09:38:43 -07:00
deploy-to-firebase ci: improve angular.io deployment process for the master branch (#43963) 2021-10-29 15:05:04 -07:00
audit-web-app.mjs build(docs-infra): update scripts using Lighthouse to ES modules (#43607) 2021-10-04 16:29:49 -07:00
build-404-page.js fix(docs-infra): generate the 404.html page correctly (#41163) 2021-03-11 09:30:03 -08:00
build-artifacts.sh ci(docs-infra): reduce verbosity of yarn build on CI (#26746) 2018-10-25 21:17:52 -04:00
build-ngsw-config.js build(docs-infra): auto-generate SW navigationUrls from Firebase config (#42452) 2021-06-18 17:32:58 +00:00
check-environment.js build(aio): do not fail if check-env for the main angular project fails 2017-06-16 07:51:18 +01:00
create-preview.js ci(docs-infra): manually trigger the preview server webhook (#27458) 2018-12-04 13:59:54 -08:00
payload.sh ci: start tracking CSS payload sizes for angular.io (#42584) 2021-06-18 17:32:26 +00:00
test-aio-a11y.mjs build(docs-infra): update scripts using Lighthouse to ES modules (#43607) 2021-10-04 16:29:49 -07:00
test-external-urls.js docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:12 -07:00
test-preview.js test(docs-infra): run basic smoke tests against PR previews (#26649) 2018-10-29 13:00:20 -04:00
test-production.sh ci(docs-infra): ignore node version in aio_monitoring_stable CI job (for real) (#35033) 2020-01-29 09:25:46 -08:00