Executes automated deployments in Asgard.
NODE_ASGARD_DEPLOYER_ASGARD_HOST
, e.g.https://asgard.mydomain.com
(required)NODE_ASGARD_DEPLOYER_AWS_REGION
, e.g.eu-west-1
(required)NODE_ASGARD_DEPLOYER_ASGARD_USERNAME
, username if Asgard is behind basic auth (optional)NODE_ASGARD_DEPLOYER_ASGARD_PASSWORD
, password if Asgard is behind basic auth (optional)
Install module:
npm i asgard-deployer
Create a new automated deployment based on the most recently created auto-scaling group in the cluster:
node ./deploy.js "<cluster name>" <wait to complete>
<cluster name>
: name of the Asgard cluster<wait to complete>
:true | false
, deciding if process should be kept alive until entire deployment has completed (several minutes)
Install module:
npm i -g asgard-deployer
Run from command line:
asgard-deployer "<cluster name>" <wait to complete>
The library is built using ES6, but code is generated to ES5 by Babel.