Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Fix import of zip project in case the archive is hosted on the same cluster which uses self-signed certificate #672

Merged
merged 4 commits into from
Mar 23, 2020

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Mar 18, 2020

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Fixes import of zip project when it is hosted in the same cluster as Che and the cluster uses self-signed certificate.

@mmorhun
Copy link
Contributor Author

mmorhun commented Mar 18, 2020

I would like reviewers to try it out.

@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@mmorhun mmorhun force-pushed the fix-import-zip-projects-tls branch from 3edd280 to 2f9b2f2 Compare March 18, 2020 12:21
@dmytro-ndp dmytro-ndp mentioned this pull request Mar 18, 2020
27 tasks
@mmorhun mmorhun force-pushed the fix-import-zip-projects-tls branch from 2f9b2f2 to dd5210d Compare March 18, 2020 12:23
@mmorhun mmorhun force-pushed the fix-import-zip-projects-tls branch 2 times, most recently from b8832de to 83987d3 Compare March 18, 2020 12:28
@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@mmorhun mmorhun force-pushed the fix-import-zip-projects-tls branch from 50e4e4a to 7c2b7de Compare March 19, 2020 08:54
@mmorhun
Copy link
Contributor Author

mmorhun commented Mar 19, 2020

Rebased

@che-bot
Copy link
Contributor

che-bot commented Mar 19, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@che-bot
Copy link
Contributor

che-bot commented Mar 19, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@davidfestal
Copy link
Contributor

And would it be possible to have a corresponding PR on the 7.9.x branch. That's quite important for the CRW 2.1 ?

@mmorhun
Copy link
Contributor Author

mmorhun commented Mar 19, 2020

@davidfestal yes, sure, I'll provide a backport.

@mmorhun
Copy link
Contributor Author

mmorhun commented Mar 19, 2020

From the CI build logs:

@eclipse-che/theia-remote: [compile] src/node/plugin-remote-init.ts(377,7): error TS2420: Class 'PluginDeployerHandlerImpl' incorrectly implements interface 'PluginDeployerHandler'.
@eclipse-che/theia-remote: [compile]   Property 'undeployPlugin' is missing in type 'PluginDeployerHandlerImpl' but required in type 'PluginDeployerHandler'.

And it is not related to current PR...

@azatsarynnyy
Copy link
Member

From the CI build logs:

@eclipse-che/theia-remote: [compile] src/node/plugin-remote-init.ts(377,7): error TS2420: Class 'PluginDeployerHandlerImpl' incorrectly implements interface 'PluginDeployerHandler'.
@eclipse-che/theia-remote: [compile]   Property 'undeployPlugin' is missing in type 'PluginDeployerHandlerImpl' but required in type 'PluginDeployerHandler'.

And it is not related to current PR...

@mmorhun the fix is on the way #676

@davidfestal
Copy link
Contributor

@mmorhun do you also plan to remove the -s flag here (as done on the backported PR ?)

@mmorhun
Copy link
Contributor Author

mmorhun commented Mar 19, 2020

@davidfestal yes, but wait when the CI build is fixed to not to build twice

@nickboldt
Copy link
Contributor

Instead of removing -s we can use -sS to be quiet but still throw errors if errors happen.

-S/--show-error
When used with -s it makes curl show an error message if it fails.

@che-bot
Copy link
Contributor

che-bot commented Mar 19, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@azatsarynnyy
Copy link
Member

@mmorhun #676 is merged. It adapts Che Theia to the latest upstream Theia changes.
So, the build is fixed but the Happy Path tests are failing because of eclipse-che/che#16403
QE Team is working on it.

mmorhun and others added 4 commits March 23, 2020 09:54
…luster which uses self-signed certificate

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
```
-S/--show-error
When used with -s it makes curl show an error message if it fails.
```
@mmorhun mmorhun force-pushed the fix-import-zip-projects-tls branch from dbdfa9c to dd77487 Compare March 23, 2020 07:57
@che-bot
Copy link
Contributor

che-bot commented Mar 23, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:672
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:672

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@mmorhun mmorhun merged commit 919bd91 into master Mar 23, 2020
@mmorhun mmorhun deleted the fix-import-zip-projects-tls branch March 23, 2020 09:45
vinokurig pushed a commit that referenced this pull request Apr 6, 2021
Fixes eclipse-che/che#18183

Signed-off-by: Eric Williams <ericwill@redhat.com>
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.

5 participants