abra app deploy fails if the recipe repo isn't downloaded yet #193

Closed
opened 2021-10-09 16:38:22 +00:00 by 3wordchant · 0 comments
Owner

Steps to reproduce

  1. Download an env file from somewhere
  2. Run abra app d foobar

Describe the expected behavior

Abra automaticaally downloads the app's recipe, and trundles onwards.

Describe the current behavior

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
coopcloud.tech/abra/pkg/client/stack.getConfigDetails(0x0, 0x0, 0x0, 0xc00049a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/f/Projects/Autonomic/CoopCloud/go-abra/pkg/client/stack/loader.go:70 +0x2a6
coopcloud.tech/abra/pkg/client/stack.LoadComposefile(0x0, 0x0, 0x0, 0x7fff71ce0e60, 0xe, 0xf1c055, 0x6, 0x0, 0xc00049a600, 0xf72d3f01, ...)
	/home/f/Projects/Autonomic/CoopCloud/go-abra/pkg/client/stack/loader.go:18 +0x8d

Additional information

  • version: dev-c764243
## Steps to reproduce 1. Download an env file from somewhere 2. Run `abra app d foobar` ## Describe the expected behavior Abra automaticaally downloads the app's recipe, and trundles onwards. ## Describe the current behavior ``` panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: coopcloud.tech/abra/pkg/client/stack.getConfigDetails(0x0, 0x0, 0x0, 0xc00049a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/f/Projects/Autonomic/CoopCloud/go-abra/pkg/client/stack/loader.go:70 +0x2a6 coopcloud.tech/abra/pkg/client/stack.LoadComposefile(0x0, 0x0, 0x0, 0x7fff71ce0e60, 0xe, 0xf1c055, 0x6, 0x0, 0xc00049a600, 0xf72d3f01, ...) /home/f/Projects/Autonomic/CoopCloud/go-abra/pkg/client/stack/loader.go:18 +0x8d ``` ## Additional information <!-- run "abra version" on the command-line --> - version: `dev-c764243`
3wordchant added the
bug
abra
labels 2021-10-09 16:38:22 +00:00
3wordchant changed title from `abra app deploy` fails if the recipe repo isn't checked out yet to `abra app deploy` fails if the recipe repo isn't downloaded yet 2021-10-09 16:38:30 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#193
No description provided.