Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

feat: Update zip location for prebuilt samples with internal URL #544

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Dec 9, 2021

What does this PR do?

It avoids proxy/TLS/untrusted issue
related to eclipse-che/che#20709

Screenshot/screencast of this PR

What issues does this PR fix or reference?

eclipse-che/che#20709

How to test this PR?

(make sure your che operator is the nightly one including this fix: eclipse-che/che-operator#1237)

Then open devfile registry with a browser to something like
https://che-url/devfile-registry/devfiles/go/devworkspace-che-theia-latest.yaml

see that the zip location is using http://devfile-registry.eclipse-che.svc:8080/resources/v2/golang-echo-example.zip

You can go inside for example dashboard container and do:

$ wget http://devfile-registry.eclipse-che.svc:8080/resources/v2/golang-echo-example.zip

file is downloaded as expected

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.

Change-Id: Ic39fa9928c4f86ff4543117a9092f0cadb0457bd
Signed-off-by: Florent Benoit fbenoit@redhat.com

It avoids proxy/TLS/untrusted issue
related to eclipse-che/che#20709

Change-Id: Ic39fa9928c4f86ff4543117a9092f0cadb0457bd
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Click here to review and test in web IDE: Contribute

Copy link
Contributor

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, thanks!

bash-5.0$ wget http://devfile-registry.eclipse-che.svc:8080/resources/v2/golang-echo-example.zip
Connecting to devfile-registry.eclipse-che.svc:8080 (172.30.58.176:8080)
saving to 'golang-echo-example.zip'
golang-echo-example. 100% |**********************************************************************************************************************| 72188  0:00:00 ETA
'golang-echo-example.zip' saved

@benoitf benoitf merged commit 6b0f319 into eclipse-che:main Dec 9, 2021
@che-bot che-bot added this to the 7.41 milestone Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants