-
Notifications
You must be signed in to change notification settings - Fork 26
Provide Operator for Converge on common developer tools - Odo/Devfiles #647
Comments
The golang parser for devfiles appears to be here: We're assuming it just parses v1 devfiles now. |
I've been looking for a place to organize my thoughts.... this is as good a place as any. Please feel free to correct any technical misunderstandings that you see here. We are only going to speak of v2 devfiles here. There are two important artifacts (so far) that deal with devfiles - the devfile registry, and the devfile itself. The devfile registry appears to function as the stack-index / stack-hub does. It is a JSON file that contains a list of all the devfiles that are available. For each devfile there is a little bit of information about what that particular stack is, and where it's actual devfile is located. Example: [
{
"displayName": "Maven Java",
"description": "Upstream Maven and OpenJDK 11",
"tags": [
"Java",
"Maven"
],
"projectType": "maven",
"language": "java",
"links": {
"self": "/devfiles/maven/devfile.yaml"
}
},
{
"displayName": "NodeJS Express Web Application",
"description": "Stack with NodeJS 10",
"tags": [
"NodeJS",
"Express",
"ubi8"
],
"projectType": "nodejs",
"language": "nodejs",
"links": {
"self": "/devfiles/nodejs/devfile.yaml"
}
}
] You will notice that there is a link to the actual devfile, as well as some describing information about what the stack is. The devfile itself is YAML, I am not going to inline one here because it is quite large. It contains the container images that are used to build and run an application that uses this stack. It looks like it contains some plugin information that might be used by an IDE. The current proposal (and it's just a proposal) is to have the Kabanero operator generate a devfile registry based on the currently active Stack CR instances, and then host that devfile registry via an external route so that developers can point My thoughts and questions include:
|
Epic: Converge on common developer tools - Odo/Devfiles
odo mode
ordevfile mode
Stack controller appsody/odo mode #747The text was updated successfully, but these errors were encountered: