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

Support pulling Ollama [non-]OCI image #2539

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Add extra check for the content type in the manifest

77e6013
Select commit
Loading
Failed to load commit list.
Draft

Support pulling Ollama [non-]OCI image #2539

Add extra check for the content type in the manifest
77e6013
Select commit
Loading
Failed to load commit list.
Cirrus CI / validate failed Aug 26, 2024 in 3m 27s

Task Summary

Instruction main failed in 03:21

Details

✅ 00:04 clone
❌ 03:21 main

go: downloading github.com/opencontainers/runtime-spec v1.2.0
go: downloading github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
go: downloading github.com/moby/docker-image-spec v1.3.1
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.24.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-openapi/analysis v0.23.0
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/go-openapi/loads v0.22.0
go: downloading github.com/go-openapi/spec v0.21.0
go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading golang.org/x/mod v0.18.0
go: downloading github.com/moby/sys/mountinfo v0.7.2
go: downloading github.com/tchap/go-patricia/v2 v2.3.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/golang/protobuf v1.5.4
go: downloading golang.org/x/net v0.26.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/go-logr/logr v1.4.1
go: downloading github.com/josharian/intern v1.0.0
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/go-openapi/jsonreference v0.21.0
go: downloading github.com/mistifyio/go-zfs/v3 v3.0.1
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading golang.org/x/text v0.17.0
if [ ! -x "/var/tmp/go/bin/git-validation" ]; then \
	go install github.com/vbatts/git-validation@latest; \
fi
go: downloading github.com/vbatts/git-validation v1.2.1
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/hashicorp/go-version v1.3.0
go: downloading golang.org/x/sys v0.6.0
if [ ! -x "/var/tmp/go/bin/golangci-lint" ]; then \
	curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /var/tmp/go/bin v1.60.2 ; \
fi
golangci/golangci-lint info checking GitHub for tag 'v1.60.2'
golangci/golangci-lint info found version: 1.60.2 for v1.60.2/linux/amd64
golangci/golangci-lint info installed /var/tmp/go/bin/golangci-lint
${GOBIN}/git-validation -q -run DCO,short-subject,dangling-whitespace -range $(git merge-base origin/${DEST_BRANCH} HEAD)..${CIRRUS_CHANGE_IN_REPO}
time="2024-08-26T11:20:20Z" level=info msg="using commit range: b832c5a14c68df0ddbee10020ad41305b2d580dc..77e6013e204b6404236c46e532a6fd74ff42244d"
make validate
/var/tmp/go/bin/golangci-lint run --build-tags "btrfs_noversion libdm_no_deferred_remove"
storage/storage_dest.go:1: : # github.com/containers/image/v5/storage [github.com/containers/image/v5/storage.test]
storage/storage_dest.go:1075:3: unknown field LayerFilename in struct literal of type "github.com/containers/storage".LayerOptions (typecheck)
//go:build !containers_image_storage_stub
transports/alltransports/storage.go:8:4: could not import github.com/containers/image/v5/storage (-: # github.com/containers/image/v5/storage
storage/storage_dest.go:1075:3: unknown field LayerFilename in struct literal of type "github.com/containers/storage".LayerOptions) (typecheck)
	_ "github.com/containers/image/v5/storage"
	  ^
make: *** [Makefile:90: lint] Error 1

Exit status: 2