Stops and removes wf container before building
This commit is contained in:
parent
bab38a0ea8
commit
0b6377f42c
|
@ -13,11 +13,12 @@
|
|||
"lint": "ng lint",
|
||||
"e2e": "./node_modules/protractor/bin/webdriver-manager update && ng e2e",
|
||||
"e2e:with-wf": "npm run wf && ng e2e",
|
||||
"wf:build": "docker build -t wf github.com/sartography/cr-connect-workflow",
|
||||
"wf:stop": "docker stop wf && docker system prune -f",
|
||||
"wf:build": "docker build -t wf github.com/sartography/cr-connect-workflow#feature/update-task-data",
|
||||
"wf:start": "docker run -d --name wf -p 5000:5000 wf",
|
||||
"wf:db": "docker exec -it wf sh -c 'pipenv run flask db upgrade'",
|
||||
"wf:data": "docker exec -it wf sh -c 'pipenv run flask load-example-data'",
|
||||
"wf": "npm run wf:build && npm run wf:start && npm run wf:db && npm run wf:data",
|
||||
"wf": "npm run wf:stop && npm run wf:build && npm run wf:start && npm run wf:db && npm run wf:data",
|
||||
"ci": "npm run lint && npm run test:once && npm run e2e:with-wf && sonar-scanner"
|
||||
},
|
||||
"private": true,
|
||||
|
|
Loading…
Reference in New Issue