Closed esacteksab closed 5 years ago
Once #12 is complete, a server in Packet should exist.
Figure out how to run a packer build inside of the server. Reference https://github.com/hashicorp/vagrant-teamcity for ideas/guidance, but don't get too hung up -- it's scary out there! This might be of some use https://stackoverflow.com/questions/32467128/how-to-give-circle-ci-ssh-access-to-my-server
[x] Provision the server: CircleCI -> Packet.net Server (Provisioned via #12)
[x] Server Exists CircleCI -> SSH -> Git clone on your Packer Repo, cd packer repo, run the command packer build ubuntu.json
packer build ubuntu.json
[x] Qemu Image Exists Packer -> Put the image somewhere where? Vagrant cloud? S3 bucket? Artifactory? (Talk to JP/Matt/Eng Services)
[x] Qemu Image is stored remotely CircleCI step -> terraform destroy (pseudo code: terraform destroy --auto-approve terraform.plan
terraform destroy
terraform destroy --auto-approve terraform.plan
Once #12 is complete, a server in Packet should exist.
Figure out how to run a packer build inside of the server. Reference https://github.com/hashicorp/vagrant-teamcity for ideas/guidance, but don't get too hung up -- it's scary out there! This might be of some use https://stackoverflow.com/questions/32467128/how-to-give-circle-ci-ssh-access-to-my-server
[x] Provision the server: CircleCI -> Packet.net Server (Provisioned via #12)
[x] Server Exists CircleCI -> SSH -> Git clone on your Packer Repo, cd packer repo, run the command
packer build ubuntu.json
[x] Qemu Image Exists Packer -> Put the image somewhere where? Vagrant cloud? S3 bucket? Artifactory? (Talk to JP/Matt/Eng Services)
[x] Qemu Image is stored remotely CircleCI step ->
terraform destroy
(pseudo code:terraform destroy --auto-approve terraform.plan