Move the strawboss config to the right place.

This commit is contained in:
Jonathan Bernard
2019-04-06 19:50:29 -05:00
parent c111bd8e6e
commit fcf0cf18f6

33
strawboss.json Normal file
View File

@@ -0,0 +1,33 @@
{
"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"],
"expectedEnv": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION"]
},
"deployWeb": {
"containerImage": "garland/aws-cli-docker",
"cmdInput": [],
"depends": ["buildWeb"],
"expectedEnv": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION"]
}
}
}