personal-measure/strawboss.config.json
2019-04-06 19:03:02 -05:00

32 lines
747 B
JSON

{
"name": "personal-measure",
"steps": {
"buildApi": {
"artifacts": ["personal_measure_api"],
"containerImage": "nimlang/nim:0.19.4",
"stepCmd": "nimble build",
"workingDir": "api"
},
"buildWeb": {
"artifacts": ["pm-api-v${VERSION}.tar.gz"],
"containerImage": "node:lts-alpine",
"cmdInput": [
"npm install",
"npm run build",
"tar czf pm-api-v${VERSION}.tar.gz"
],
"workingDir": "web"
},
"deployApi": {
"containerImage": "garland/aws-cli-docker",
"cmdInput": [],
"depends": ["buildApi"]
},
"deployWeb": {
"containerImage": "garland/aws-cli-docker",
"cmdInput": [],
"depends": ["buildWeb"]
}
}
}