seybold-gmbh/Deploy to Nomad via SSH

Deploys, stops, or restarts Nomad jobs via SSH with variable substitution

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ssh-hostSSH host to connect toyes
ssh-userSSH user for authenticationyes
ssh-keySSH private key for authentication (plain text or base64 encoded)yes
nomad-addrNomad server addressnohttp://127.0.0.1:4646
actionAction to perform (run, stop, restart, status)yesrun
service-nameName of the service/job to deployyes
hcl-templatePath to HCL template file (relative to repository root)yes
hcl-variablesPath to HCL variables file (relative to repository root)yes
env-varsEnvironment variables for variable substitution (YAML dict or JSON object)yes
verify-deploymentWhether to verify deployment after runningnotrue
workspace-pathRemote workspace path on SSH hostno~/nomad-deploy
namedescription
deployment-statusStatus of the deployment
job-statusNomad job status output