Commit Graph

32 Commits

Author SHA1 Message Date
Paul Gschwendtner a02e6c64f1 build: remove dashboard (#14023)
* Since we going to move from Travis to CircleCI we don't want to use the dashboard anymore. Since nobody has been
looking at the dashboard frequently, it just makes things more complicated and additionally we will be using
the Github robot in order to keep track of size changes.
2018-11-07 10:04:16 -08:00
Paul Gschwendtner 62f35dd67c build: move snapshot publish job to circleci (#13882)
Also switch to a single GitHub deploy token
2018-11-01 16:53:28 -07:00
Paul Gschwendtner 009f211e47 build: fix docs-content branch publish (#12690)
Currently the docs-content output will be overwritten each time a Travis job runs in another branch (e.g. `master`, `6.4.x`, `6.x`). This is because the given branches cannot be created in the `material2-docs-content´ repository.

This is not good because if we want to release a new patch version, we have no way to properly pull the docs-content data that matches the given new version. Meaning that the docs-content and the `@angular/material-examples` package might be already updated for the next `major` version and we run into runtime exceptions due to the breaking changes.
2018-08-15 14:43:20 -07:00
Paul Gschwendtner e09ec343ef build: fix branch checkout for publish script (#12585) 2018-08-08 11:00:02 -07:00
Paul Gschwendtner f9b9e25d61 build: fix dashboard deployment (#12293) 2018-07-20 08:26:39 -07:00
Paul Gschwendtner afb0ee37eb chore: remove screenshot testing (#12155)
Removes the screenshot test tool since Angular Material is visually being tested inside of Google.
2018-07-11 08:24:21 -07:00
Paul Gschwendtner 514fa91418 build: publish docs-content based on branch (#10020) 2018-02-21 09:48:53 -08:00
Paul Gschwendtner ab930cf87b build: publish artifacts based on branch (#9919)
Build artifacts will be published differently for different branches. For example, commits in `master` will be published on the `master` branch on the `*-builds` repository. `5.2.x` commits will be published on the `5.2.x` branch on the `*-builds` repository.

Tags on the build repositories will be explicit to indicate from what branch they come. The version placeholders (in the build output) will be similar as before, and won't contain any information about the branch. e.g. `5.2.x-5.2.1-43s435s` will look bad.
2018-02-13 10:35:40 -08:00
Paul Gschwendtner c3d7cd96de build: missing overview files in docs-content (#9100) 2017-12-22 12:04:56 -08:00
Paul Gschwendtner 898cded17a build(artifacts): sed should not update .git/ files (#8938)
* Adds more logging messages to the publish artifacts script (better debugging)
* Updates the `find` command for the version `sed` call to no longer match files inside of the `.git/` directory (might lead to a broken .git/ setup)
2017-12-14 15:31:38 -08:00
Paul Gschwendtner 426f11fb13 chore: better tag check in publish-artifacts script (#8852)
Currently the publish-artifacts script checks for the tag in the local repository copy. Since the builds repository will be cloned with a depth of `1`, the tags aren't being checked properly.

To be more sure about the tag existence, the `git ls-remote` command can be used.
2017-12-06 15:40:56 -08:00
Paul Gschwendtner 826394bba9 build: skip artifact publish if tag already exists (#8720)
* No longer errors the deployment if the artifacts have been published already. (e.g. Job restart)
2017-12-06 12:57:32 -08:00
Austin e055b9f13c docs: convert demos to stackblitz (#8546) 2017-11-21 09:01:05 -08:00
Paul Gschwendtner a727f970cd build: snapshot builds for moment-adapter (#6823)
* Publishes the artifacts of the material-moment-adapter on a per-commit basis.
2017-09-11 16:27:46 -07:00
Paul Gschwendtner 333ec80750 build: fix screenshot tool deployment (#6337)
* Currently the screenshot tool application is not built in the deploy script. This causes Firebase to throw an error because the target directory does not exist.
2017-08-08 13:26:33 -07:00
Paul Gschwendtner 3944d70435 build: deploy screenshot app for push builds (#6299)
* Currently only the screenshot functions are deployed, but not he screenshot application. With this change the application will be also deployed on Travis Push builds.
2017-08-07 10:20:30 -07:00
Paul Gschwendtner 298bc031da ci: incorrect path to screenshot-test tool (#6275)
The deploy script for the screenshot-test tool right now references a incorrect directory. This means that the screenshot-test tool can't be uploaded for push builds right now.
2017-08-04 14:03:08 -07:00
Paul Gschwendtner 3940fab732 build: use version placeholder in package configs (#6112)
Recently the version placeholders had been replaced with hardcoded versions because it was necessary to be able to release the CDK.

But now the version placeholders are replaced in every file and therefore they can be used instead of the hardcoded values.
2017-07-31 11:22:40 -07:00
Paul Gschwendtner 1c7754ab76 build: artifact scripts should push empty commits (#5835) 2017-07-18 14:45:17 -07:00
Paul Gschwendtner b018f26e70 build: fix screenshot functions deploying (#5780)
* Fixes the screenshot functions deploying by properly resolving the path to the Firebase CLI binary.
* Also cleans up the script to be aligned with the dashboard deployment script.
* Removes firebase-tools as dependency from the dashboard since it's not used there anymore
2017-07-17 16:23:51 -07:00
Paul Gschwendtner 5357bbcb79 build: dashboard deploy bug in firebase (#5781)
* Workaround for a Firebase bug (https://github.com/firebase/firebase-tools/issues/382) that causes the deployment to not work in Travis CI.
2017-07-17 11:12:31 -07:00
Paul Gschwendtner a1a7dcb463 build: fix deploying of screenshot functions
* Updates the dashboard and screenshot deploy script to exit the process immediately if the Firebase token is not set.
* Fixes that the error message of the dashboard still shows the old name of the token variable
* Renames the screenshot variables to follow the dashboard environment variables
* Explicitly specifies the project that will be uploaded in the screenshot deploy script (same as for dashboard)
2017-07-10 15:45:00 -07:00
Jeremy Elbourn 3181335074 Revert "build: publish build tools on github (#5458)" (#5526)
This reverts commit 0675568d03.
2017-07-05 18:10:22 -07:00
Paul Gschwendtner 0675568d03 build: publish build tools on github (#5458)
* Publishes the material2-build-tools on Github.
2017-07-05 16:29:52 -07:00
Paul Gschwendtner bf2326004a build: use node to resolve build version (#5460)
* instead of using a complex RegExp that will likely break at some point in the future, we are switching to a single-line NodeJS script to resolve the version.
2017-07-05 10:30:34 -07:00
Paul Gschwendtner d859d34739 build: better error reporting of bash scripts (#5397)
Currently whenever something fails in the deploy script it will likely not cause the CI to show the failure. This is because Bash by default doesn't exit the process with the proper error code.
2017-06-29 10:32:00 -07:00
Paul Gschwendtner 84746718fd build: replace cdk version placeholder for build artifacts (#5330)
* Currently the `0.0.0-PLACEHOLDER` is still inside of the `package.json` of the material2-builds. Similar as for every other Angular package the version placeholder should be replaced with the version of the current "build commit".

Closes #5320
2017-06-23 12:40:37 -07:00
Paul Gschwendtner 746495a222 build: update sauce connect version (#5179)
* Updates the version of Sauce Connect to avoid potential flakes within the Saucelabs tunnels
* Fixes the invalid path for the `deploy-dashboard` script that runs in the deploy build stage
2017-06-19 09:30:01 -07:00
Paul Gschwendtner c8e56b535e build: initial dashboard project (#5148) 2017-06-16 10:22:33 -07:00
Paul Gschwendtner f579ea130f build: faster artifacts deploy script (#5149) 2017-06-15 13:31:15 -07:00
Paul Gschwendtner 7af93bc5e3 build: switch to new dashboard firebase instance (#4954)
* Switches to a new Firebase instance for the Dashboard.
2017-06-05 11:13:05 -07:00
Paul Gschwendtner 964033ce8d build: add dashboard firebase functions (#4806)
* build: add dashboard firebase functions

* Adds a new folder for the dashboard project that for now only contains firebase functions.
* The firebase functions will be used to securely make API calls to the Github API (e.g payload status)
* Functions will be automatically deployed as same as screenshot functions.

* Address feedback
2017-05-31 16:18:34 -07:00