Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getparthenon/levant-deploy
https://github.com/getparthenon/levant-deploy
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/getparthenon/levant-deploy
- Owner: getparthenon
- License: mit
- Created: 2021-11-03T19:50:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-09T08:23:54.000Z (about 3 years ago)
- Last Synced: 2025-01-03T15:23:48.906Z (7 days ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Nomad Levant Deploy
===================Based off of [qazz92/nomad-deploy-action](https://github.com/qazz92/nomad-deploy-action)
This does deployments using Levant and Nomad.
Straightforward checkout then publish
```yaml
name: Deploy Nomad Job
on: [push]
jobs:
deploy:
name: Nomad Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v1- name: Deploy with Nomad
uses: getparthenon/levant-deploy@main
with:
token: ${{ secrets.NOMAD_TOKEN }}
address: ${{ secrets.NOMAD_ADDR }}
job: path/to/your/nomad/job/file
config: path/to/your/levant/config/file
```## Parameters
* `token`: passed as `-token=` to the `nomad job run` command ([see here how to get one](https://www.nomadproject.io/guides/security/acl.html#acl-tokens))
* `address`: public address of a nomad server (passed as `-address=`)
* `job`: path to the nomad job specification to run ([defined according to the spec here](https://www.nomadproject.io/docs/job-specification/index.html))
* `config`: path to the levant config file