Skip to content

Commit

Permalink
updated to latest node lts version 12.16.0 (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmothilal authored Feb 12, 2020
1 parent 01324f6 commit 3321654
Show file tree
Hide file tree
Showing 3 changed files with 489 additions and 111 deletions.
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ defaults_working_directory: &defaults_working_directory

defaults_docker_node: &defaults_docker_node
docker:
- image: node:10.15.3-alpine
- image: mhart/alpine-node:12.16.0

defaults_Dependencies: &defaults_Dependencies |
defaults_Dependencies: &defaults_Dependencies |
apk --no-cache add \
git \
ca-certificates \
Expand All @@ -17,7 +17,7 @@ defaults_Dependencies: &defaults_Dependencies |
bash
apk add --no-cache -t build-dependencies make gcc g++ python libtool autoconf automake

defaults_awsCliDependencies: &defaults_awsCliDependencies |
defaults_awsCliDependencies: &defaults_awsCliDependencies |
apk --no-cache add \
python \
py-pip \
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules

test-unit:
<<: *defaults_working_directory
<<: *defaults_docker_node
Expand All @@ -100,7 +100,7 @@ jobs:
prefix: test
- store_test_results:
path: ./test/results

test-coverage:
<<: *defaults_working_directory
<<: *defaults_docker_node
Expand All @@ -127,11 +127,11 @@ jobs:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ];
then
echo "Sending lcov.info to SonarQube... "
echo "Sending lcov.info to SonarQube... "
aws s3 cp coverage/lcov.info $AWS_S3_DIR_SONARQUBE/central-services-error-handling/lcov.info
else
echo "Not a release (env CIRCLE_BRANCH != 'master'), skipping sending lcov.info to SonarQube."
fi
echo "Not a release (env CIRCLE_BRANCH != 'master'), skipping sending lcov.info to SonarQube."
fi
vulnerability-check:
<<: *defaults_working_directory
<<: *defaults_docker_node
Expand All @@ -147,7 +147,7 @@ jobs:
command: mkdir -p ./audit/results
- run:
name: Check for new npm vulnerabilities
command: npm run audit:check --silent -- --json > ./audit/results/auditResults.json
command: npm run audit:check --silent -- --json > ./audit/results/auditResults.json
- store_artifacts:
path: ./audit/results
prefix: audit
Expand All @@ -173,7 +173,7 @@ jobs:
- store_artifacts:
path: /tmp/license-scanner/results
prefix: licenses

build-snapshot:
<<: *defaults_working_directory
<<: *defaults_docker_node
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
echo 'export RELEASE_TAG=$RELEASE_TAG_PROD' >> $BASH_ENV
- run:
<<: *defaults_npm_auth
- run:
- run:
<<: *defaults_npm_publish_release
- run:
<<: *defaults_slack_announcement
Expand All @@ -222,7 +222,7 @@ workflows:
tags:
only: /.*/
branches:
ignore:
ignore:
- /feature*/
- /bugfix*/
- test-unit:
Expand All @@ -233,7 +233,7 @@ workflows:
tags:
only: /.*/
branches:
ignore:
ignore:
- /feature*/
- /bugfix*/
- test-coverage:
Expand All @@ -244,7 +244,7 @@ workflows:
tags:
only: /.*/
branches:
ignore:
ignore:
- /feature*/
- /bugfix*/
- vulnerability-check:
Expand Down Expand Up @@ -281,7 +281,7 @@ workflows:
tags:
only: /v[0-9]+(\.[0-9]+)*\-snapshot+((\.[0-9]+)?)/
branches:
ignore:
ignore:
- /.*/
- build:
context: org-global
Expand All @@ -295,5 +295,5 @@ workflows:
tags:
only: /v[0-9]+(\.[0-9]+)*/
branches:
ignore:
ignore:
- /.*/
Loading

0 comments on commit 3321654

Please sign in to comment.