0.0.38 • Published 5 years ago

@vco/node-deploy-assist v0.0.38

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago