Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

clevyr/nomad-deploy-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nomad-deploy-action

This repo will take a Nomad job, replace a string of "[[.version]]" with the input Docker tag, authorize itself with an AWS security group, and deploy the job file.

Environment Variables

Variable Details Example
AWS_ACCESS_KEY_ID AWS Access Key for security group authorization. AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY AWS Secret Access Key for security group authorization. wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_REGION The region of the security group to whitelist us-east-2
AWS_SECURITY_GROUP AWS Security Group to allow deployment through. sg-087a364e3473445852
NOMAD_JOB The Nomad job file path. nomad-jobs/dev/app.nomad
DOCKER_TAG The Docker tag to replace before deploying. latest
NOMAD_ADDR The remote Nomad url. https://example.com
NOMAD_PORT The remote Nomad port. 4646
USE_LEVANT Deploy using Levant instead of Nomad false
LEVANT_VERSION Levant version to use 0.2.8
LEVANT_PROMOTE_TIME Time before calling Levant's auto_promote 45

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published