-
Notifications
You must be signed in to change notification settings - Fork 6
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
✨ Update to cnspec v9 #132
Conversation
I tried different setups. Building a GCP VM image with upstream config from my home dir:
Building docker image with upstream config from my home dir:
Building a docker image with incognito mode:
|
6af84ae
to
56637e3
Compare
Signed-off-by: Christian Zunker <[email protected]>
56637e3
to
ef780f4
Compare
@scottford-io / @chris-rock Could you please give this a try? |
Fixes #129 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked great. I tested it with GCP and Docker.
@@ -528,7 +524,7 @@ func (p *Provisioner) executeCnspec(ui packer.Ui, comm packer.Communicator) erro | |||
var err error | |||
if p.config.Incognito { | |||
ui.Message("scan packer build in incognito mode") | |||
scanService := scan.NewLocalScanner() | |||
scanService := scan.NewLocalScanner(scan.WithRecording(providers.NullRecording{})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to set those? By default this should not record
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this, I got a panic because of a nil reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chris-rock The discussed follow-up #143
Signed-off-by: Scott Ford <[email protected]>
Signed-off-by: Christian Zunker <[email protected]>
Signed-off-by: Christian Zunker <[email protected]>
No description provided.