ruby-ex/deployment/manifests/build.yaml

39 lines
724 B
YAML
Raw Normal View History

apiVersion: v1
kind: Template
objects:
- apiVersion: v1
kind: ImageStream
metadata:
2017-01-04 00:48:01 +00:00
name: ${APP}
labels:
2017-01-04 00:48:01 +00:00
app: ${APP}
- apiVersion: v1
kind: BuildConfig
metadata:
2017-01-04 00:48:01 +00:00
name: ${APP}-${BRANCH}
labels:
2017-01-04 00:48:01 +00:00
app: ${APP}
spec:
output:
to:
kind: ImageStreamTag
2017-01-04 00:48:01 +00:00
name: ${APP}:b-${BRANCH}
source:
2017-01-02 23:18:48 +00:00
type: Binary
2017-01-02 23:53:12 +00:00
binary: {}
strategy:
type: Source
sourceStrategy:
from:
kind: ImageStreamTag
name: ruby:2.3
namespace: openshift
2017-01-04 00:29:12 +00:00
parameters:
2017-01-04 00:48:01 +00:00
- description: The application name.
displayName: Application name
name: APP
value: frontend
- description: The branch being built.
displayName: Branch
name: BRANCH