You need to run amazon-chroot from an AWS EC2 instance, the only way to run that from travis is to issue a ssh command from travis that runs the build on an instance you have running. (I'm not sure you can ssh out from Travis.)
// Rickard On 24 April 2017 at 19:26, Stephen <step...@streetbees.com> wrote: > Hi, > > I've been using the ebs builder to create AMI's during Travis CI builds > with success but with builds taking about 20 mins (including terraform > change time) I was hoping to speed up the packer part of the build by using > the chroot builder. However I'm struggling to understand how to fit it in > with my current process. Essentially I want to trigger the chroot builder > from my travis build but I dont see any way to do it as the builder is > expecting it to be run locally from within AWS. > > Is anyone using the chroot builder in this way or can advise on how I can > go about doing this? > > Many thanks > Stephen > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/afeecf5f-37f0-46f0-aefa-bb627cb9556d%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/afeecf5f-37f0-46f0-aefa-bb627cb9556d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt91kRFQJPDpB9tCsdtQ2heuOWT_RBN4CnckJpunuzMdHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.