Move the strawboss config to the right place.
This commit is contained in:
33
strawboss.json
Normal file
33
strawboss.json
Normal 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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user