b23150057a
This changeset moves the installation of Nomad binaries out of the provisioning framework and into scripts that are installed on the remote host during AMI builds. This provides a few advantages: * The provisioning framework can be reduced in scope (with the goal of moving most of it into the Terraform stack entirely). * The scripts can be arbitrarily complex if we don't have to stuff them into ssh commands, so it's easier to make them idempotent. In this changeset, the scripts check the version of the existing binary and don't re-download when using the `--nomad_sha` or `--nomad_version` flags. * The scripts can be OS/distro specific, which helps in building new test targets. |
||
---|---|---|
.. | ||
config_terraform.go | ||
config_vagrant.go | ||
default.go | ||
deploy.go | ||
example.json | ||
linux_runner.go | ||
preprovision.go | ||
provisioning.go | ||
ssh_runner.go | ||
targets.go |