You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this mixin is erroring out when Porter attempts to get its schema; because of this, the mixin isn't added to the global Porter schema and thus VSCode/auto-complete thinks usage of helm3 is invalid (because it isn't in the mixin list in Porter's schema).
(At least, I think that's roughly the problem 😄)
$ porter mixin install helm3 --feed-url https://mchorfa.github.io/porter-helm3/atom.xmlinstalled helm3 mixin v0.1.15-1-g502102c (502102c)
# This emulates what Porter will run to get the mixin schema
$ ~/.porter/mixins/helm3/helm3 schemaError: stat /Users/vdice/go/src/github.com/MChorfa/porter-helm3/schema/schema.json: no such file or directoryerr: stat /Users/vdice/go/src/github.com/MChorfa/porter-helm3/schema/schema.json: no such file or directory
However, note that when building this mixin locally and installing, no error occurs:
$ make build installGO111MODULE=on go mod tidyGO111MODULE=on go generate ./...mkdir -p bin/mixins/helm3GO111MODULE=on go build -ldflags '-w -X github.com/MChorfa/porter-helm3/pkg.Version=v0.1.15-2-g4f18e33 -X github.com/MChorfa/porter-helm3/pkg.Commit=4f18e33' -o bin/mixins/helm3/helm3 ./cmd/helm3mkdir -p bin/mixins/helm3GOARCH=amd64 GOOS=linux GO111MODULE=on go build -ldflags '-w -X github.com/MChorfa/porter-helm3/pkg.Version=v0.1.15-2-g4f18e33 -X github.com/MChorfa/porter-helm3/pkg.Commit=4f18e33' -o bin/mixins/helm3/helm3-runtime ./cmd/helm3cd pkg/helm3 && packr2 clean
# @porter mixin uninstall helm3mkdir -p /Users/vdice/.porter/mixins/helm3/runtimesinstall bin/mixins/helm3/helm3 /Users/vdice/.porter/mixins/helm3/helm3install bin/mixins/helm3/helm3-runtime /Users/vdice/.porter/mixins/helm3/runtimes/helm3-runtime
# @porter mixin list
$ ~/.porter/mixins/helm3/helm3 schema{ "$schema":"http://json-schema.org/draft-07/schema#", "definitions":{ "installStep":{ "type":"object", "properties":{ "helm3":{...
The text was updated successfully, but these errors were encountered:
It looks like this mixin is erroring out when Porter attempts to get its schema; because of this, the mixin isn't added to the global Porter schema and thus VSCode/auto-complete thinks usage of
helm3
is invalid (because it isn't in the mixin list in Porter's schema).(At least, I think that's roughly the problem 😄)
However, note that when building this mixin locally and installing, no error occurs:
The text was updated successfully, but these errors were encountered: