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

Check path to be a file when reading certificates #1072

Merged
merged 1 commit into from
Apr 9, 2021
Merged

Conversation

vinokurig
Copy link
Contributor

@vinokurig vinokurig commented Apr 9, 2021

Signed-off-by: Igor Vinokur ivinokur@redhat.com

What does this PR do?

Fixes a bug when the plugins view shows an empty list.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

https://issues.redhat.com/browse/CRW-1710

How to test this PR?

  1. Start a workspace from devfile:
apiVersion: 1.0.0
metadata:
  name: wksp-custom-tki1v
components:
  - type: cheEditor
    reference: '<link to the generated meta.yaml, will be available when the PR is opened>'
  1. Open the Plugins view: View => Plugins
  2. See: plugins list must be loaded.

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.

Happy Path Channel

HAPPY_PATH_CHANNEL=next

@codecov
Copy link

codecov bot commented Apr 9, 2021

Codecov Report

Merging #1072 (bd7afd8) into master (eeb4526) will increase coverage by 1.83%.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1072      +/-   ##
==========================================
+ Coverage   29.45%   31.29%   +1.83%     
==========================================
  Files         277      277              
  Lines        9336     9356      +20     
  Branches     1380     1391      +11     
==========================================
+ Hits         2750     2928     +178     
+ Misses       6487     6331     -156     
+ Partials       99       97       -2     
Impacted Files Coverage Δ
...theia-about/src/browser/about-che-theia-dialog.tsx 0.00% <ø> (ø)
...ovisioner/src/node/git-configuration-controller.ts 0.00% <0.00%> (ø)
...che-theia-remote-api/src/common/devfile-service.ts 0.00% <ø> (ø)
...er/src/node/che-server-certificate-service-impl.ts 0.00% <0.00%> (ø)
...-impl-k8s/src/node/k8s-certificate-service-impl.ts 0.00% <0.00%> (ø)
...ces/src/node/che-theia-preferences-synchronizer.ts 0.00% <0.00%> (ø)
...e-theia-workspace/src/node/che-workspace-server.ts 0.00% <0.00%> (ø)
generator/src/init-sources.ts 98.17% <ø> (ø)
...ainers-plugin/src/containers-tree-data-provider.ts 0.00% <0.00%> (ø)
plugins/task-plugin/src/task/che-task-runner.ts 0.00% <ø> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9460c2c...bd7afd8. Read the comment docs.

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
@vinokurig vinokurig merged commit 8b7d633 into master Apr 9, 2021
@vinokurig vinokurig deleted the crw-1710 branch April 9, 2021 09:40
vinokurig added a commit that referenced this pull request Apr 9, 2021
Fixes a bug when the plugins view shows an empty list.
@che-bot che-bot added this to the 7.29 milestone Apr 9, 2021
@azatsarynnyy
Copy link
Member

@vinokurig are you sure the failed HappyPath tests are not related to the PR changes?
On the previous PR it passed.

@vinokurig
Copy link
Contributor Author

I'll try to rerun tests

@vinokurig
Copy link
Contributor Author

[crw-ci-test]

@vinokurig
Copy link
Contributor Author

Looks like it doesn't work when the PR is closed :)

@RomanNikitenko
Copy link
Member

@vinokurig
FYI

At the same time PR check doesn't work normally at the moment, because CRW Jenkins CI continues suffering from infrastrucure outage introduced a few days ago https://one.redhat.com/legacy/outages/list/details/606a7ab556897a049f735d2f .

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Apr 9, 2021

I have restarted the jobs with happy path tests for the current PR, waiting...

@vinokurig
Copy link
Contributor Author

Thanks @RomanNikitenko

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Apr 9, 2021

The tests have failed o the same step:

tests_failed

There are 2 jobs for ubi8 are still in progress, let's wait the results.

@RomanNikitenko
Copy link
Member

Unfortunately all jobs have failed and the cause of the problem is the same, please see the screenshot above.

@vinokurig
Copy link
Contributor Author

I don't think that my changes caused workspace start error, I've checked it locally several times. I propose to wait for the nightly tests against master.

@RomanNikitenko
Copy link
Member

I have started the checks for all jobs in the test PR without your changes #1049

@vinokurig
Copy link
Contributor Author

vinokurig commented Apr 9, 2021

I've tried the latest che-theia image which contains my changes and it works ok:
screenshot-che-eclipse-che 192 168 99 253 nip io-2021 04 09-15_51_29

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Apr 9, 2021

Maybe something wrong with Happy Path tests...
So we need help from QE team.

@vinokurig
Copy link
Contributor Author

Let's wait for results of your draft PR, then I'll rise this question in the QE channel

@dmytro-ndp
Copy link
Contributor

@vinokurig : about happy path tests failure #1072 (comment)
Happy path tests from master branch are not compatible with Eclipse Che stable version, that is 7.28.0

@vinokurig
Copy link
Contributor Author

So this is expected?

@dmytro-ndp
Copy link
Contributor

Yes, it is.

@vinokurig
Copy link
Contributor Author

OK, thanks.

vinokurig added a commit that referenced this pull request Apr 9, 2021
Fixes a bug when the plugins view shows an empty list.
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.

6 participants