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

0.12.0

Compare
Choose a tag to compare
@ThuF ThuF released this 20 Dec 17:09

XSK - 0.12.0

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:

Cloud Native Buildpacks

Pack

Available Buildpack Builders:

Building Docker Image with pack:

pack build --builder dirigiblelabs/buildpacks-builder-xsk:0.12.0 <my-org>/<my-repository>

Note: The command will package all sub-folders (project1, project2, etc.) into a XSK docker image with the application sources.

Cloud Foundry - SAP Java Buildpack

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>

Kpack

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

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: xsk-builder
    kind: Builder
  source:
    blob:
      url: https://github.com/SAP/xsk/releases/download/v0.12.0/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)