Browse Source

Updated config.yml

hotfix/wow
Anthony Quéré 5 years ago
parent
commit
de375d75c7
  1. 24
      .circleci/config.yml

24
.circleci/config.yml

@ -6,9 +6,9 @@ globals:
username: anthonyjhoiro username: anthonyjhoiro
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
setup: &setup
- checkout
- restore_cache:
setup:
- &install-cache
restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }} - npm-v1-dependencies-{{ checksum "yarn.lock" }}
@ -19,7 +19,8 @@ jobs:
docker: docker:
- *docker-config - *docker-config
steps: steps:
<<: *setup
- checkout
- *install-cache
- run: - run:
name: Install deps using Yarn name: Install deps using Yarn
command: yarn install command: yarn install
@ -34,7 +35,8 @@ jobs:
docker: docker:
- *docker-config - *docker-config
steps: steps:
<<: *setup
- checkout
- *install-cache
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-lint-{{ .BuildNum }} - npm-v1-lint-{{ .BuildNum }}
@ -55,7 +57,8 @@ jobs:
docker: docker:
- *docker-config - *docker-config
steps: steps:
<<: *setup
- checkout
- *install-cache
- run: - run:
name: Unit Tests name: Unit Tests
command: yarn test command: yarn test
@ -71,7 +74,8 @@ jobs:
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
POSTGRES_DB: psdb POSTGRES_DB: psdb
steps: steps:
<<: *setup
- checkout
- *install-cache
- run: - run:
name: Run e2e tests name: Run e2e tests
@ -84,7 +88,8 @@ jobs:
- *docker-config - *docker-config
steps: steps:
<<: *setup
- checkout
- *install-cache
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-lint-{{ .BuildNum }} - npm-v1-lint-{{ .BuildNum }}
@ -100,7 +105,8 @@ jobs:
- *docker-config - *docker-config
steps: steps:
<<: *setup
- checkout
- *install-cache
- setup_remote_docker - setup_remote_docker
- run: - run:
name: Build and Push docker image name: Build and Push docker image

Loading…
Cancel
Save