From 176b3f12f48b72ad7d2c0e1b44d701e021326ee9 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 4 Jan 2019 20:27:09 +0200 Subject: [PATCH] ci: make `integration_test` job logs less verbose (#27934) The build and test progress logs make the CI log output so long that it can't be displayed in the UI and one has to download and view the file locally instead. This makes it harder to get to the interesting lines, such as error messages. Similar to #26869, but for the `bazel-schematics` integration project. PR Close #27934 --- integration/bazel-schematics/angular.json.original | 8 +++++++- integration/bazel-schematics/test.sh | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/integration/bazel-schematics/angular.json.original b/integration/bazel-schematics/angular.json.original index 9c70cea203..a9d121b615 100644 --- a/integration/bazel-schematics/angular.json.original +++ b/integration/bazel-schematics/angular.json.original @@ -62,6 +62,9 @@ "configurations": { "production": { "browserTarget": "demo:build:production" + }, + "ci": { + "progress": false } } }, @@ -116,6 +119,9 @@ "configurations": { "production": { "devServerTarget": "demo:serve:production" + }, + "ci": { + "devServerTarget": "demo:serve:ci" } } }, @@ -132,4 +138,4 @@ } }, "defaultProject": "demo" -} \ No newline at end of file +} diff --git a/integration/bazel-schematics/test.sh b/integration/bazel-schematics/test.sh index b939e4f666..8150921266 100755 --- a/integration/bazel-schematics/test.sh +++ b/integration/bazel-schematics/test.sh @@ -28,9 +28,9 @@ function testNonBazel() { rm -rf dist src/main.dev.ts src/main.prod.ts # Just make a symlink instead of full yarn install to expose node_modules ln -s $(bazel info output_base)/external/npm/node_modules node_modules - ng build - ng test --watch=false - ng e2e + ng build --progress=false + ng test --progress=false --watch=false + ng e2e --configuration=ci } testBazel