|
|
@ -16,7 +16,6 @@ jobs: |
|
|
# fallback to using the latest cache if no exact match is found |
|
|
# fallback to using the latest cache if no exact match is found |
|
|
- dependencies- |
|
|
- dependencies- |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- heroku/install |
|
|
|
|
|
- save_cache: |
|
|
- save_cache: |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
@ -118,11 +117,11 @@ jobs: |
|
|
docker tag app $DOCKER_HUB_USER_ID/my-awesome-ci-expr:latest |
|
|
docker tag app $DOCKER_HUB_USER_ID/my-awesome-ci-expr:latest |
|
|
docker push $DOCKER_HUB_USER_ID/my-awesome-ci-expr:$CIRCLE_BUILD_NUM |
|
|
docker push $DOCKER_HUB_USER_ID/my-awesome-ci-expr:$CIRCLE_BUILD_NUM |
|
|
docker push $DOCKER_HUB_USER_ID/my-awesome-ci-expr:latest |
|
|
docker push $DOCKER_HUB_USER_ID/my-awesome-ci-expr:latest |
|
|
smoketest: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: buildpack-deps:trusty |
|
|
|
|
|
|
|
|
deploy: |
|
|
|
|
|
executor: heroku/default |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
- heroku/install |
|
|
- run: |
|
|
- run: |
|
|
name: Smoke Test |
|
|
name: Smoke Test |
|
|
command: | |
|
|
command: | |
|
|
@ -186,9 +185,12 @@ workflows: |
|
|
filters: |
|
|
filters: |
|
|
branches: |
|
|
branches: |
|
|
only: main |
|
|
only: main |
|
|
|
|
|
- deploy: |
|
|
|
|
|
requires: |
|
|
|
|
|
- build |
|
|
- heroku/deploy-via-git: |
|
|
- heroku/deploy-via-git: |
|
|
requires: |
|
|
requires: |
|
|
- build |
|
|
|
|
|
|
|
|
- deploy |
|
|
- lint |
|
|
- lint |
|
|
- back-test-e2e |
|
|
- back-test-e2e |
|
|
- back-test-unit |
|
|
- back-test-unit |
|
|
|