diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4f2d07e4..a18a4123 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -17,6 +17,9 @@ /stacks/dotnet80/ @msivasubramaniaan @devfile/che-team /stacks/dotnetcore31/ @kadel @devfile/che-team +# Camel stacks +/stacks/camel/ @devfile/devfile-services-team @devfile/che-team + # Golang stacks /stacks/go/ @devfile/devfile-services-team @devfile/che-team diff --git a/stacks/camel/1.0.0/devfile.yaml b/stacks/camel/1.0.0/devfile.yaml new file mode 100644 index 00000000..086f51de --- /dev/null +++ b/stacks/camel/1.0.0/devfile.yaml @@ -0,0 +1,78 @@ +schemaVersion: 2.2.0 +metadata: + name: camel + displayName: Apache Camel Basics + description: Gain familiarity with Apache Camel by getting hands-on following documented guidelines. + icon: https://raw.githubusercontent.com/apache/camel/refs/heads/main/docs/img/logo-d.svg + tags: + - Java + - Quarkus + - Spring + - Camel + projectType: Camel + language: Camel + version: 1.0.0 + website: https://camel.apache.org/ +starterProjects: + - name: devsandbox-camel + git: + checkoutFrom: + revision: main + remotes: + origin: 'https://github.com/RedHat-Middleware-Workshops/devsandbox-camel.git' +components: + - name: tools + container: + image: quay.io/devfile/universal-developer-image:ubi8-304d6d4 + memoryLimit: 3Gi + endpoints: + - exposure: none + name: debug + protocol: tcp + targetPort: 5005 + - exposure: public + name: 8080-tcp + protocol: http + targetPort: 8080 + volumeMounts: + - name: m2 + path: /home/user/.m2 + - name: webapp + container: + image: quay.io/redhatintegration/tutorial-web-app:2.28.4-workshop-ubi8-nodejs12 + env: + - name: NODE_ENV + value: production + - name: THREESCALE_WILDCARD_DOMAIN + value: local.localdomain + - name: OPENSHIFT_VERSION + value: '4' + - name: WALKTHROUGH_LOCATIONS + value: >- + https://github.com/RedHat-Middleware-Workshops/devsandbox-camel?walkthroughsFolder=/docs/labs + endpoints: + - name: tutorial + exposure: public + targetPort: 5001 + protocol: https + secure: true + memoryLimit: 512Mi + mountSources: true + volumeMounts: + - name: tutorial-storage + path: /opt/user-walkthroughs + - name: m2 + volume: + size: 1G + - name: tutorial-storage + volume: + size: 256Mi +events: + postStart: + - set-camel-cli +commands: + - id: set-camel-cli + exec: + commandLine: 'source ~/.bashrc && jbang trust add https://github.com/apache/camel/ && jbang app install -Dcamel.jbang.version=4.8.0 camel@apache/camel && jbang camel@apache/camel plugin add kubernetes' + component: tools + diff --git a/stacks/camel/stack.yaml b/stacks/camel/stack.yaml new file mode 100644 index 00000000..5b8f8ec2 --- /dev/null +++ b/stacks/camel/stack.yaml @@ -0,0 +1,7 @@ +name: camel +description: Gain familiarity with Apache Camel by getting hands-on following documented guidelines. +displayName: Apache Camel Basics +icon: https://raw.githubusercontent.com/apache/camel/refs/heads/main/docs/img/logo-d.svg +versions: + - version: 1.0.0 + default: true # should have one and only one default version