OpenShift Build and Deploy a JEE Application with S2I: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenShift Build Operations =Overview=")
 
Line 4: Line 4:


=Overview=
=Overview=
=Process=
==Create the Application==
oc new-app <''name''> \
  --param APPLICATION_NAME=<''application-name''> \
  --param SOURCE_REPOSITORY_URL=<''git-url''> \
  --param SOURCE_REPOSITORY_REF=master \
  --param CONTEXT_DIR=/
This creates:
* a build configuration
* an image stream
* a deployment configuration
* a route
* a service

Revision as of 08:04, 25 November 2017

Internal

Overview

Process

Create the Application

oc new-app <name> \
 --param APPLICATION_NAME=<application-name> \
 --param SOURCE_REPOSITORY_URL=<git-url> \ 
 --param SOURCE_REPOSITORY_REF=master \
 --param CONTEXT_DIR=/

This creates:

  • a build configuration
  • an image stream
  • a deployment configuration
  • a route
  • a service