mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
ci: format CircleCI configuration file
Mainly whitespace related changes.
This commit is contained in:
parent
caad0935b7
commit
6f68902e7c
@ -19,7 +19,7 @@ orbs:
|
|||||||
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
|
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
|
||||||
var_1: &cache_key v1-angular_devkit-14.15-{{ checksum "yarn.lock" }}
|
var_1: &cache_key v1-angular_devkit-14.15-{{ checksum "yarn.lock" }}
|
||||||
var_1_win: &cache_key_win v1-angular_devkit-win-12.22-{{ checksum "yarn.lock" }}
|
var_1_win: &cache_key_win v1-angular_devkit-win-12.22-{{ checksum "yarn.lock" }}
|
||||||
var_3: &default_nodeversion "14.15"
|
var_3: &default_nodeversion '14.15'
|
||||||
# Workspace initially persisted by the `setup` job, and then enhanced by `setup-and-build-win`.
|
# Workspace initially persisted by the `setup` job, and then enhanced by `setup-and-build-win`.
|
||||||
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
|
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
|
||||||
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
|
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
|
||||||
@ -88,7 +88,7 @@ commands:
|
|||||||
default: CIRCLE_PROJECT_REPONAME
|
default: CIRCLE_PROJECT_REPONAME
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: "Setup bazel RBE remote execution"
|
name: 'Setup bazel RBE remote execution'
|
||||||
command: |
|
command: |
|
||||||
touch .bazelrc.user;
|
touch .bazelrc.user;
|
||||||
# We need ensure that the same default digest is used for encoding and decoding
|
# We need ensure that the same default digest is used for encoding and decoding
|
||||||
@ -111,7 +111,7 @@ commands:
|
|||||||
install_python:
|
install_python:
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: "Install Python 2"
|
name: 'Install Python 2'
|
||||||
command: |
|
command: |
|
||||||
sudo apt-get update > /dev/null 2>&1
|
sudo apt-get update > /dev/null 2>&1
|
||||||
sudo apt-get install -y python
|
sudo apt-get install -y python
|
||||||
@ -155,10 +155,10 @@ jobs:
|
|||||||
- custom_attach_workspace
|
- custom_attach_workspace
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
- run: 'yarn bazel:format -mode=check ||
|
- run: 'yarn bazel:format -mode=check ||
|
||||||
(echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)'
|
(echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)'
|
||||||
# Run the skylark linter to check our Bazel rules
|
# Run the skylark linter to check our Bazel rules
|
||||||
- run: 'yarn bazel:lint ||
|
- run: 'yarn bazel:lint ||
|
||||||
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'
|
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
executor: action-executor
|
executor: action-executor
|
||||||
@ -226,7 +226,7 @@ jobs:
|
|||||||
# too early without Saucelabs not being ready.
|
# too early without Saucelabs not being ready.
|
||||||
- run: ./scripts/saucelabs/wait-for-tunnel.sh
|
- run: ./scripts/saucelabs/wait-for-tunnel.sh
|
||||||
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts --ve
|
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts --ve
|
||||||
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts
|
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts
|
||||||
- run: ./scripts/saucelabs/stop-tunnel.sh
|
- run: ./scripts/saucelabs/stop-tunnel.sh
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -254,7 +254,7 @@ jobs:
|
|||||||
- custom_attach_workspace
|
- custom_attach_workspace
|
||||||
- run:
|
- run:
|
||||||
name: Decrypt Credentials
|
name: Decrypt Credentials
|
||||||
# Note: when changing the image, you might have to re-encrypt the credentials with a
|
# Note: when changing the image, you might have to re-encrypt the credentials with a
|
||||||
# matching version of openssl.
|
# matching version of openssl.
|
||||||
# See https://stackoverflow.com/a/43847627/2116927 for more info.
|
# See https://stackoverflow.com/a/43847627/2116927 for more info.
|
||||||
command: |
|
command: |
|
||||||
@ -324,7 +324,7 @@ workflows:
|
|||||||
- master
|
- master
|
||||||
- e2e-cli:
|
- e2e-cli:
|
||||||
name: e2e-cli-node-12
|
name: e2e-cli-node-12
|
||||||
nodeversion: "12.18"
|
nodeversion: '12.18'
|
||||||
<<: *only_release_branches
|
<<: *only_release_branches
|
||||||
requires:
|
requires:
|
||||||
- e2e-cli
|
- e2e-cli
|
||||||
@ -334,12 +334,12 @@ workflows:
|
|||||||
|
|
||||||
# Bazel jobs
|
# Bazel jobs
|
||||||
# These jobs only really depend on Setup, but the build job is very quick to run (~35s) and
|
# These jobs only really depend on Setup, but the build job is very quick to run (~35s) and
|
||||||
# will catch any build errors before proceeding to the more lengthy and resource intensive
|
# will catch any build errors before proceeding to the more lengthy and resource intensive
|
||||||
# Bazel jobs.
|
# Bazel jobs.
|
||||||
- test:
|
- test:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
# Windows jobs
|
# Windows jobs
|
||||||
- e2e-cli-win:
|
- e2e-cli-win:
|
||||||
requires:
|
requires:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user