Skip to content

Commit a02e6c6

Browse files
devversionvivian-hu-zz
authored andcommitted
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.
1 parent d50b9f2 commit a02e6c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+34
-8188
lines changed

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,11 @@ node_modules
3333
.DS_Store
3434
/.sass-cache
3535
/connect.lock
36-
/coverage/*
3736
/libpeerconnection.log
3837
npm-debug.log
3938
yarn-debug.log
4039
yarn-error.log
4140
testem.log
4241
/.chrome
4342
/.git
44-
/.firebase
45-
46-
# schematics
47-
/src/lib/schematics/**/*.js
48-
/src/lib/schematics/**/*.map
43+
/.firebase

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ node_js:
88
- '8.12.0'
99

1010
addons:
11-
jwt:
12-
# SAUCE_ACCESS_KEY<=secret for FIREBASE_ACCESS_TOKEN to work around travis-ci/travis-ci#7223, unencrypted value in valentine as FIREBASE_ACCESS_TOKEN>
13-
# we alias FIREBASE_ACCESS_TOKEN to $SAUCE_ACCESS_KEY in env.sh and set the SAUCE_ACCESS_KEY there
14-
- secure: "PKts/IbxuJRWWOEeiGbl8Z9zds0M+hIdCH/g/E4WbQ9yzSvSbdwzfmRfFccQFjxjsrY7+SJMVjsURZy+xUyBpzqgWYHUItnSVqjZb8DlyAU2IXyg8TM9BVLkGGe6k5k4PIFVmfMMMzQwWMM0X0W9w3oYmfHL5egxwSHvf9HIqLolLNXg8sqamIdS5d5KoCXf1c+oRjN/IMBktzNBR6N4OFOZQXVoepXNiIvTWAcTtOPBvFWdKP2n7RVioHKdm4a85aCUpDJp+LYGaLqiQZoRzmzfVTnAhTAPdd4ao5w/+jojrfZIHV55bqYF9rLnQMTneKsiyVNVYJzOLuxmARa/EEKfZld+J3rX4/o4cogrU38YSZF+T7J9g/7CTsnIZ3F6W6m+8iJbIBh55nGOQi5PVe458Q/nGb3fgQd2Z4+6lK9k479H4Ssh/Y7hbVQbepqEVIXzZKqWX6/ZE4iWoR/Q2dm0hySFmmB/R2etixX5JxhnHvgobTYIQ+1liJVp/3YFW1ru64Yg6yz/V291Bhh9g31znmTROCJ/usAmZZaLUqW1TDKnLIMP+M74MF9XERqcWKywXRFwxP4E5uDnx/vAyN49gL+SDfrBUxUtXrTkKZAlglwo9SgA7cOYEPWrionvKcGm87gCBYHFUmXZNQVzh212fpuJYXb/vy0sPDj8La4="
1511
chrome: stable
1612
firefox: latest
1713

@@ -25,23 +21,21 @@ branches:
2521

2622
jobs:
2723
include:
28-
- env: "MODE=payload"
2924
- env: "MODE=saucelabs_required"
30-
- env: "DEPLOY_MODE=dashboard"
31-
if: type = cron
25+
3226
env:
3327
global:
3428
# Keep Yarn version in sync with Yarn version within Bazel WORKSPACE.
3529
- YARN_VERSION=1.9.4
3630
- LOGS_DIR=/tmp/angular-material2-build/logs
3731
- SAUCE_USERNAME=angular-ci
32+
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
3833
- BROWSER_STACK_USERNAME=angularteam1
3934
- BROWSER_STACK_ACCESS_KEY=CaXMeMHD9pr5PHg8N7Jq
4035
- BROWSER_PROVIDER_READY_FILE=/tmp/angular-material2-build/readyfile
4136
- BROWSER_PROVIDER_ERROR_FILE=/tmp/angular-material2-build/errorfile
4237

4338
before_install:
44-
- source ./scripts/ci/travis-env.sh
4539
- source ./scripts/ci/install-yarn.sh
4640

4741
install:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
"karma": "^3.0.0",
112112
"karma-browserstack-launcher": "^1.3.0",
113113
"karma-chrome-launcher": "^2.2.0",
114-
"karma-coverage": "^1.1.1",
115114
"karma-firefox-launcher": "^1.0.1",
116115
"karma-jasmine": "^1.1.2",
117116
"karma-sauce-launcher": "^1.2.0",

