# asgard-deployer

> Executes automated deployments in Asgard

Latest version **1.2.4** (published 2016-06-01) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install asgard-deployer
pnpm add asgard-deployer
yarn add asgard-deployer
bun add asgard-deployer
```

Provides the command `asgard-deployer`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2016-06-01 |
| First published | 2015-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Springworks |
| Maintainers | springworks |

## Links

- npm: https://www.npmjs.com/package/asgard-deployer
- Repository: https://github.com/Springworks/node-asgard-deployer
- Homepage: https://github.com/Springworks/node-asgard-deployer#readme
- Issues: https://github.com/Springworks/node-asgard-deployer/issues
- npm.io page: https://npm.io/package/asgard-deployer

## Dependencies (5)

- [bunyan](https://npm.io/package/bunyan.md) 1.5.1
- [bluebird](https://npm.io/package/bluebird.md) 2.10.2
- [@springworks/api-client](https://npm.io/package/@springworks/api-client.md) 5.1.0
- [@springworks/error-factory](https://npm.io/package/@springworks/error-factory.md) 2.0.3
- [@springworks/input-validator](https://npm.io/package/@springworks/input-validator.md) 3.1.1

## Recent versions

- 1.2.4 (latest) — 2016-06-01
- 1.2.3 — 2016-02-24
- 1.2.2 — 2015-10-29
- 1.2.1 — 2015-10-29
- 1.2.0 — 2015-10-15
- 1.1.0 — 2015-10-13
- 1.0.4 — 2015-10-13
- 1.0.3 — 2015-10-13
- 1.0.2 — 2015-10-12
- 1.0.1 — 2015-10-12
- 1.0.0 — 2015-10-12

## README

# Asgard Deployer

Executes automated deployments in [Asgard](https://github.com/Netflix/asgard).

## Environment variables

- `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)

## Execution of deployment

### Locally

Install module:
```
npm i asgard-deployer
```

Create a new automated deployment based on the most recently created auto-scaling group in the cluster:
```sh
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)

### Globally

Install module:
```
npm i -g asgard-deployer
```

Run from command line:
```
asgard-deployer "<cluster name>" <wait to complete>
```

## Development
The library is built using ES6, but code is generated to ES5 by [Babel](https://babeljs.io).

---
_Source: https://npm.io/package/asgard-deployer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
