{
  "environments": {
    "default": {
      "recipe": {
        "contentType": "application/x-yaml",
        "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: mariolet/che-plugin-dev-tooling:jug\n     name: dev\n     resources:\n      limits:\n       memory: 512Mi\n"
      },
      "machines": {
        "ws/dev": {
          "env": {
            "": ""
          },
          "installers": [],
          "servers": {},
          "volumes": {
            "projects": {
              "path": "/projects"
            }
          },
          "attributes": {
            "memoryLimitBytes": "536870912"
          }
        }
      }
    }
  },
  "commands": [
    {
      "commandLine": "cd /projects/spring-petclinic && kubectl apply -f app4jug.yaml",
      "name": "Run Kube App",
      "type": "che",
      "attributes": {
        "machineName": "ws/dev",
        "goal": "Run"
      }
    },
    {
      "commandLine": "cd /projects/spring-petclinic && ./mvnw package",
      "name": "Build Java",
      "type": "che",
      "attributes": {
        "machineName": "ws/dev",
        "goal": "Build"
      }
    },
    {
      "commandLine": "cd /projects/spring-petclinic && buildah bud -t petclinic .",
      "name": "Build Container Image",
      "type": "che",
      "attributes": {
        "machineName": "ws/dev",
        "goal": "Build"
      }
    },
    {
      "commandLine": "cd /projects/spring-petclinic && buildah push --tls-verify=false petclinic docker://$(kubectl get services -n kube-system -o jsonpath={.spec.clusterIP} registry)/mariolet/petclinic:latest",
      "name": "Push Container Image",
      "type": "che",
      "attributes": {
        "machineName": "ws/dev",
        "goal": "Build"
      }
    },
    {
      "commandLine": "echo ${CHE_OSO_CLUSTER//api/console}",
      "name": "Get OpenShift Console URL",
      "type": "custom",
      "attributes": {}
    }
  ],
  "projects": [
    {
      "source": {
        "location": "https://github.com/sleshchenko/spring-petclinic.git",
        "type": "git",
        "parameters": {}
      },
      "links": [],
      "description": "",
      "problems": [],
      "mixins": [],
      "name": "spring-petclinic",
      "path": "/spring-petclinic",
      "attributes": {}
    }
  ],
  "defaultEnv": "default",
  "name": "inner-loop-buildah",
  "attributes": {
    "editor": "eclipse/che-theia/1.0.0",
    "plugins": "eclipse/che-machine-exec-plugin/0.0.1",
    "sidecar.eclipse/che-theia.memory_limit": "512Mi"
  },
  "links": []
}
