-
Notifications
You must be signed in to change notification settings - Fork 14
dsf okd s2i
This are the s2i source and templates to build an s2i images. It provides OpenShift builder images for components of the devonfw (at this moment only for angular and java).
This work is totally based on the implementation of Michael Kuehl from RedHat for Oasp s2i.
All this information is used as a part of the initial setup for openshift.
In order to build all of this, it will be necessary, first, to have a running OpenShift cluster. How to install it here.
Before using the builder images, add them to the OpenShift cluster.
First, create a dedicated devonfw
project as admin.
$ oc new-project devonfw --display-name='devonfw' --description='devonfw Application Standard Platform'
Now add the builder image configuration and start their build.
oc create -f https://raw.githubusercontent.com/devonfw/devonfw-shop-floor/master/dsf4openshift/openshift-devonfw-deployment/s2i/java/s2i-devonfw-java-imagestream.json --namespace=devonfw
oc create -f https://raw.githubusercontent.com/devonfw/devonfw-shop-floor/master/dsf4openshift/openshift-devonfw-deployment/s2i/angular/s2i-devonfw-angular-imagestream.json --namespace=devonfw
oc start-build s2i-devonfw-java --namespace=devonfw
oc start-build s2i-devonfw-angular --namespace=devonfw
Make sure other projects can access the builder images:
oc policy add-role-to-group system:image-puller system:authenticated --namespace=devonfw
That’s all!
Now, it’s time to create devonfw templates to use this s2i and add it to the browse catalog. More information here.
Use this script to automatically install and build all image streams. The script also creates templates devonfw-angular and devonfw-java inside the project 'openshift' to be used by everyone.
-
Open a bash shell as Administrator
-
Execute shell file:
$ /PATH/TO/BUILD/FILE/initial-setup.sh
More information about what this script does here.
This is a list of useful articles, etc, that I found while creating the templates.
This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International).
-
cicd configuration
-
Manual configuration
-
Automatic configuration
-
-
Custom Services
-
Azure DevOps