Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

0.6.2

Compare
Choose a tag to compare
@ThuF ThuF released this 06 Jul 14:44

XSK - 0.6.2

Docker images:

Available for download *.war packages:

Note: Unzip the downloaded file to extract the ROOT.war binary.

For more information go to https://www.dirigible.io/help/setup/.

Available for download *.zip samples:

SAP Java Buildpack Usage

manifest.yaml

applications:
- name: <application-name>
  host: <host>
  memory: 2G
  buildpack: sap_java_buildpack
  path: ROOT.war
  env:
    JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jdk.SAPMachineJDK']"
    JBP_CONFIG_SAP_MACHINE_JRE: 'jre: { version: 11.+ }'
  services:
    - <service-binding>

Buildpack

Prerequisites

  • Install Kpack on your Kubernetes/Kyma cluster
  • Create ClusterStore, ClusterStack and Builder:
apiVersion: kpack.io/v1alpha1
kind: ClusterStore
metadata:
  name: kneo-xsk-store
spec:
  sources:
  - image: dirigiblelabs/kneo-xsk-buildpack:0.6.2
---
apiVersion: kpack.io/v1alpha1
kind: ClusterStack
metadata:
  name: kneo-xsk-stack
spec:
  id: com.sap.kneo.xsk
  buildImage:
    image: dirigiblelabs/kneo-xsk-stack-build:0.6.2
  runImage:
    image: dirigiblelabs/kneo-xsk-stack-run:0.6.2
---
apiVersion: kpack.io/v1alpha1
kind: Builder
metadata:
  name: kneo-xsk
spec:
  serviceAccount: <your-service-account>
  tag: <your-docker-organization>/<your-docker-builder-repository>
  stack:
    name: kneo-xsk-stack
    kind: ClusterStack
  store:
    name: kneo-xsk-store
    kind: ClusterStore
  order:
  - group:
    - id: dirigiblelabs/kneo-xsk-buildpack

Note: Replace <your-service-account> with your ServiceAccount (sample could be found here).

Note: Also replace <your-docker-organization>/<your-docker-builder-repository> with your Docker Repository, where the Docker Image Builder will be hosted (e.g. my-organization/my-builder)

Usage

apiVersion: kpack.io/v1alpha1
kind: Image
metadata:
  name: xsk-application
  namespace: default
spec:
  tag: <your-docker-organization>/<your-application-docker-image-repository>
  serviceAccount: <your-service-account>
  builder:
    name: kneo-xsk
    kind: Builder
  source:
    blob:
      url: https://github.com/SAP/xsk/raw/main/samples/products.zip

Note: Replace <your-service-account> with your ServiceAccount (sample could be found here).

Note: Also replace <your-docker-organization>/<your-application-docker-image-repository> with your Docker Repository, where the Docker Image Builder will be hosted (e.g. my-organization/my-application)