seybold-gmbh/Deploy to Nomad via SSH
Deploys, stops, or restarts Nomad jobs via SSH with variable substitution
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh-host | SSH host to connect to | yes | — |
| ssh-user | SSH user for authentication | yes | — |
| ssh-key | SSH private key for authentication (plain text or base64 encoded) | yes | — |
| nomad-addr | Nomad server address | no | http://127.0.0.1:4646 |
| action | Action to perform (run, stop, restart, status) | yes | run |
| service-name | Name of the service/job to deploy | yes | — |
| hcl-template | Path to HCL template file (relative to repository root) | yes | — |
| hcl-variables | Path to HCL variables file (relative to repository root) | yes | — |
| env-vars | Environment variables for variable substitution (YAML dict or JSON object) | yes | — |
| verify-deployment | Whether to verify deployment after running | no | true |
| workspace-path | Remote workspace path on SSH host | no | ~/nomad-deploy |
Outputs
| name | description |
|---|---|
| deployment-status | Status of the deployment |
| job-status | Nomad job status output |