Devtools week che dogfooding test development
What does this PR do?
- Modifies existing devfile to allow for development of Che/DevSpaces tests on Che Dogfooding instance
Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
https://github.com/eclipse/che/issues/22191
How to test this PR?
- Apply this fork as a factory to dogfooding and try to run the described command
PR Checklist
As the author of this Pull Request I made sure that:
- [x] The Eclipse Contributor Agreement is valid
- [x] Code produced is complete
- [x] Code builds without errors
- [ ] Tests are covering the bugfix or new feature
- [ ] The repository devfile is up to date and works
- [x] 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.
@ScrewTSW which branch do you use to develop this issue? Looks it a long time outdated
@ScrewTSW which branch do you use to develop this issue? Looks it a long time outdated
yes, that's true. I've forked it quite some time ago and did not rebase in a while.
@ScrewTSW which branch do you use to develop this issue? Looks it a long time outdated
updated
@ScrewTSW : while workspace has been successfully loaded with factory URL from the branch https://github.com/ScrewTSW/che/tree/devtools-week-che-dogfooding-test-development, I found devfile commands not working correctly when run from top menu "Terminal > Run Task..." in VS Code Editor:
* Executing task: devfile: tests-happy-path-remote
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `cd /projects/che; export HAPPY_PATH_USERSTORY=SmokeTest && export HAPPY_PATH_SUITE=test && export MOCHA_DIRECTORY='.' && bash <(curl -s https://raw.githubusercontent.com/eclipse/che/main/tests/devworkspace-happy-path/remote-launch.sh)'
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
* Executing task: devfile: tests-build-tests
> @eclipse-che/[email protected] tsc
> rm -rf ./dist && ./configs/sh-scripts/generateIndex.sh && tsc -p .
Generating index.ts file...
sh: tsc: command not found
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: devfile: check-contributing-is-updated
sh: .repositories-update-contributing.sh: command not found
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
* Executing task: devfile: tests-lint-project
> @eclipse-che/[email protected] lint
> eslint --fix .
sh: eslint: command not found
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: devfile: tests-update-dependencies
Updating nodejs
sh: nvm: command not found
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
Is there a chance you could make devfile commands working?
@ScrewTSW : thank you for the fix of commands!
Everything works correctly now, but update-contributing:
* Executing task: devfile: update-contributing
sh: .repositories-update-contributing.sh: command not found
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
@dmytro-ndp this looks like useful PR maybe you can take over it in the next sprint update & merge?
@musienko-maxim please, update the PR so that we can merge it
