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

Commands fail to render in the Devspace UI #2239

Closed
MathiasVandePol opened this issue Aug 24, 2022 · 0 comments · Fixed by #2251
Closed

Commands fail to render in the Devspace UI #2239

MathiasVandePol opened this issue Aug 24, 2022 · 0 comments · Fixed by #2251

Comments

@MathiasVandePol
Copy link

MathiasVandePol commented Aug 24, 2022

image

What happened?
Command will not show in the devspace ui but an error is thrown in the console.
Looking at it, it is because the commands item is now an object and not a list anymore.

What did you expect to happen instead?
A list of command which I can execute.

How can we reproduce the bug? (as minimally and precisely as possible)

My devspace.yaml:

version: v2beta1
....

commands:
  "db-setup-testdb-testsegmentdb":
    command: "bash scripts/setup-db.sh localhost ${POSTGRES_USER} ${POSTGRES_PASSWORD}"
  "db-seed-hermes":
    command: "bash scripts/seed-hermes.sh localhost ${POSTGRES_USER} ${POSTGRES_PASSWORD}"
  "db-seed-walter":
    command: "bash scripts/seed-walter.sh localhost ${POSTGRES_USER} ${POSTGRES_PASSWORD}"
  "db-seed-sqlschema":
    command: "bash scripts/seed-sqlschema.sh localhost ${POSTGRES_USER} ${POSTGRES_PASSWORD}"

Local Environment:

  • DevSpace Version: 6.0.0
  • Operating System: mac
  • ARCH of the OS: AMD64
    Kubernetes Cluster:
  • Cloud Provider: other (local)
  • Kubernetes Version: [use kubectl version]

Anything else we need to know?

/kind bug

@MathiasVandePol MathiasVandePol changed the title Commands fail to render Commands fail to render in the Devspace UI Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant