Skip to content

Many devfiles fail to validate under v0.14.0 #816

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

Closed
amisevsk opened this issue Apr 12, 2022 · 0 comments · Fixed by #821
Closed

Many devfiles fail to validate under v0.14.0 #816

amisevsk opened this issue Apr 12, 2022 · 0 comments · Fixed by #821
Assignees
Milestone

Comments

@amisevsk
Copy link
Collaborator

amisevsk commented Apr 12, 2022

Description

Due to changes in the upstream devfile/api dependency around validating endpoints, DevWorkspaces that reference the standard Theia devfile fail to start in DWO due to validation issues:

2 errors occurred:\n\t* devfile contains multiple endpoint entries with
    same TargetPort: 3100\n\t* devfile contains multiple endpoint entries with same
    TargetPort: 3100\n\n

See devfile/api#821 for details.

How To Reproduce

  1. Deploy DWO v0.14.0
  2. Apply samples/theia-next.yaml from this repo.

Expected behavior

Previous validation behavior (endpoints can reuse ports if they are attached to the same container) should be used.

Additional context

devfile/api issue: devfile/api#821
devfile/api PR with fix: devfile/api#822

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