-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from Financial-Times/ci-2184-doppler-format
feat: CI-2184 set doppler autorotated keynames to ones accepted by si…
- Loading branch information
Showing
6 changed files
with
4,502 additions
and
4,657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# CONFIG GENERATED BY DOTCOM-TOOL-KIT, DO NOT EDIT BY HAND | ||
version: 2.1 | ||
orbs: | ||
tool-kit: financial-times/dotcom-tool-kit@2 | ||
node: circleci/[email protected] | ||
tool-kit: financial-times/dotcom-tool-kit@5 | ||
executors: | ||
node: | ||
docker: | ||
- image: cimg/node:16.14-browsers | ||
jobs: | ||
checkout: | ||
docker: | ||
|
@@ -11,32 +14,7 @@ jobs: | |
- checkout | ||
- tool-kit/persist-workspace: | ||
path: . | ||
testci-coverage: | ||
executor: | ||
name: node/default | ||
tag: <<parameters.node-version>> | ||
parameters: | ||
node-version: | ||
default: "16.14" | ||
type: string | ||
steps: | ||
- tool-kit/attach-workspace | ||
- run: | ||
name: Run tests coverage | ||
command: "npm run coverage" | ||
environment: | ||
JEST_JUNIT_OUTPUT: test-results/jest/results.xml # TODO change depending on which test plugin is running? or actually, move this into the plugin? or do it as tool kit config. hmm | ||
MOCHA_FILE: test-results/mocha/results.xml | ||
- run: | ||
name: output coverage report | ||
command: "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" | ||
- store_test_results: | ||
path: test-results | ||
- store_artifacts: | ||
path: test-results | ||
destination: test-results | ||
workflows: | ||
version: 2 | ||
tool-kit: | ||
when: | ||
not: | ||
|
@@ -53,47 +31,51 @@ workflows: | |
filters: | ||
branches: | ||
only: /(^renovate-.*|^nori/.*)/ | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
- tool-kit/setup: | ||
name: tool-kit/setup-<< matrix.executor >> | ||
requires: | ||
- checkout | ||
- waiting-for-approval | ||
matrix: | ||
parameters: | ||
executor: | ||
- node | ||
filters: | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
- tool-kit/build: | ||
node-version: 16.14-browsers | ||
name: tool-kit/build-<< matrix.executor >> | ||
requires: | ||
- tool-kit/setup | ||
- tool-kit/setup-<< matrix.executor >> | ||
matrix: | ||
parameters: | ||
executor: | ||
- node | ||
filters: | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
- tool-kit/test: | ||
node-version: 16.14-browsers | ||
name: tool-kit/test-<< matrix.executor >> | ||
requires: | ||
- tool-kit/build | ||
- tool-kit/build-<< matrix.executor >> | ||
matrix: | ||
parameters: | ||
executor: | ||
- node | ||
filters: | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
- testci-coverage: | ||
node-version: 16.14-browsers | ||
- tool-kit/publish-tag: | ||
requires: | ||
- tool-kit/build | ||
- tool-kit/test-node | ||
name: tool-kit/publish-tag-node | ||
executor: node | ||
filters: | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
- tool-kit/publish: | ||
node-version: 16.14-browsers | ||
context: npm-publish-token | ||
requires: | ||
- tool-kit/test | ||
- testci-coverage | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^v\d+\.\d+\.\d+(-.+)?/ | ||
context: npm-publish-token | ||
nightly: | ||
when: | ||
and: | ||
|
@@ -106,11 +88,26 @@ workflows: | |
jobs: | ||
- checkout | ||
- tool-kit/setup: | ||
name: tool-kit/setup-<< matrix.executor >> | ||
requires: | ||
- checkout | ||
matrix: | ||
parameters: | ||
executor: | ||
- node | ||
- tool-kit/build: | ||
name: tool-kit/build-<< matrix.executor >> | ||
requires: | ||
- tool-kit/setup | ||
- tool-kit/setup-<< matrix.executor >> | ||
matrix: | ||
parameters: | ||
executor: | ||
- node | ||
- tool-kit/test: | ||
name: tool-kit/test-<< matrix.executor >> | ||
requires: | ||
- tool-kit/build | ||
- tool-kit/build-<< matrix.executor >> | ||
matrix: | ||
parameters: | ||
executor: | ||
- node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.