Skip to content

Instantly share code, notes, and snippets.

@sunix
Created November 23, 2018 08:52
Show Gist options
  • Save sunix/e7aa41e035948baaa8301d02bdc2d491 to your computer and use it in GitHub Desktop.
Save sunix/e7aa41e035948baaa8301d02bdc2d491 to your computer and use it in GitHub Desktop.
factory che-theia builder
{
"v": "4.0",
"name": "chetheia_builder",
"workspace": {
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"ws/dev": {
"attributes": {
"memoryLimitBytes": "2684354560"
},
"servers": {},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
}
},
"recipe": {
"type": "kubernetes",
"content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: sunix/docker-centos-git-yarn\n name: dev\n resources:\n limits:\n memory: 2560Mi\n",
"contentType": "application/x-yaml"
}
}
},
"projects": [
{
"links": [],
"name": "theia",
"attributes": {},
"type": "blank",
"source": {
"location": "https://github.com/theia-ide/theia.git",
"type": "git",
"parameters": {}
},
"path": "/theia",
"description": "",
"mixins": [],
"problems": []
},
{
"links": [],
"name": "che",
"attributes": {},
"type": "blank",
"source": {
"location": "https://github.com/sunix/che.git",
"type": "git",
"parameters": {
"branch": "chetheiabuild"
}
},
"path": "/che",
"description": "",
"mixins": [],
"problems": []
},
{
"links": [],
"name": "che-theia-factory-extension",
"attributes": {},
"type": "blank",
"source": {
"location": "https://github.com/eclipse/che-theia-factory-extension.git",
"type": "git",
"parameters": {}
},
"path": "/che-theia-factory-extension",
"description": "",
"mixins": [],
"problems": []
},
{
"links": [],
"name": "theia-plugin-packager",
"attributes": {},
"type": "blank",
"source": {
"location": "https://github.com/eclipse/theia-plugin-packager.git",
"type": "git",
"parameters": {}
},
"path": "/theia-plugin-packager",
"description": "",
"mixins": [],
"problems": []
}
],
"name": "chetheia_builder",
"attributes": {
"editor": "org.eclipse.che.editor.theia:1.0.0",
"plugins": "che-machine-exec-plugin:0.0.1"
},
"commands": [
{
"commandLine": "echo ${CHE_OSO_CLUSTER//api/console}",
"name": "Get OpenShift Console URL",
"attributes": {},
"type": "custom"
}
],
"links": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment