recipe upgrade fails for image from quay.io #296

Closed
opened 2022-02-08 08:37:44 +00:00 by yksflip · 1 comment
Owner

Describe the current behavior

abra recipe upgrade fails for images from other repositories like: image: quay.io/wekan/wekan:v5.98

Steps to reproduce

abra r upgrade -d wekan
[...]
WARN[0008] not upgrading mongo, skipping as requested    caller="/drone/src/cli/recipe/upgrade.go:259 glob..func6"
DEBU[0008] [DEBUG] GET https://registry.hub.docker.com/v1/repositories/wekan/wekan/tags  caller="/drone/src/pkg/web/client.go:17 customLeveledLogger.Printf"
FATA[0009] json: cannot unmarshal string into Go value of type client.RawTags  caller="/drone/src/cli/recipe/upgrade.go:119 glob..func6" stack="/drone/src/cli/recipe/upgrade.go:119                     glob..func6\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:524     HandleAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:173 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:405     (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:372 Command.startApp\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:102 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:277     (*App).Run\n/drone/src/cli/cli.go:207                                RunApp\n/drone/src/cmd/abra/main.go:22                           main\n/usr/local/go/src/runtime/proc.go:255                    main\n/usr/local/go/src/runtime/asm_amd64.s:1581               goexit"

Describe the expected behavior

expected abra recipe to work as with images from dockerhub

Any idea how this might be fixed?

Additional information

$ abra -v
abra version 0.4.0-alpha-rc6-cff7534
## Describe the current behavior `abra recipe upgrade` fails for images from other repositories like: `image: quay.io/wekan/wekan:v5.98` ## Steps to reproduce ``` abra r upgrade -d wekan [...] WARN[0008] not upgrading mongo, skipping as requested caller="/drone/src/cli/recipe/upgrade.go:259 glob..func6" DEBU[0008] [DEBUG] GET https://registry.hub.docker.com/v1/repositories/wekan/wekan/tags caller="/drone/src/pkg/web/client.go:17 customLeveledLogger.Printf" FATA[0009] json: cannot unmarshal string into Go value of type client.RawTags caller="/drone/src/cli/recipe/upgrade.go:119 glob..func6" stack="/drone/src/cli/recipe/upgrade.go:119 glob..func6\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:524 HandleAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:173 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:405 (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:372 Command.startApp\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:102 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:277 (*App).Run\n/drone/src/cli/cli.go:207 RunApp\n/drone/src/cmd/abra/main.go:22 main\n/usr/local/go/src/runtime/proc.go:255 main\n/usr/local/go/src/runtime/asm_amd64.s:1581 goexit" ``` ## Describe the expected behavior expected abra recipe to work as with images from dockerhub ## Any idea how this might be fixed? ## Additional information ``` $ abra -v abra version 0.4.0-alpha-rc6-cff7534 ```
yksflip added the
bug
abra
labels 2022-02-08 08:37:44 +00:00
Owner

Nice one @yksflip! We're tracking this on #258 but in the meantime, I've published docs on how to do recipe maintainance work which also shows the manual commands to get the job done with a work-around in https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-release-a-new-recipe-version, will try to get around to fixing this one soon 🙏

Nice one @yksflip! We're tracking this on https://git.coopcloud.tech/coop-cloud/organising/issues/258 but in the meantime, I've published docs on how to do recipe maintainance work which also shows the manual commands to get the job done with a work-around in https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-release-a-new-recipe-version, will try to get around to fixing this one soon 🙏
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#296
No description provided.