Apply GitHub server flag when resolving factory URL
What does this PR do?
Fix an issue when starting a workspace using a public GitHub Server repo fails.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://issues.redhat.com/browse/CRW-6831
How to test this PR?
Start a workspace from a public GitHub Enterprise Server repository with a devfile. See: workspace starts
PR Checklist
As the author of this Pull Request I made sure that:
- [ ] The Eclipse Contributor Agreement is valid
- [ ] Code produced is complete
- [ ] Code builds without errors
- [ ] Tests are covering the bugfix
- [ ] The repository devfile is up to date and works
- [ ] Sections
What issues does this PR fix or referenceandHow to test this PRcompleted - [ ] Relevant user documentation updated
- [ ] Relevant contributing documentation updated
- [ ] CI/CD changes implemented, documented and communicated
Reviewers
Reviewers, please comment how you tested the PR when approving it.
/retest
/retest
/retest
Verified on Eclipse Che with quay.io/eclipse/che-server:pr-701 - the functionality works properly.
/retest
[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.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/retest
Build 3.16 :: server_3.x/350: Console, Changes, Git Data
Build 3.16 :: sync-to-downstream_3.x/7330: Console, Changes, Git Data
Build 3.16 :: push-latest-container-to-quay_3.x/4806: Console, Changes, Git Data
Build 3.16 :: get-sources-rhpkg-container-build_3.x/7314:
server : 3.x :: Build 62945718 : quay.io/devspaces/server-rhel8:3.16-12
SUCCESS; copied to quay; /DS_CI/push-latest-container-to-quay_3.x/4806 triggered
Build 3.16 :: update-digests_3.x/7174: Console, Changes, Git Data