Skip to content

Temporarily disable validation of DevWorkspaces to workaround api issue #817

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

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

Temporarily disable validation of the flattened DevWorkspace to work around an issue in the devfile/api validation package where all endpoint targetPorts must be unique.

This PR should be reverted once devfile/api#822 is merged and the updated dependency is pulled into the DWO repo.

This is also an opportunity to test #815 on the dogfooding instance if it is merged first :)

Validation generally does not catch many issues that are not caught by the schema, so including this change for now is low risk (worst case scenario is that the error message is perhaps less informative).

What issues does this PR fix or reference?

Workaround for #816

Is it tested? How?

Tested by starting samples/theia-next.yaml DevWorkspace

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

Temporarily disable validation of the flattened DevWorkspace to work
around an issue in the devfile/api validation package where all endpoint
targetPorts must be unique

Signed-off-by: Angel Misevski <[email protected]>
@amisevsk amisevsk requested a review from ibuziuk as a code owner April 12, 2022 20:59
@openshift-ci
Copy link

openshift-ci bot commented Apr 13, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amisevsk, ibuziuk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ibuziuk ibuziuk merged commit 4ae81c3 into devfile:main Apr 13, 2022
@amisevsk amisevsk deleted the unblock-validation branch April 13, 2022 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants