Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make pre-commit broke, fix and add .cirrus.yml test it's still sane #68

Open
anarazel opened this issue Jun 12, 2023 · 0 comments
Open
Assignees

Comments

@anarazel
Copy link
Owner

$ make pre-commit 
[...]
packer validate \
  -only "vanilla.*" \
  -var-file=packer/netbsd.pkrvars.hcl \
  -var gcp_project=pg-ci-images-dev \
  -var "image_date=2023-06t12-09-28" \
  -var "image_name=netbsd-vanilla" \
  -var "bucket=somebucket" \
  packer/netbsd_openbsd.pkr.hcl
Error: Unset variable "version"

A used variable must be set or have a default value; see
https://packer.io/docs/templates/hcl_templates/syntax for details.


make: *** [Makefile:11: pre-commit] Error 1

I think a sanity-check task run before all the others, which for now just does make pre-commit, would be good.

@nbyavuz nbyavuz self-assigned this Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants