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

My workspace view empty if no user defined container #214

Closed
sunix opened this issue May 10, 2019 · 1 comment
Closed

My workspace view empty if no user defined container #214

sunix opened this issue May 10, 2019 · 1 comment

Comments

@sunix
Copy link
Contributor

sunix commented May 10, 2019

Description

The workspace view completely empty if no user runtime has been define in the container view.
Also a error appear [object Object]

Selection_244
with the devfile:

specVersion: 0.0.1
name: chectl
projects:
  - 
    name: chectl
    source:
      type: git
      location: 'https://github.com/che-incubator/chectl.git'

components:
  - 
    id: eclipse/che-theia/next
    type: cheEditor
  - 
    id: eclipse/che-machine-exec-plugin/0.0.1
    type: chePlugin
  - 
    id: redhat/vscode-yaml/0.4.0
    type: chePlugin
  - 
    alias: ts
    id: che-incubator/typescript/1.30.2
    type: chePlugin

commands:
  - name: build
    actions:
      - type: exec
        component: ts
        command: yarn
        workdir: /projects/chectl
  - name: test
    actions:
      - type: exec
        component: ts
        command: yarn test
        workdir: /projects/chectl

But once we add a dockerimage component:
Selection_235

specVersion: 0.0.1
name: chectl
projects:
  - 
    name: chectl
    source:
      type: git
      location: 'https://github.com/che-incubator/chectl.git'

components:
  - 
    id: eclipse/che-theia/next
    type: cheEditor
  - 
    id: eclipse/che-machine-exec-plugin/0.0.1
    type: chePlugin
  - 
    alias: git-devtools
    type: dockerimage
    image: sunix/git-devtools
    mountSources: true
    memoryLimit: 256M
  - 
    id: redhat/vscode-yaml/0.4.0
    type: chePlugin
  - 
    alias: ts
    id: che-incubator/typescript/1.30.2
    type: chePlugin

commands:
  - name: build
    actions:
      - type: exec
        component: ts
        command: yarn
        workdir: /projects/chectl
  - name: test
    actions:
      - type: exec
        component: ts
        command: yarn test
        workdir: /projects/chectl
@evidolob evidolob changed the title My workspace view: empty if no user runtime My workspace view empty if no user defined container May 15, 2019
@akurinnoy
Copy link
Contributor

this issue was fixed by #221

Selection_039

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants