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

feat: Allow to override the path to the devfile from a given repository #166

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Oct 15, 2021

What does this PR do?

Che-server is looking for .devfile.yaml or devfile.yaml by default when specifying a Remote repository
But sometimes you may want to give a hint on the file you want to look inside the repository

usecase: let say I want to have both devfile v1 and v2 in the same repository, I need to provide the custom path to either devfile v1 or v2.

to the question: Why I don't provide the path to the devfile directly, it's because it's not matching the "repository" handling anymore (raw link vs context aware of the devfile)

Screenshot/screencast of this PR

What issues does this PR fix or reference?

eclipse-che/che#20607

How to test this PR?

Call the resolver API with an optional overide devfileName parameter

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@che-bot
Copy link
Contributor

che-bot commented Oct 15, 2021

✅ E2E Happy path tests succeed 🎉

See Details

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@che-bot
Copy link
Contributor

che-bot commented Oct 18, 2021

✅ E2E Happy path tests succeed 🎉

See Details

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@benoitf benoitf merged commit fc5a7c3 into eclipse-che:main Oct 18, 2021
@che-bot che-bot added this to the 7.38 milestone Oct 18, 2021
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 this pull request may close these issues.

4 participants