0.0.38 • Published 4 years ago
@vco/node-deploy-assist v0.0.38
Setup
- Add node-deploy-assist as devDependency to project
- Update values in services config file: src/services/config.yml
- All services to be defined in src/services directory
- Create 'deploy' script in package.json
"scripts": {
"deploy": "node ./node_modules/@vco/node-deploy-assist deploy",
}
- Default values of cli command pulled from config.yml file
Creating Cloudformation Based Services
- Each CFN service, i.e. src/services/network, requires a stack.yml file + stack-policy.json file.
- An optional parameters.json can also be provided to customize values passed into cloudformation template
- Upon deployment, an 'outputs' directory will be created with a stack-output.STAGENAME.json file
Creating SLS Based Services
- Each service, i.e. src/services/appsync, requires a serverless.yml file
- Upon deployment, an 'outputs' directory will be created with a service-info.STAGENAME.json and stack-output.STAGENAME.json file
Deployment via CLI
Usage: npm run deploy <services> -profile [str] -stage [str] -region [str]
Options:
--help, -h Show help [boolean]
--stage, -s Deployment stage/environment [string] [default: "develop"]
--region, -r AWS deployment region [string] [default: "us-east-1"]
--profile, -p AWS credentials profile [string] [default: "vahag@vcomedia"]
TODO
- Parallel vs Series Processing of Steps
- Pass service Path and outputs path as options via CLI
- delete cfn and sls stacks from command line?
- nested stack support?
- show cfn depoyment events like sls
- create ECS deployment method
- create K8 deployment method
- add example project
- how to handle rollback of failure when there are multiple services being deployed at once
0.0.38
4 years ago
0.0.37
4 years ago
0.0.36
4 years ago
0.0.35
4 years ago
0.0.34
4 years ago
0.0.33
4 years ago
0.0.32
4 years ago
0.0.31
4 years ago
0.0.30
4 years ago
0.0.29
4 years ago
0.0.28
4 years ago
0.0.27
4 years ago
0.0.26
4 years ago
0.0.25
4 years ago
0.0.24
4 years ago
0.0.23
4 years ago
0.0.22
4 years ago
0.0.21
4 years ago
0.0.20
4 years ago
0.0.19
4 years ago
0.0.18
4 years ago
0.0.17
4 years ago
0.0.16
4 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago