Ya I use the manifest for post validation and accounting for the AMIs I create as well.
On Thu, Jan 3, 2019, 12:30 PM Alvaro Miranda Aguilera <[email protected] wrote: > Hello > > Have you seen this? > https://www.packer.io/docs/post-processors/manifest.html > > Alvaro. > > On Thu, Jan 3, 2019 at 5:50 PM <[email protected]> > wrote: > >> Hi everyone, >> >> I want to use packer & terraform in a CI environment to deploy projects >> on GCP. >> >> The missing piece in my environment is the build status from packer : I >> don't want to update my infrastructure if my images are missing. >> So I went on a quest to find the best way to get the build status from >> packer... >> >> >> - I found some resource on the issue tracker, where it is stated that >> packer's exit code does not reflects the build status (see here >> <https://github.com/hashicorp/packer/issues/6022>) >> - Since the logs are not structured, it does not seem reliable to >> parse them for the "build finished" statement (especially if there are >> parallel builds). >> - I could use gcloud directly to check if the image exists, but it >> feels like something is missing to packer. >> Besides, my image names are computed with packer variables, which >> means I should recompute them externally, duplicating information. >> >> >> None of these solution seem reliable to me, and I feel like this is the >> kind of information that should be available from packer directly. >> Do you know a better way than these ? >> >> Yours, >> Arnaud >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/de0bac72-4b5d-4360-b987-2e0ca69ac05e%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/de0bac72-4b5d-4360-b987-2e0ca69ac05e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Alvaro > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CAHqq0extU7Ap_uqgoLnj_3VmFrhGxTk6KEswfKfuGhjD3jUZYQ%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0extU7Ap_uqgoLnj_3VmFrhGxTk6KEswfKfuGhjD3jUZYQ%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAAjoyaWNSdfjY8zw0ptvgLRDcYb94avcTD5R3pv0LOHWb2Jzpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
