Skip to content

feat(volume mounts): add support for mounting volumes into the melange build context #4150

feat(volume mounts): add support for mounting volumes into the melange build context

feat(volume mounts): add support for mounting volumes into the melange build context #4150

Triggered via pull request December 4, 2024 18:34
Status Failure
Total duration 1m 1s
Artifacts 1

go-tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test: pkg/build/build.go#L1
Please run goimports. diff --git a/pkg/build/build.go b/pkg/build/build.go index f3cd0c9..2915d72 100644 --- a/pkg/build/build.go +++ b/pkg/build/build.go @@ -135,7 +135,7 @@ type Build struct { DefaultTimeout time.Duration Auth map[string]options.Auth IgnoreSignatures bool - VolumeMounts []container.BindMount + VolumeMounts []container.BindMount EnabledBuildOptions []string
test: pkg/build/options.go#L1
Please run goimports. diff --git a/pkg/build/options.go b/pkg/build/options.go index 4d6ca5e..f07ee4c 100644 --- a/pkg/build/options.go +++ b/pkg/build/options.go @@ -419,4 +419,4 @@ func WithVolumeMounts(src, dest string) Option { b.VolumeMounts = append(b.VolumeMounts, container.BindMount{Source: src, Destination: dest}) return nil } -} \ No newline at end of file +}
test: pkg/build/test.go#L1
Please run goimports. diff --git a/pkg/build/test.go b/pkg/build/test.go index 9d8f8e9..a95c8f0 100644 --- a/pkg/build/test.go +++ b/pkg/build/test.go @@ -69,7 +69,7 @@ type Test struct { Interactive bool Auth map[string]options.Auth IgnoreSignatures bool - VolumeMounts []container.BindMount + VolumeMounts []container.BindMount } func NewTest(ctx context.Context, opts ...TestOption) (*Test, error) {
test: pkg/build/test_options.go#L1
Please run goimports. diff --git a/pkg/build/test_options.go b/pkg/build/test_options.go index a46c09c..944786f 100644 --- a/pkg/build/test_options.go +++ b/pkg/build/test_options.go @@ -210,4 +210,4 @@ func WithTestVolumeMount(src, dest string) TestOption { t.VolumeMounts = append(t.VolumeMounts, container.BindMount{Source: src, Destination: dest}) return nil } -} \ No newline at end of file +}
test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
diff
688 Bytes