che-server icon indicating copy to clipboard operation
che-server copied to clipboard

Support raw devfile urls without yaml extension

Open vinokurig opened this issue 9 months ago • 8 comments

What does this PR do?

On handling raw devfile urls, request content by the url, and check if the content is a devfile. If yes treat the url as a raw devfile url.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

fixes https://github.com/eclipse-che/che/issues/22937

How to test this PR?

  1. Deploy che with the PR image: quay.io/eclipse/che-server:pr-683
  2. Start a workspace from a raw devfile url without yaml extension, e.g. https://raw.githubusercontent.com/vinokurig/test/master/parent

See: workspace starts successfully.

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.

vinokurig avatar May 09 '24 09:05 vinokurig

/retest

vinokurig avatar May 09 '24 11:05 vinokurig

/retest

vinokurig avatar May 10 '24 07:05 vinokurig

/retest

vinokurig avatar May 10 '24 11:05 vinokurig

/retest

vinokurig avatar May 10 '24 14:05 vinokurig

/retest

vinokurig avatar May 13 '24 14:05 vinokurig

@vinokurig: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v14-gitlab-with-oauth-setup-flow 974595ed4b5e828c7be9965f13d58339a2f307a2 link true /test v14-gitlab-with-oauth-setup-flow

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

openshift-ci[bot] avatar May 13 '24 15:05 openshift-ci[bot]

The gitlab-with-oauth-setup-flow is failed. Maybe, it's related to UI locator change I need to investigate it.

artaleks9 avatar May 14 '24 13:05 artaleks9

@vinokurig the gitlab-with-oauth-setup-flow is fail due to the known issue -> https://github.com/eclipse-che/che/issues/22953 The Views and More Actions menu is not available (see the screenshot)


@RomanNikitenko said this problem was resolved in the next 4 days ago, but, it seems, this che-sever image is not included the fix. @vinokurig Do we have an opportunity update the PR image, to rerun the gitlab-with-oauth-setup-flow test and verify it?


Anyway I've checked the functionality related to the PR and OAuth - works properly.

che-pr-683

artaleks9 avatar May 14 '24 17:05 artaleks9

@artaleks9

Do we have an opportunity update the PR image, to rerun the gitlab-with-oauth-setup-flow test and verify it?

The PR image is already up to date with the main branch.

vinokurig avatar May 15 '24 06:05 vinokurig

@artaleks9 If the failure is a known issue, can we go with the current changes?

vinokurig avatar May 15 '24 06:05 vinokurig

I see on the screenshot that editor version is pretty old - it was built 2 weeks ago. I think editor image should be updated for testing.

RomanNikitenko avatar May 15 '24 06:05 RomanNikitenko

| @artaleks9 If the failure is a known issue, can we go with the current changes? I think, yes

artaleks9 avatar May 15 '24 06:05 artaleks9

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: artaleks9, ibuziuk, tolusha, vinokurig

The full list of commands accepted by this bot can be found 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

openshift-ci[bot] avatar May 15 '24 06:05 openshift-ci[bot]

Build 3.15 :: server_3.x/339: SUCCESS

Upstream sync done; /DS_CI/sync-to-downstream_3.x/6816 triggered

devstudio-release avatar May 22 '24 12:05 devstudio-release

Build 3.15 :: get-sources-rhpkg-container-build_3.x/6767: FAILURE

devspaces-operator-bundle : 3.x :: Failed in 61398909 : BREW:BUILD/STATUS:UNKNOWN
FAILURE:; copied to quay

devstudio-release avatar May 22 '24 13:05 devstudio-release