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

build(deps): Update the prism go client to v0.5.1 #197

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "^1.19"
go-version: "^1.23"

- name: Checkout Code
uses: actions/checkout@v4

- name: Lint Go Code
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: Static Check
uses: dominikh/[email protected]
with:
version: "latest"
install-go: false

vet:
name: Vet
Expand Down
3 changes: 3 additions & 0 deletions builder/nutanix/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
state.Put("driver", driver)
state.Put("hook", hook)
state.Put("ui", ui)
// multistep's step.Cleanup doesn't admit context but context is actually needed for cleanup,
// so we put it in the state bag to be used by the cleanup step
state.Put("ctx", ctx)

steps := []multistep.Step{
&commonsteps.StepCreateCD{
Expand Down
1 change: 0 additions & 1 deletion builder/nutanix/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

"github.com/hashicorp/packer-plugin-sdk/common"
"github.com/hashicorp/packer-plugin-sdk/communicator"

"github.com/hashicorp/packer-plugin-sdk/multistep/commonsteps"
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
"github.com/hashicorp/packer-plugin-sdk/random"
Expand Down
Loading
Loading