Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.yml
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | ibd-no-assumevalid-checkpoint: | ||||
timeout: 28800 | timeout: 28800 | ||||
artifacts: | artifacts: | ||||
ibd/debug.log: log/debug.log | ibd/debug.log: log/debug.log | ||||
# This template expect the following environment variables to be set: | # This template expect the following environment variables to be set: | ||||
# - JS_PROJECT_ROOT: the root directory for the js project being tested, | # - JS_PROJECT_ROOT: the root directory for the js project being tested, | ||||
# relative to the repository top level (no trailing /). | # relative to the repository top level (no trailing /). | ||||
js-mocha: | js-mocha: | ||||
runOnDiffRegex: | |||||
- ${JS_PROJECT_ROOT}/ | |||||
artifacts: | artifacts: | ||||
coverage.tar.gz: coverage.tar.gz | coverage.tar.gz: coverage.tar.gz | ||||
script: | | script: | | ||||
# Convert hyphen separated words to space separated capitalized words | # Convert hyphen separated words to space separated capitalized words | ||||
project_to_suite() { | project_to_suite() { | ||||
HYPHEN_SEPARATED=$1 | HYPHEN_SEPARATED=$1 | ||||
WORD_SEPARATED=($(echo "${HYPHEN_SEPARATED//-/ }")) | WORD_SEPARATED=($(echo "${HYPHEN_SEPARATED//-/ }")) | ||||
echo "${WORD_SEPARATED[@]^}" | echo "${WORD_SEPARATED[@]^}" | ||||
▲ Show 20 Lines • Show All 565 Lines • ▼ Show 20 Lines | script: | | ||||
} | } | ||||
trap "move_junit_report" EXIT | trap "move_junit_report" EXIT | ||||
npm run test -- \ | npm run test -- \ | ||||
--reporters=default \ | --reporters=default \ | ||||
--reporters=jest-junit | --reporters=jest-junit | ||||
alias-server-tests: | alias-server-tests: | ||||
runOnDiffRegex: | |||||
- apps/alias-server/ | |||||
env: | env: | ||||
JS_PROJECT_ROOT: apps/alias-server | JS_PROJECT_ROOT: apps/alias-server | ||||
templates: | templates: | ||||
- js-mocha | - js-mocha | ||||
ecash-herald-tests: | ecash-herald-tests: | ||||
runOnDiffRegex: | |||||
- apps/ecash-herald/ | |||||
env: | env: | ||||
JS_PROJECT_ROOT: apps/ecash-herald | JS_PROJECT_ROOT: apps/ecash-herald | ||||
templates: | templates: | ||||
- js-mocha | - js-mocha | ||||
preview-e.cash: | preview-e.cash: | ||||
docker: | docker: | ||||
context: web/e.cash | context: web/e.cash | ||||
port: 3000 | port: 3000 |