Skip to content

build: remove dashboard from repository #14023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,11 @@ node_modules
.DS_Store
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
yarn-debug.log
yarn-error.log
testem.log
/.chrome
/.git
/.firebase

# schematics
/src/lib/schematics/**/*.js
/src/lib/schematics/**/*.map
/.firebase
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ node_js:
- '8.12.0'

addons:
jwt:
# SAUCE_ACCESS_KEY<=secret for FIREBASE_ACCESS_TOKEN to work around travis-ci/travis-ci#7223, unencrypted value in valentine as FIREBASE_ACCESS_TOKEN>
# we alias FIREBASE_ACCESS_TOKEN to $SAUCE_ACCESS_KEY in env.sh and set the SAUCE_ACCESS_KEY there
- 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="
chrome: stable
firefox: latest

Expand All @@ -25,23 +21,21 @@ branches:

jobs:
include:
- env: "MODE=payload"
- env: "MODE=saucelabs_required"
- env: "DEPLOY_MODE=dashboard"
if: type = cron

env:
global:
# Keep Yarn version in sync with Yarn version within Bazel WORKSPACE.
- YARN_VERSION=1.9.4
- LOGS_DIR=/tmp/angular-material2-build/logs
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- BROWSER_STACK_USERNAME=angularteam1
- BROWSER_STACK_ACCESS_KEY=CaXMeMHD9pr5PHg8N7Jq
- BROWSER_PROVIDER_READY_FILE=/tmp/angular-material2-build/readyfile
- BROWSER_PROVIDER_ERROR_FILE=/tmp/angular-material2-build/errorfile

before_install:
- source ./scripts/ci/travis-env.sh
- source ./scripts/ci/install-yarn.sh

install:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
"karma": "^3.0.0",
"karma-browserstack-launcher": "^1.3.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.1",
"karma-jasmine": "^1.1.2",
"karma-sauce-launcher": "^1.2.0",
Expand Down
4 changes: 0 additions & 4 deletions scripts/ci/sources/mode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ is_aot() {
[[ "${MODE}" = aot ]]
}

is_payload() {
[[ "${MODE}" = payload ]]
}

is_unit() {
[[ "${MODE}" =~ ^.*_(optional|required)$ ]]
}
Expand Down
4 changes: 1 addition & 3 deletions scripts/ci/travis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ echo ""
echo "Starting the deployment script. Running mode: ${DEPLOY_MODE}"
echo ""

if [[ "${DEPLOY_MODE}" == "dashboard" ]]; then
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/deploy-dashboard.sh
elif [[ "${DEPLOY_MODE}" == "build-artifacts" ]]; then
if [[ "${DEPLOY_MODE}" == "build-artifacts" ]]; then
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/publish-build-artifacts.sh
elif [[ "${DEPLOY_MODE}" == "docs-content" ]]; then
retryCall ${DEPLOY_RETRIES} ./scripts/deploy/publish-docs-content.sh
Expand Down
11 changes: 0 additions & 11 deletions scripts/ci/travis-env.sh

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/ci/travis-testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,10 @@ elif is_e2e; then
xvfb-run -a --server-args='-screen 0, 1024x768x16' $(npm bin)/gulp ci:e2e
elif is_aot; then
$(npm bin)/gulp ci:aot
elif is_payload; then
$(npm bin)/gulp ci:payload
elif is_unit; then
$(npm bin)/gulp ci:test
elif is_prerender; then
$(npm bin)/gulp ci:prerender
fi

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

teardown_tunnel
41 changes: 0 additions & 41 deletions scripts/deploy/deploy-dashboard.sh

This file was deleted.

2 changes: 1 addition & 1 deletion stylelint-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"no-eol-whitespace": true,
"max-line-length": 100,
"linebreaks": "unix",
"selector-class-pattern": ["^_?(mat-|cdk-|example-|demo-|dashboard-|ng-)", {
"selector-class-pattern": ["^_?(mat-|cdk-|example-|demo-|ng-)", {
"resolveNestedSelectors": true
}]
}
Expand Down
14 changes: 0 additions & 14 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = (config) => {
require('karma-chrome-launcher'),
require('karma-firefox-launcher'),
require('karma-sourcemap-loader'),
require('karma-coverage'),
],
files: [
{pattern: 'node_modules/core-js/client/core.min.js', included: true, watched: false},
Expand Down Expand Up @@ -52,12 +51,6 @@ module.exports = (config) => {
reporters: ['dots'],
autoWatch: false,

coverageReporter: {
type : 'json-summary',
dir : 'dist/coverage/',
subdir: '.'
},

sauceLabs: {
testName: 'Angular Material Unit Tests',
startConnect: false,
Expand Down Expand Up @@ -124,13 +117,6 @@ module.exports = (config) => {
if (process.env['TRAVIS']) {
const buildId = `TRAVIS #${process.env.TRAVIS_BUILD_NUMBER} (${process.env.TRAVIS_BUILD_ID})`;

if (process.env['TRAVIS_PULL_REQUEST'] === 'false' &&
process.env['MODE'] === "travis_required") {

config.preprocessors['dist/packages/**/!(*+(.|-)spec).js'] = ['coverage'];
config.reporters.push('coverage');
}

// The MODE variable is the indicator of what row in the test matrix we're running.
// It will look like <platform>_<target>, where platform is one of 'saucelabs', 'browserstack'
// or 'travis'. The target is a reference to different collections of browsers that can run
Expand Down
3 changes: 0 additions & 3 deletions tools/dashboard/.gitignore

This file was deleted.

101 changes: 0 additions & 101 deletions tools/dashboard/angular.json

This file was deleted.

11 changes: 0 additions & 11 deletions tools/dashboard/firebase.json

This file was deleted.

1 change: 0 additions & 1 deletion tools/dashboard/functions/functions.ts

This file was deleted.

11 changes: 0 additions & 11 deletions tools/dashboard/functions/github/github-api.ts

This file was deleted.

24 changes: 0 additions & 24 deletions tools/dashboard/functions/github/github-status.ts

This file was deleted.

16 changes: 0 additions & 16 deletions tools/dashboard/functions/index.js

This file was deleted.

Loading