All Projects → jrasell → Nomadfiles

jrasell / Nomadfiles

Licence: mit
A collection of Nomad job files for deploying applications to a cluster

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Nomadfiles

Levant
An open source templating and deployment tool for HashiCorp Nomad jobs
Stars: ✭ 510 (+473.03%)
Mutual labels:  hashicorp, nomad, continuous-deployment
vim-hcl
Syntax highlighting for HashiCorp Configuration Language (HCL)
Stars: ✭ 83 (-6.74%)
Mutual labels:  hcl, hashicorp, nomad
K2tf
Kubernetes YAML to Terraform HCL converter
Stars: ✭ 477 (+435.96%)
Mutual labels:  hashicorp, hcl
Terraform Best Practices
Terraform Best Practices for AWS users
Stars: ✭ 931 (+946.07%)
Mutual labels:  hashicorp, hcl
Trek
Trek is a CLI/ncurses explorer for HashiCorp Nomad clusters.
Stars: ✭ 26 (-70.79%)
Mutual labels:  hashicorp, nomad
Hcl
HCL is the HashiCorp configuration language.
Stars: ✭ 3,749 (+4112.36%)
Mutual labels:  hashicorp, hcl
Threatmapper
Identify vulnerabilities in running containers, images, hosts and repositories
Stars: ✭ 361 (+305.62%)
Mutual labels:  hcl, jenkins
Awesome Nomad
A curated list of amazingly awesome Nomad tools and shiny things.
Stars: ✭ 530 (+495.51%)
Mutual labels:  hashicorp, nomad
Terraform Aws Jenkins Ha Agents
A terraform module for a highly available Jenkins deployment.
Stars: ✭ 41 (-53.93%)
Mutual labels:  hcl, jenkins
Atlantis On Gke
A set of @HashiCorp Terraform configurations for running Atlantis on @GoogleCloud GKE
Stars: ✭ 44 (-50.56%)
Mutual labels:  hashicorp, hcl
Hashi Ui
A modern user interface for @hashicorp Consul & Nomad
Stars: ✭ 1,119 (+1157.3%)
Mutual labels:  hashicorp, nomad
Jenkins
Jenkins automation server
Stars: ✭ 18,225 (+20377.53%)
Mutual labels:  jenkins, continuous-deployment
bitnami-docker-jenkins
Bitnami Docker Image for Jenkins
Stars: ✭ 95 (+6.74%)
Mutual labels:  jenkins, continuous-deployment
Bzppx Codepub
暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
Stars: ✭ 471 (+429.21%)
Mutual labels:  jenkins, continuous-deployment
nomad-toast
A tool for receiving notifications based on HashiCorp Nomad events.
Stars: ✭ 40 (-55.06%)
Mutual labels:  hashicorp, nomad
vim-hclfmt
Vim plugin for hclfmt
Stars: ✭ 68 (-23.6%)
Mutual labels:  hcl, hashicorp
Gitops Terraform Jenkins
GitOps Workflow with Jenkins and Terraform
Stars: ✭ 73 (-17.98%)
Mutual labels:  hcl, jenkins
nomad-consult-ansible-centos
Deploy nomad & consult on centos with ansible
Stars: ✭ 17 (-80.9%)
Mutual labels:  hashicorp, nomad
Hcloud Okd4
Deploy OKD4 (OpenShift) on Hetzner Cloud
Stars: ✭ 29 (-67.42%)
Mutual labels:  hashicorp, hcl
Terraform Modules
Reusable Terraform modules
Stars: ✭ 63 (-29.21%)
Mutual labels:  hcl, nomad

nomadfiles

Continuous delivery examples for Nomad jobs.

This is a repository to hold the various Nomad job files I create and use. Included is also the corresponding Jenkinsfile for automated deployments and the Jenkins JobDSL file for configuring the Jenkins job.

This project sacrifices DRY in order to make the structure and usage clearer.

Levant

This example repository is configured to use Levant, an open source templating and deployment tool for HashiCorp Nomad jobs that provides realtime feedback and detailed failure messages upon deployment issues. Levant was written because Nomad does not support some important templating and deployment features, and this repository represents a simple way to use the tool in a large scale, multi-environment setup.

Directory Structure

The directory structure is designed to be easy to navigate, yet highly descriptive of your Nomad deployments throughout you environments.

Jobs Directory

The /jobs holds the Nomad job specification and deployment scripts. The directory is split into sub-directories named by the Nomad job.

  • job-name.groovy The .groovy files are Jenkins JobDSL which can be used to configure the deployment job correctly and in an automated, codified manner. Details about the JobDSL plugin and basic usage information can be found on the GitHub page.

  • job-name.nomad The Nomad job specification template file.

  • Jenkinsfile A Jenkinsfile is a text definition of the unit of work which the Jenkins deployment job will undertake.

Variables Directory

The /variables directory holds environment specific variables for each Nomad job. The directory can be split to better suit your needs, in this example, it is split by environment like /variables/prod. Within the subdirectory sits the variables files which correspond to a job that is held within the /jobs directory.

The variables configured for the nonprod environment should work in a local development setup when Nomad is run with nomad agent -dev.

Util Directory

The /util directory contains utility scripts which can be used from CI infrastructure to run common tasks on the desired job such as stop.

Contributing

Any contributions are much appreciated. Please submit Pull Requests and Issues to the nomadfiles project on GitHub.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].