This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
@vco/node-deploy-assist
0.0.38 • Public • Published 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
Package Sidebar
Install
npm i @vco/node-deploy-assist
Weekly Downloads