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

chore(dogfooding devfiles): refresh dogfooding devfiles with the right memory usage, typescript plugin id, skip lint, format and test #1178

Merged
merged 11 commits into from
Jul 29, 2021

Conversation

sunix
Copy link
Contributor

@sunix sunix commented Jul 27, 2021

What does this PR do?

Refreshing dogfooding devfiles

Screenshot/screencast of this PR

What issues does this PR fix or reference?

making the dogfooding devfiles working before merging them in the root one: eclipse-che/che#18763

How to test this PR?

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=stable

…t memory usage, typescript plugin id, skip lint and test option.
@che-bot
Copy link
Contributor

che-bot commented Jul 27, 2021

✅ 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 quay.io/crw_pr/che-theia:1178
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1178

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@sunix sunix changed the title chore(dogfooding devfiles): refresh dogfooding devfiles with the right memory usage, typescript plugin id, skip lint and test option. chore(dogfooding devfiles): refresh dogfooding devfiles with the right memory usage, typescript plugin id, skip lint, format and test Jul 27, 2021
@sunix
Copy link
Contributor Author

sunix commented Jul 27, 2021

FYI I can build and run che-theia with hosted-che-dogfooding.devfile.yaml, not che-theia-all.devfile.yaml

@che-bot
Copy link
Contributor

che-bot commented Jul 27, 2021

✅ 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 quay.io/crw_pr/che-theia:1178
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1178

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@vitaliy-guliy
Copy link
Contributor

hosted-che-dogfooding don't work on workspaces.openshift.com

Screenshot from 2021-07-28 12-10-12

@sunix
Copy link
Contributor Author

sunix commented Jul 28, 2021

OK Maybe we have to ajust the memory usage of our plugins ... for instance, machine-exec
image

@vitaliy-guliy
Copy link
Contributor

It would be nice to rename hosted-che-dogfooding.devfile.yaml to workspaces.openshift.com.devfile.yaml. It will be clear for developers to determine which file need to use for which infrastructure.

env:
- name: BUILD_PATH
value: /tmp

commands:

- name: set theia to the pinned revision
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's name it 1. Set theia to the pinned revision and shift index of other commands. Just to be consistent with other command and keep the order of commands.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to use git checkout ${THEIA_COMMIT_SHA} ??
git reset don't switch to the commit on my side. I just opened a terminal and used git status to check.

Copy link
Contributor Author

@sunix sunix Jul 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does: check where your local master is pointing to git log

Selection_430

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${THEIA_COMMIT_SHA} is not a branch btw

Copy link
Contributor

@vitaliy-guliy vitaliy-guliy Jul 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok but a dev environment is different from a build environment. If you do any changes in theia, what would be the branch used by default. it should be master by default so git reset --hard is to be used.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway it looks much better if git status says me where I am, e.g.

$ git status
HEAD detached at 4a627bb

It looks nice as well if I changed some files

$ git status
HEAD detached at 4a627bb
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   devfile.yaml

no changes added to commit (use "git add" and/or "git commit -a")

@sunix
Copy link
Contributor Author

sunix commented Jul 28, 2021

@vitaliy-guliy i renamed the files and commands

@che-bot
Copy link
Contributor

che-bot commented Jul 28, 2021

✅ 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 quay.io/crw_pr/che-theia:1178
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1178

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@che-bot
Copy link
Contributor

che-bot commented Jul 28, 2021

✅ 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 quay.io/crw_pr/che-theia:1178
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1178

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@codecov
Copy link

codecov bot commented Jul 29, 2021

Codecov Report

Merging #1178 (0b996c8) into main (c299f59) will decrease coverage by 0.10%.
The diff coverage is 24.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1178      +/-   ##
==========================================
- Coverage   32.78%   32.67%   -0.11%     
==========================================
  Files         290      290              
  Lines        9885     9927      +42     
  Branches     1457     1463       +6     
==========================================
+ Hits         3241     3244       +3     
- Misses       6641     6680      +39     
  Partials        3        3              
Impacted Files Coverage Δ
...rowser/src/browser/che-mini-browser-environment.ts 0.00% <0.00%> (ø)
...eia-workspace/src/browser/che-navigator-widget.tsx 0.00% <0.00%> (ø)
...heia-workspace/src/browser/che-workspace-module.ts 0.00% <0.00%> (ø)
generator/src/yarn.ts 95.29% <100.00%> (+0.11%) ⬆️
...ns-plugin/src/strategy/featured-plugin-strategy.ts 100.00% <100.00%> (ø)

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 2a120d6...0b996c8. Read the comment docs.

@sunix sunix merged commit 6fe4d56 into eclipse-che:main Jul 29, 2021
@che-bot che-bot added this to the 7.35 milestone Jul 29, 2021
@che-bot
Copy link
Contributor

che-bot commented Jul 29, 2021

✅ 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 quay.io/crw_pr/che-theia:1178
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1178

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

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.

4 participants