Hi, packer is failing when inspec returns a 101 exit code due to skipped tests.
Build 'amazon-ebs' errored: Error executing Inspec: Non-zero exit status: exit status 100 ==> Some builds didn't complete successfully and had errors: --> amazon-ebs: Error executing Inspec: Non-zero exit status: exit status 100 ==> Builds finished but no artifacts were created. Is there a way to use additional exit codes? https://github.com/inspec/inspec/issues/1825#issuecomment-382650911 0 run ok + all passed: 100 run okay + failures 101 run okay + skipped only The powershell provisioner has a way to specify valid exit codes https://github.com/hashicorp/packer/issues/6120 https://www.packer.io/docs/provisioners/powershell.html#valid_exit_codes and it looks like the shell provisioner is getting one as well https://github.com/hashicorp/packer/pull/7385 thanks -N -- 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/18d8d8ba-36c8-4bbe-bbb5-c27dbbc74e1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
