Skip to content

Instantly share code, notes, and snippets.

@scoheb
Created September 13, 2017 16:45
Show Gist options
  • Save scoheb/4a813da5dd33ccbe7d395b467a1922cc to your computer and use it in GitHub Desktop.
Save scoheb/4a813da5dd33ccbe7d395b467a1922cc to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2017-08-10T18:54:27Z
labels:
app: rpmbuild-builder
template: rpmbuild-builder
name: rpmbuild
namespace: continuous-infra
resourceVersion: "85357"
selfLink: /oapi/v1/namespaces/continuous-infra/buildconfigs/rpmbuild
uid: 559320b2-7dfd-11e7-a9a8-e6a69e88fdb6
spec:
failedBuildsHistoryLimit: 5
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: rpmbuild:latest
postCommit: {}
resources: {}
runPolicy: Serial
source:
contextDir: config/Dockerfiles/rpmbuild
git:
ref: master
uri: https://github.com/CentOS-PaaS-SIG/ci-pipeline.git
type: Git
strategy:
dockerStrategy:
env:
- name: CONTAINER_NAME
value: rpmbuild
- name: mytag
value: scott
type: Docker
successfulBuildsHistoryLimit: 5
triggers:
- type: ConfigChange
status:
lastVersion: 24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment