Skip to content

zhenik-poc/hashicorp-vagrant-cd-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashicorp vagrant CD/CI

Example of CD/CI for nomad jobs:

  • Consul
  • Nomad
  • Vagrant
  • Ansible
  • Docker

Test strategy

  1. Use Vagrant box with installed HashiCorp stack (Consul, Nomad, Vault, etc...)
  2. Use Ansible integration with Vagrant for provisioning
    • Wait for nomad available
    • Run nomad job(s)
    • Wait until all service's healthchecks become in status passing

References

ANSIBLE_ARGS='--extra-vars "mode=test"' vagrant up provision