|
|
@ -64,4 +64,20 @@ jobs: |
|
|
command: dockerize wait tcp://localhost:5432 -timeout 1m |
|
|
command: dockerize wait tcp://localhost:5432 -timeout 1m |
|
|
- run: |
|
|
- run: |
|
|
name: e2e test |
|
|
name: e2e test |
|
|
command: yarn test:e2e |
|
|
|
|
|
|
|
|
command: yarn test:e2e |
|
|
|
|
|
build_docker: |
|
|
|
|
|
environment |
|
|
|
|
|
IMAGE_NAME: 698148/my-awesome |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: circleci/buildpack-deps:stretch |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- run: bash scripts/generate.sh > Dockerfile |
|
|
|
|
|
|
|
|
|
|
|
- run: docker login -u $698148 -p $n698k148* |
|
|
|
|
|
|
|
|
|
|
|
- run: docker build -t $698148/$IMAGE_NAME:app . |
|
|
|
|
|
|
|
|
|
|
|
- run: docker push $698148/$IMAGE_NAME:$IMAGE_TAG && sleep 10 |
|
|
|
|
|
|
|
|
|
|
|
|