-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
New devfile based stacks should contain samples #13529
Comments
@l0rd is this issue #13533 will be handled in your pr eclipse-che/che-devfile-registry#15 ? Do you know? |
@skabashnyuk that issue looked related to an outdated sample. The devfile I have added in the PR is not affected by that problem. |
Other nice to have stacks...AFTER CHE 7.0.0 GA
|
@l0rd are they blocker for GA? |
"nice to have" |
Before I leave on vacation, let me describe the state of the outstanding samples as I am aware about them. VuejsWe can either wait for #13672 to be finished or, if we postpone that issue to 7.1 but need to have a vuejs sample in 7.0, we can use the following devfile in the sample (it will lack support for Vue-specific stuff but will have support for typescript/javascript and npm): ---
apiVersion: 1.0.0
metadata:
name: vuejs
projects:
-
name: vuejs-app
source:
type: git
location: "https://github.com/gothinkster/vue-realworld-example-app.git"
components:
-
type: chePlugin
id: che-incubator/typescript/latest
memoryLimit: 512Mi
-
type: dockerimage
alias: nodejs
image: registry.access.redhat.com/ubi8/nodejs-10
command: ['sleep']
args: ['infinity']
env:
- name: HOME
value: /tmp/user
- name: PS1
value: $(echo ${0})\\$
memoryLimit: 512Mi
endpoints:
- name: 'vuejs-app'
port: 8080
attributes:
discoverable: 'true'
mountSources: true
commands:
-
name: run the web app
actions:
- type: exec
component: nodejs
command: npm install && npm run serve
workdir: ${CHE_PROJECTS_ROOT}/vuejs-app
-
name: enable app preview
actions:
- type: exec
component: nodejs
command: |
echo "module.exports = {devServer: {disableHostCheck: true}};" > vue.config.js
workdir: ${CHE_PROJECTS_ROOT}/vuejs-app Go with https://github.com/xesina/golang-echo-realworld-example-appThis needs discussion with @tolusha and @tsmaeder on how best to define the sample, because our che plugin for Go uses golang 1.10.7 but the project requires Go modules, which are available from golang 1.11. java-mysqlI updated this devfile to use the oficial spring petclinic project. java-spring-webI swapped the example for the spring-petclinic so that we have a more modern Spring-based application. As such this sample only differs from ##java-vertx I think this is ready as is in the PR mentioned in the table. reactI have done nothing on this. ASP.NETNo progress has been made on the sample. |
@tolusha go ahead |
I've created an issue for Go realworld sample project #13803. This should be linked in the table #13529 (comment). Could someone please edit the table and add reference there? Thanks |
status update of #13529 (comment) Vuejspostponed to 7.1.0 #13672 java-spring-web & java-vertx & java-mysqlin review eclipse-che/che-devfile-registry#18 which is blocked by #13796 (in review already eclipse-che/che-theia#337) Go realworldposponed to 7.1.0 #13803 ASP.NET@tolusha is going to do that one |
@sparkoo table updated |
c# and ASP.NET reference to the same project. Is it done by mistake? Because we already have the devfile for c# | https://github.com/che-samples/dotnet-web-simple.git | I think It should be https://github.com/gothinkster/aspnetcore-realworld-example-app |
@l0rd @tolusha user experience in ASP.NET sample (in PR now eclipse-che/che-devfile-registry#32) is not good. See my comments eclipse-che/che-devfile-registry#32 (comment) and eclipse-che/che-devfile-registry#32 (comment). It's probably caused by #13739 as @svor mentioned. |
status update: java-spring-web & java-vertx & java-mysql👍 merged eclipse-che/che-devfile-registry#18 ASP.NETin review eclipse-che/che-devfile-registry#32. IMHO very bad user experience at this state. See my previous comment and PR itself. GoNew issue with Vue.js and Go realworldpostponed to 7.1.0 I've created follow-up issue to retest all devfiles #13863 |
@tolusha any updates on eclipse-che/che-devfile-registry#32 ? |
@skabashnyuk No |
status update (@l0rd @skabashnyuk): ASP.NETPR open eclipse-che/che-devfile-registry#32. However, there is issue with Omnisharp plugin (#13739) and without this fix, I vote to not include the ASP.NET sample to 7.0.0. This issue also affects C#.NET sample! GoThere is still issue #13823. I've tested just now with |
I believe that the remaining problems are:
And we have dedicated issues for them. So I would close this issue @sparkoo is it ok for you? |
@l0rd yes, I would close this one as well. We have all devfiles we want merged and following issues should be solved separately. |
Description
Currently a Che stack (i.e.
java-maven
) is associated to one or more samples (e.g.web-java-petclinic
andconsole-java-simple
). But often different samples of the same stack requires different settings (env variables, memory, commands) and making generic stacks that work with every project is hard.Another point is that from a UX point of view it's more straightforward to select a
vue.js
or aangular
stack rather than selecting the node js stack and then the angular sample.So this issue is about the proposal to associate every stack to one unique project sample. The project, as well as the commands, would be specified in the the stack devfiles. The user would still be able to override the sample stack project and commands.
The text was updated successfully, but these errors were encountered: