angular-cn/scripts/ci
Peter Bacon Darwin 10897d6473 ci(aio): compute AIO deployment mode
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.

If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".

Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".

For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.

As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.

See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
..
_travis-fold.sh build: fix paths to typings files so tsickle resolves imports correctly 2017-03-16 17:34:29 -07:00
angular.sh ci: redo how env variables are set and shared in ci to prevent collisions 2017-03-05 08:03:38 -08:00
build.sh build: short-circuit build for AIO tasks 2017-07-28 15:28:28 -07:00
cleanup.sh ci: redo how env variables are set and shared in ci to prevent collisions 2017-03-05 08:03:38 -08:00
deploy.sh ci(aio): compute AIO deployment mode 2017-08-04 09:14:18 -07:00
env.sh ci: use chrome stable (#18307) 2017-07-25 11:18:24 -07:00
install.sh ci(aio): compute AIO deployment mode 2017-08-04 09:14:18 -07:00
offline_compiler_test.sh refactor(tsc-wrapped): move tsc-wrapped to the packages directory (#18160) 2017-07-21 12:26:16 -05:00
print-logs.sh ci: redo how env variables are set and shared in ci to prevent collisions 2017-03-05 08:03:38 -08:00
publish-build-artifacts.sh refactor(tsc-wrapped): move tsc-wrapped to the packages directory (#18160) 2017-07-21 12:26:16 -05:00
test-aio-e2e.sh ci(aio): test the example e2e files using local build of Angular 2017-07-28 15:28:28 -07:00
test-aio-tools.sh ci(aio): compute AIO deployment mode 2017-08-04 09:14:18 -07:00
test-aio.sh ci(aio): build `aio-builds-setup` scripts before pre-verifying PR 2017-05-12 11:37:21 -07:00
test-bazel.sh perf: latest tsickle to tree shake: abstract class methods & interfaces (#18236) 2017-07-21 16:35:37 -05:00
test-browserstack.sh ci: redo how env variables are set and shared in ci to prevent collisions 2017-03-05 08:03:38 -08:00
test-e2e-2.sh test(platform-server): fix and re-enable integration tests 2017-06-13 15:50:23 -07:00
test-e2e.sh ci(aio): build `aio-builds-setup` scripts before pre-verifying PR 2017-05-12 11:37:21 -07:00
test-js.sh refactor(tsc-wrapped): move tsc-wrapped to the packages directory (#18160) 2017-07-21 12:26:16 -05:00
test-saucelabs.sh ci: redo how env variables are set and shared in ci to prevent collisions 2017-03-05 08:03:38 -08:00
test.sh ci(aio): compute AIO deployment mode 2017-08-04 09:14:18 -07:00