Skip to content

Instantly share code, notes, and snippets.

@PI-Victor
Last active July 27, 2016 11:44
Show Gist options
  • Save PI-Victor/16f030f52ef6127149a8f1a12d7cc0b9 to your computer and use it in GitHub Desktop.
Save PI-Victor/16f030f52ef6127149a8f1a12d7cc0b9 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2016-07-27T11:37:08Z
labels:
app: test-javaee-app
name: test-javaee-app
template: javaee-application-stibuild
name: test-javaee-app
namespace: demo
resourceVersion: "1239"
selfLink: /oapi/v1/namespaces/demo/buildconfigs/test-javaee-app
uid: 73746b43-53ee-11e6-a4e0-68f728fac2c0
spec:
output:
to:
kind: ImageStreamTag
name: wildfly:latest_version
postCommit: {}
resources: {}
runPolicy: Serial
source:
git:
ref: s2i
uri: https://github.com/php-coder/java-maven-hello-world.git
secrets: null
type: Git
strategy:
sourceStrategy:
env:
- name: EXAMPLE
value: sample-app
from:
kind: ImageStreamTag
name: wildfly:8.1
incremental: true
runtimeArtifacts:
- destinationDir: deployments/
sourcePath: /opt/app-root/src
runtimeImage:
kind: ImageStreamTag
name: wildfly:latest
type: Source
triggers:
- github:
secret: secret101
type: GitHub
- generic:
secret: secret101
type: Generic
- type: ConfigChange
status:
lastVersion: 7
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment