abra app upgrade -C Bug #520

Open
opened 2023-10-19 18:31:32 +00:00 by moritz · 2 comments
Member

If I try to do a chaos upgrade on the foodsoft recipe I get the following error:

FATA[0001] '' is not supported (^$)                      caller="~/abra/cli/app/upgrade.go:203 glob..func26" stack="~/abra/cli/app/upgrade.go:203                             glob..func26\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524     HandleAction\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405     (*App).RunAsSubcommand\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277     (*App).Run\n~/abra/cli/cli.go:203                                     RunApp\n~/abra/cmd/abra/main.go:22                                main\n~/go/src/runtime/internal/atomic/types.go:194             (*Uint32).Load\n~/go/src/runtime/asm_amd64.s:1650                         goexit"
If I try to do a chaos upgrade on the foodsoft recipe I get the following error: ``` FATA[0001] '' is not supported (^$) caller="~/abra/cli/app/upgrade.go:203 glob..func26" stack="~/abra/cli/app/upgrade.go:203 glob..func26\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524 HandleAction\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405 (*App).RunAsSubcommand\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277 (*App).Run\n~/abra/cli/cli.go:203 RunApp\n~/abra/cmd/abra/main.go:22 main\n~/go/src/runtime/internal/atomic/types.go:194 (*Uint32).Load\n~/go/src/runtime/asm_amd64.s:1650 goexit" ```
moritz added the
bug
label 2023-10-19 18:31:32 +00:00
decentral1se added the
abra
label 2023-10-20 09:10:32 +00:00
Author
Member

Running abra app deploy -C instead of abra app upgrade -C works. What is actually the difference between these commands?

Running `abra app deploy -C` instead of `abra app upgrade -C` works. What is actually the difference between these commands?
Owner

@moritz one works and the other doesn't 😆 but seriously it's just ui/ux for "deploying a new version" and i think the fact we can use --chaos on both is confusing things a lot. however, i think someone probably asked for this flag at some point... so we might need to get consent on any change first...

@moritz one works and the other doesn't 😆 but seriously it's just ui/ux for "deploying a new version" and i think the fact we can use `--chaos` on both is confusing things a lot. however, i think someone probably asked for this flag at some point... so we might need to get consent on any change first...
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#520
No description provided.