ceph-csi/deploy/ceph-csi-buildconfig.yaml
Niels de Vos 8135680065 ci: migrate to new OpenShift cluster running on AWS
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-03-20 09:21:41 +00:00

79 lines
1.7 KiB
YAML

---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: ceph-csi-canary
labels:
app: ceph-csi
spec:
runPolicy: Serial
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 1
source:
git:
uri: https://github.com/ceph/ceph-csi
ref: devel
contextDir: .
strategy:
dockerStrategy:
dockerfilePath: deploy/cephcsi/image/Dockerfile
imageOptimizationPolicy: SkipLayers
output:
to:
kind: DockerImage
name: registry-ceph-csi.apps.ocp.cloud.ci.centos.org/ceph-csi:canary
pushSecret:
name: container-registry-auth
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: ceph-csi-test
labels:
app: ceph-csi
spec:
runPolicy: Serial
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 1
source:
git:
uri: https://github.com/ceph/ceph-csi
ref: devel
contextDir: .
strategy:
dockerStrategy:
dockerfilePath: scripts/Dockerfile.test
imageOptimizationPolicy: SkipLayers
output:
to:
kind: DockerImage
name: registry-ceph-csi.apps.ocp.cloud.ci.centos.org/ceph-csi:test
pushSecret:
name: container-registry-auth
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: ceph-csi-devel
labels:
app: ceph-csi
spec:
runPolicy: Serial
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 1
source:
git:
uri: https://github.com/ceph/ceph-csi
ref: devel
contextDir: .
strategy:
dockerStrategy:
dockerfilePath: scripts/Dockerfile.devel
imageOptimizationPolicy: SkipLayers
output:
to:
kind: DockerImage
name: registry-ceph-csi.apps.ocp.cloud.ci.centos.org/ceph-csi:devel
pushSecret:
name: container-registry-auth