-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating CONTRIBUTING.md for eclipse/che#21363 #2239
Conversation
Hi @SDawley. Thanks for your PR. I'm waiting for a che-incubator member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
Sounds good. What about putting sandbox url instead of |
OK, switched to the OpenShift Sandbox url. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a quick, cursory review.
Updated including Max, Florent, and Nick's suggested fixes. |
|
Strange. The Che UDI image has 3 different vesions of node (12, 14, and 16) so you should be able to build it there using that image: https://github.com/devfile/developer-images/blob/main/universal/ubi8/Dockerfile#L62-L71 |
I created a workspace and manually updated the image to 'quay.io/devfile/universal-developer-image:ubi8-latest' The build command now works, as does run but package-binaries is failing so I am investigating. |
@SDawley |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are passing so if @tolusha is happy, then +1 to merge.
@tolusha I'm able to create a factory link from this branch, but package-binaries still fails with: Everything else seems to be working, though the tests take a lot longer to run in the workspace than they do locally |
Have a look. I think you can add both. |
Remove |
Use |
Have a look at https://github.com/che-samples/react-web-app/blob/devfilev2/devfile.yaml |
Use |
"jest": "^26.6.3", | ||
"ts-jest": "^26.5.6", | ||
"jest": "^29.0.3", | ||
"ts-jest": "^29.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The jest tests were failing in the workspace at version 26 and updating to 29 fixed it. Enough else has changed that I can try reverting that and see if the issue comes back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried and did not face any issue with 26.x versions. Please revert and check.
We definitely need to add
|
I tried adding this to the devfile and restarting the workspace in RHOSDS and got the error: |
There is no much we can do here. If it requires at least 5G memory, then we have to use another cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SDawley that's great work. I have added some comments with suggestions.
devfile.yaml
Outdated
- name: dev | ||
container: | ||
image: 'quay.io/devfile/universal-developer-image:ubi8-latest' | ||
memoryLimit: 1G |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we didn't support it at the time this devfile was introdcued but it's better to specify the cpuLimit too:
memoryLimit: 1G | |
memoryLimit: 1G | |
cpuLimit: 500m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, I was able to build, test and run chectl
in my workspace. I just have some small suggestions
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: l0rd, nickboldt, SDawley 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 |
I had to rebuild the universal image because it didn't use the new base image, but packaging binaries now works. |
I have another error now related to
|
New changes are detected. LGTM label has been removed. |
@tolusha |
Sounds good! |
Pls, fix DCO issue. |
Signed-off-by: Samantha Dawley <[email protected]>
What does this PR do?
Removed Generate Devfile and Create Workspace sections and edited the command documentation to reflect how commands are currently run.
Signed-off-by: Samantha Dawley [email protected]
Screenshot/screencast of this PR
What issues does this PR fix or reference?
Addresses: eclipse-che/che#21363
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.