angular-docs-cn/scripts/ci
Peter Bacon Darwin bcb36d9b6d 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".
Otherwise if the branch is the highest of its minor versions
we deploy as "stable" if the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` or
else "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
2017-08-04 09:13:34 -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:13:34 -07:00
env.sh ci: use chrome stable (#18307) 2017-07-25 11:18:24 -07:00
install.sh ci: remove chromium fold reference (#18445) 2017-08-02 15:43:26 -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.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-docs.sh build(aio): move gulp tasks to package.json 2017-03-05 08:41:26 -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: test bazel builds on travis (#18240) 2017-07-20 09:40:40 -07:00