Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/let-sh/nomad-deploy-result-action
github actions to handle nomad deploy result
https://github.com/let-sh/nomad-deploy-result-action
Last synced: 3 months ago
JSON representation
github actions to handle nomad deploy result
- Host: GitHub
- URL: https://github.com/let-sh/nomad-deploy-result-action
- Owner: let-sh
- Created: 2021-07-11T15:56:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T22:35:43.000Z (about 2 years ago)
- Last Synced: 2024-07-04T12:48:41.362Z (4 months ago)
- Language: JavaScript
- Size: 642 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nomad - let-sh/nomad-deploy-result-action - A GitHub action for automating Nomad deploys with GitOps. (Utilities)
README
# Nomad deploy result action
This action waiting for nomad deployment result. Sucess to continue, Failed to stop.
## Inputs
| input | required | default | sample | description |
| --------------- | -------- | ----------------------- | -------------------------------------- | ------------------------------ |
| nomad-addr | ✅ | "http://localhost:4646" | "http://localhost:4646" | Nomad endpoint address |
| nomad-token | ✅ | "" | "F5476034-7A75-4A27-BA45-65B0F7B291B9" | Nomad token to access endpoint |
| nomad-job-name | ✅ | "" | "nginx" | Nomad job to inspect |
| nomad-namespace | | "default" | "default" | Nomad namespace |## Outputs
| output | sample | description |
| ------ | ----------- | ---------------------------- |
| result | "succesful" | job deployment status result |## Example usage
```yml
- name: Check deployment result
uses: let-sh/nomad-deploy-result-action@v1
with:
nomad-addr: ${{ secrets.NOMAD_ADDR }}
nomad-token: ${{ secrets.NOMAD_TOKEN }}
nomad-job-name: ${{ secrets.NOMAD_JOB }}
nomad-namespace: ${{ secrets.NOMAD_NAMESPACE }}
```