che icon indicating copy to clipboard operation
che copied to clipboard

Devtools week che dogfooding test development

Open ScrewTSW opened this issue 2 years ago • 6 comments

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:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

ScrewTSW avatar Jun 12 '23 09:06 ScrewTSW

@ScrewTSW which branch do you use to develop this issue? Looks it a long time outdated image

nallikaea avatar Jun 12 '23 09:06 nallikaea

@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 avatar Jun 12 '23 11:06 ScrewTSW

@ScrewTSW which branch do you use to develop this issue? Looks it a long time outdated image

updated

ScrewTSW avatar Oct 18 '23 14:10 ScrewTSW

@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?

dmytro-ndp avatar Oct 23 '23 11:10 dmytro-ndp

@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 avatar Oct 24 '23 16:10 dmytro-ndp

@dmytro-ndp this looks like useful PR maybe you can take over it in the next sprint update & merge?

ibuziuk avatar Jan 23 '24 12:01 ibuziuk

@musienko-maxim please, update the PR so that we can merge it

ibuziuk avatar Feb 29 '24 15:02 ibuziuk