buildkite / elastic-ci-stack-for-aws

An auto-scaling cluster of build agents running in your own AWS VPC
https://buildkite.com/docs/quickstart/elastic-ci-stack-aws
MIT License
418 stars 271 forks source link

Missing "build" folder for packe #1374

Closed kenny-ferrer closed 1 month ago

kenny-ferrer commented 1 month ago

Describe the bug Missing build folder from the repo

buildkite-ami.pkr.hcl for Linux has a Provisioner file

provisioner "file" { destination = "/tmp/build" source = "../../build" }

This is located in elastic-ci-stack-for-aws/packer/linux/buildkite-ami.pkr.hcl line 90

This will fail the image cration

DrJosh9000 commented 1 month ago

Hi @kenny-ferrer, the build folder is created prior to running packer by some actions in the Makefile, e.g.:

https://github.com/buildkite/elastic-ci-stack-for-aws/blob/c7167d4a71c60daf52c70b9cf5078bd41bb517dc/Makefile#L51

kenny-ferrer commented 1 month ago

Thank you @DrJosh9000, I should have search better.