scripts/ci/sources/mode.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ is_aot() {
1313
[[ "${MODE}" = aot ]]
1414
}
1515

16-
is_payload() {
17-
[[ "${MODE}" = payload ]]
18-
}
19-
2016
is_unit() {
2117
[[ "${MODE}" =~ ^.*_(optional|required)$ ]]
2218
}

scripts/ci/travis-deploy.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ echo ""
1919
echo "Starting the deployment script. Running mode: ${DEPLOY_MODE}"
2020
echo ""
2121

22-
if [[ "${DEPLOY_MODE}" == "dashboard" ]]; then
23-
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/deploy-dashboard.sh
24-
elif [[ "${DEPLOY_MODE}" == "build-artifacts" ]]; then
22+
if [[ "${DEPLOY_MODE}" == "build-artifacts" ]]; then
2523
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/publish-build-artifacts.sh
2624
elif [[ "${DEPLOY_MODE}" == "docs-content" ]]; then
2725
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/publish-docs-content.sh

scripts/ci/travis-env.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

scripts/ci/travis-testing.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,10 @@ elif is_e2e; then
3939
xvfb-run -a --server-args='-screen 0, 1024x768x16' $(npm bin)/gulp ci:e2e
4040
elif is_aot; then
4141
$(npm bin)/gulp ci:aot
42-
elif is_payload; then
43-
$(npm bin)/gulp ci:payload
4442
elif is_unit; then
4543
$(npm bin)/gulp ci:test
4644
elif is_prerender; then
4745
$(npm bin)/gulp ci:prerender
4846
fi
4947

50-
# Upload coverage results if those are present.
51-
if [ -f dist/coverage/coverage-summary.json ]; then
52-
$(npm bin)/gulp ci:coverage
53-
fi
54-
5548
teardown_tunnel

scripts/deploy/deploy-dashboard.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

stylelint-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"no-eol-whitespace": true,
9090
"max-line-length": 100,
9191
"linebreaks": "unix",
92-
"selector-class-pattern": ["^_?(mat-|cdk-|example-|demo-|dashboard-|ng-)", {
92+
"selector-class-pattern": ["^_?(mat-|cdk-|example-|demo-|ng-)", {
9393
"resolveNestedSelectors": true
9494
}]
9595
}

test/karma.conf.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = (config) => {
1313
require('karma-chrome-launcher'),
1414
require('karma-firefox-launcher'),
1515
require('karma-sourcemap-loader'),
16-
require('karma-coverage'),
1716
],
1817
files: [
1918
{pattern: 'node_modules/core-js/client/core.min.js', included: true, watched: false},
@@ -52,12 +51,6 @@ module.exports = (config) => {
5251
reporters: ['dots'],
5352
autoWatch: false,
5453

55-
coverageReporter: {
56-
type : 'json-summary',
57-
dir : 'dist/coverage/',
58-
subdir: '.'
59-
},
60-
6154
sauceLabs: {
6255
testName: 'Angular Material Unit Tests',
6356
startConnect: false,
@@ -124,13 +117,6 @@ module.exports = (config) => {
124117
if (process.env['TRAVIS']) {
125118
const buildId = `TRAVIS #${process.env.TRAVIS_BUILD_NUMBER} (${process.env.TRAVIS_BUILD_ID})`;
126119

127-
if (process.env['TRAVIS_PULL_REQUEST'] === 'false' &&
128-
process.env['MODE'] === "travis_required") {
129-
130-
config.preprocessors['dist/packages/**/!(*+(.|-)spec).js'] = ['coverage'];
131-
config.reporters.push('coverage');
132-
}
133-
134120
// The MODE variable is the indicator of what row in the test matrix we're running.
135121
// It will look like <platform>_<target>, where platform is one of 'saucelabs', 'browserstack'
136122
// or 'travis'. The target is a reference to different collections of browsers that can run

tools/dashboard/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

tools/dashboard/angular.json

Lines changed: 0 additions & 101 deletions
This file was deleted.

tools/dashboard/firebase.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

tools/dashboard/functions/functions.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/dashboard/functions/github/github-api.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

tools/dashboard/functions/github/github-status.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

tools/dashboard/functions/index.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)