Skip to content

Commit

Permalink
CI attempt e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviv Rozenboim committed Mar 9, 2020
1 parent 36ebec0 commit 142c7ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
21 changes: 13 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2.1
orbs:
docker: circleci/docker@0.5.20
node: circleci/node@1.1.6
executors:
linux:
machine:
Expand All @@ -20,19 +21,23 @@ jobs:
- docker/push:
image: soluto/stitch
tag: '$CIRCLE_TAG'
build_test:
executor: linux
steps:
- checkout
- node/install:
install-yarn: false
- run:
command: |
cd services
npm ci
npm run test:full
workflows:
version: 2
pull_request:
jobs:
- docker/publish:
executor: linux
deploy: false
docker-username: DOCKERHUB_USERNAME
docker-password: DOCKERHUB_PASSWORD
image: soluto/stitch
path: ./services
dockerfile: deployment/docker/Dockerfile
- build_test:
filters:
branches:
ignore:
Expand Down
2 changes: 1 addition & 1 deletion services/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ dist/

deployment/dev
.vscode/
src/e2e
src/tests/e2e

0 comments on commit 142c7ca

Please sign in to comment.