Skip to content

hashicorp-forge/nomad-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nomad Pipeline

An experimental (3 day hack project) Nomad Pipeline application. It supports chaining of Nomad job specifications as well as inline step functions.

The project is unsupported and unofficial. The project intention is to show what is possible and garner interest.

Demo

To run any of the three included demos, you will need to have Nomad and Docker available and running.

Clone the repository and start a nomad-pipeline server:

git clone
cd nomad-pipeline
make
./bin/nomad-pipeline server run

Create the flow specification you wish to run. There are currently three available within the demo directory:

./bin/nomad-pipeline flow create <path_to_spec>

Run the flow you just created:

./bin/nomad-pipeline flow run <flow_id>

You can then explore the nomad-pipeline run sub-commands to discover the run information.

What Is Bad?

  • Run logs are not periodically removed from the data directory
  • There is no way to alter the server configuration parameters

What Could It Do?

  • Flow specification input parameters which are provided on run trigger
  • Flow specification interpolation, provided by HIL
  • Flow specification conditional logic; "if this step fails, do this, else continue"
  • Flow specification HCL2 functions
  • Shared state across flow jobs, provided by Dynamic Host Volumes
  • Offer runners via the Nomad libvirt driver
  • Provide a UI to front the HTTP API
  • A state backend which supports persistence
  • Identify and automatically upload end of pipeline artifacts

About

No description or website provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •