Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elasticbyte/hashipm

Get the latest version of various HashiCorp packages.
https://github.com/elasticbyte/hashipm

bash consul hashicorp hashicorp-consul hashicorp-nomad hashicorp-packages hashicorp-packer hashicorp-terraform hashicorp-vault nomad packer terraform vault

Last synced: 28 days ago
JSON representation

Get the latest version of various HashiCorp packages.

Awesome Lists containing this project

README

        

# HashiCorp package manager

#### Get the latest version of various HashiCorp packages.

Hashipm supports the following packages:

- [Consul](https://www.consul.io)
- [Nomad](https://www.nomadproject.io)
- [Packer](https://www.packer.io)
- [Terraform](https://www.terraform.io)
- [Vault](https://www.vaultproject.io)

*Currently hashipm does not support any Windows specific packages.*

A project by [Elastic Byte](https://elasticbyte.net). Built with :heart: in :guitar: Nashville.

## Installation

```
git clone https://github.com/elasticbyte/hashipm.git
sudo ln -s "$PWD"/hashipm/hashipm.bash /usr/local/bin/hashipm
```

##### Bash shell

```
echo "export HASHIPM_ROOT=$PWD/hashipm" >> "$HOME"/.profile
source "$HOME"/.profile
```

##### Zsh shell

```
echo "export HASHIPM_ROOT=$PWD/hashipm" >> "$HOME"/.zshrc
source "$HOME"/.zshrc
```

## Requirements

- curl
- unzip

## API/Commands

### get

> get \ - Download and install package

```
➜ hashipm get terraform
Downloading terraform (0.11.7) from https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_darwin_amd64.zip...
Installed terraform (0.11.7) into /usr/local/bin
```

Or specifing the version
```
➜ hashipm.bash get terraform 0.12.19
Downloading terraform (0.12.19) from https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_linux_amd64.zip...
Installed terraform (0.12.19) into /usr/local/bin
```

### version

> version - Display the current version

```
➜ hashipm --version
hashipm v0.6.4

```

### help

> help - Display help

```
➜ hashipm --help
Usage: hashipm [--version] [--help] command [command-specific-args]

get Download and install package
```

## Changelog

https://github.com/elasticbyte/hashipm/blob/master/CHANGELOG.md

## Support, Bugs, And Feature Requests

Create issues here in GitHub (https://github.com/elasticbyte/hashipm/issues).

## Versioning

For transparency and insight into the release cycle, and for striving to maintain backward compatibility, [hashipm](https://github.com/elasticbyte/hashipm) will be maintained under the semantic versioning guidelines.

Releases will be numbered with the follow format:

`..`

And constructed with the following guidelines:

+ Breaking backward compatibility bumps the major (and resets the minor and patch)
+ New additions without breaking backward compatibility bumps the minor (and resets the patch)
+ Bug fixes and misc changes bumps the patch

For more information on semantic versioning, visit https://semver.org.

## License & Legal

Copyright 2018-2020 [Elastic Byte](https://elasticbyte.net)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.