|
| 1 | +schemaVersion: 2.2.2 |
| 2 | +metadata: |
| 3 | + name: kaoto |
| 4 | + version: 2.5.0 |
| 5 | + description: The Integration Designer for Apache Camel |
| 6 | + displayName: Kaoto |
| 7 | + icon: https://raw.githubusercontent.com/KaotoIO/kaoto/refs/heads/main/packages/ui/src/assets/logo-kaoto.svg |
| 8 | + website: https://kaoto.io |
| 9 | + tags: |
| 10 | + - JavaScript |
| 11 | + - React |
| 12 | + - Quarkus |
| 13 | + - Camel |
| 14 | + - Podman |
| 15 | + language: JavaScript |
| 16 | + projectType: "Node.js" |
| 17 | +projects: |
| 18 | + - name: kaoto |
| 19 | + git: |
| 20 | + remotes: |
| 21 | + origin: 'https://github.com/KaotoIO/kaoto' |
| 22 | + checkoutFrom: |
| 23 | + revision: main |
| 24 | +components: |
| 25 | + - name: tools |
| 26 | + container: |
| 27 | + image: quay.io/devfile/universal-developer-image@sha256:08cf567a02fa70043cad4c1bc6a98e04a7e3f108d2f145929bed80d248fd94fa |
| 28 | + memoryLimit: 8Gi |
| 29 | + memoryRequest: 1Gi |
| 30 | + cpuLimit: "2" |
| 31 | + cpuRequest: 200m |
| 32 | + env: |
| 33 | + - name: KUBEDOCK_PARAMS |
| 34 | + value: "--reverse-proxy --kubeconfig /home/user/.kube/config --initimage quay.io/agiertli/kubedock:0.13.0" |
| 35 | + - name: USE_JAVA17 |
| 36 | + value: "true" |
| 37 | + - value: /home/jboss/.m2 |
| 38 | + name: MAVEN_CONFIG |
| 39 | + - value: -Xmx4G -Xss128M -XX:MetaspaceSize=1G -XX:MaxMetaspaceSize=2G |
| 40 | + name: MAVEN_OPTS |
| 41 | + - name: KUBEDOCK_ENABLED |
| 42 | + value: 'true' |
| 43 | + - name: DOCKER_HOST |
| 44 | + value: 'tcp://127.0.0.1:2475' |
| 45 | + - name: TESTCONTAINERS_RYUK_DISABLED |
| 46 | + value: 'true' |
| 47 | + - name: TESTCONTAINERS_CHECKS_DISABLE |
| 48 | + value: 'true' |
| 49 | + endpoints: |
| 50 | + - exposure: none |
| 51 | + name: kubedock |
| 52 | + protocol: tcp |
| 53 | + targetPort: 2475 |
| 54 | + - exposure: public |
| 55 | + name: kaoto-podman |
| 56 | + protocol: https |
| 57 | + targetPort: 8080 |
| 58 | + attributes: |
| 59 | + discoverable: true |
| 60 | + urlRewriteSupported: true |
| 61 | + - exposure: public |
| 62 | + name: kaoto |
| 63 | + protocol: https |
| 64 | + targetPort: 4173 |
| 65 | + attributes: |
| 66 | + discoverable: true |
| 67 | + urlRewriteSupported: true |
| 68 | + - exposure: internal |
| 69 | + name: debug |
| 70 | + protocol: http |
| 71 | + targetPort: 5005 |
| 72 | + volumeMounts: |
| 73 | + - name: m2 |
| 74 | + path: /home/user/.m2 |
| 75 | + - name: npm |
| 76 | + path: /home/user/.npm |
| 77 | + - name: m2 |
| 78 | + volume: |
| 79 | + size: 512Mi |
| 80 | + - name: npm |
| 81 | + volume: |
| 82 | + size: 512Mi |
| 83 | +commands: |
| 84 | + - id: yarn-install |
| 85 | + exec: |
| 86 | + label: '1. Install Dependencies' |
| 87 | + component: tools |
| 88 | + workingDir: ${PROJECT_SOURCE} |
| 89 | + commandLine: 'yarn install' |
| 90 | + group: |
| 91 | + kind: build |
| 92 | + isDefault: true |
| 93 | + - id: build-camel-catalog-supporting-schemas |
| 94 | + exec: |
| 95 | + label: '2. Build the Camel Catalog and the supporting schemas' |
| 96 | + component: tools |
| 97 | + workingDir: ${PROJECT_SOURCE} |
| 98 | + commandLine: 'yarn workspace @kaoto/camel-catalog run build' |
| 99 | + group: |
| 100 | + kind: build |
| 101 | + isDefault: false |
| 102 | + - id: build |
| 103 | + exec: |
| 104 | + label: '3. Build' |
| 105 | + component: tools |
| 106 | + workingDir: ${PROJECT_SOURCE} |
| 107 | + commandLine: 'yarn workspace @kaoto/kaoto run build' |
| 108 | + group: |
| 109 | + kind: build |
| 110 | + isDefault: false |
| 111 | + - id: start-development-server |
| 112 | + exec: |
| 113 | + label: '4. Start the development server' |
| 114 | + component: tools |
| 115 | + workingDir: ${PROJECT_SOURCE} |
| 116 | + commandLine: 'yarn workspace @kaoto/kaoto run start --host' |
| 117 | + group: |
| 118 | + kind: run |
| 119 | + isDefault: true |
| 120 | + - id: build-public-componets |
| 121 | + exec: |
| 122 | + label: '(optional). Build the public components' |
| 123 | + component: tools |
| 124 | + workingDir: ${PROJECT_SOURCE} |
| 125 | + commandLine: 'yarn workspace @kaoto/kaoto run build:lib' |
| 126 | + group: |
| 127 | + kind: build |
| 128 | + isDefault: false |
| 129 | + - id: start-storybook |
| 130 | + exec: |
| 131 | + label: '(optional). Run the storybook' |
| 132 | + component: tools |
| 133 | + workingDir: ${PROJECT_SOURCE} |
| 134 | + commandLine: 'yarn workspace @kaoto/kaoto-tests storybook' |
| 135 | + group: |
| 136 | + kind: run |
| 137 | + isDefault: false |
| 138 | + - id: start-with-docker |
| 139 | + exec: |
| 140 | + label: '(optional). Running kaoto with Podman' |
| 141 | + component: tools |
| 142 | + workingDir: ${PROJECT_SOURCE} |
| 143 | + commandLine: 'podman run --rm -p 8080:8080 --name kaoto quay.io/kaotoio/kaoto-app:main' |
| 144 | + group: |
| 145 | + kind: run |
| 146 | + isDefault: false |
0 commit comments