-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from LorbusChris/release-4.15
Add release-4.15 builds
- Loading branch information
Showing
37 changed files
with
266 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- okd-coreos-all-4.13-create-daily.yaml | ||
- okd-coreos-all-4.14-create-daily.yaml | ||
- okd-coreos-4.13-prod-create-daily.yaml | ||
- okd-coreos-4.14-prod-create-daily.yaml | ||
- okd-coreos-4.15-prod-create-daily.yaml | ||
- tekton-cleanup-daily.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
base/batch/cronjobs/okd-coreos-4.15-prod-create-daily.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: okd-coreos-4.15-prod-create-daily | ||
spec: | ||
schedule: "0 9 * * *" | ||
jobTemplate: | ||
spec: | ||
template: | ||
spec: | ||
volumes: | ||
- name: workspace | ||
emptyDir: {} | ||
containers: | ||
- name: send-trigger | ||
image: curlimages/curl | ||
command: | ||
- /bin/sh | ||
args: | ||
- -ce | ||
- | | ||
cat <<EOF > /workspace/post-body.json | ||
{ | ||
"params": { | ||
"branch": "${BRANCH}", | ||
"version": "${OKD_VERSION}", | ||
"release-stream": "${RELEASE_STREAM}", | ||
"rpm-artifacts-image": "${ARTIFACTS_IMAGE}", | ||
"tag-latest": "${TAG_LATEST}", | ||
"claimname": "${CLAIMNAME}" | ||
} | ||
} | ||
EOF | ||
curl -d @/workspace/post-body.json $SINK_URL | ||
volumeMounts: | ||
- mountPath: /workspace | ||
name: workspace | ||
env: | ||
- name: SINK_URL | ||
value: "http://el-okd-coreos-prod.okd-coreos.svc.cluster.local:8080" | ||
- name: BRANCH | ||
value: "release-4.15" | ||
- name: OKD_VERSION | ||
value: "4.15" | ||
- name: RELEASE_STREAM | ||
value: "next" | ||
- name: ARTIFACTS_IMAGE | ||
value: "registry.ci.openshift.org/origin/4.15:artifacts" | ||
- name: TAG_LATEST | ||
value: "true" | ||
- name: CLAIMNAME | ||
value: "pipeline-scos-4.15-pvc" | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
restartPolicy: Never | ||
dnsPolicy: ClusterFirst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- pvc-next.yaml | ||
- pvc-stable.yaml | ||
- pvc-4.13.yaml | ||
- pvc-4.14.yaml | ||
- pvc-4.15.yaml |
2 changes: 1 addition & 1 deletion
2
...core/persistentvolumeclaims/pvc-next.yaml → ...core/persistentvolumeclaims/pvc-4.13.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...re/persistentvolumeclaims/pvc-stable.yaml → ...core/persistentvolumeclaims/pvc-4.14.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: pipeline-scos-4.15-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 40Gi | ||
storageClassName: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- pv-next.yaml | ||
- pv-stable.yaml | ||
- pv-4.13.yaml | ||
- pv-4.14.yaml | ||
- pv-4.15.yaml |
7 changes: 5 additions & 2 deletions
7
base/core/persistentvolumes/pv-next.yaml → base/core/persistentvolumes/pv-4.13.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
base/core/persistentvolumes/pv-stable.yaml → base/core/persistentvolumes/pv-4.14.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolume | ||
metadata: | ||
name: pipeline-scos-4.15-pv | ||
spec: | ||
capacity: | ||
storage: 40Gi | ||
volumeMode: Filesystem | ||
accessModes: | ||
- ReadWriteOnce | ||
persistentVolumeReclaimPolicy: Delete | ||
claimRef: | ||
name: pipeline-scos-4.15-pvc | ||
namespace: okd-coreos | ||
storageClassName: local | ||
local: | ||
path: /dev/sdb | ||
nodeAffinity: | ||
required: | ||
nodeSelectorTerms: | ||
- matchExpressions: | ||
- key: kubernetes.io/hostname | ||
operator: In | ||
values: | ||
- host-192-168-111-72 |
14 changes: 14 additions & 0 deletions
14
base/image.openshift.io/imagestreams/coreos-assembler/imagestream.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
kind: ImageStream | ||
apiVersion: image.openshift.io/v1 | ||
metadata: | ||
name: coreos-assembler | ||
spec: | ||
lookupPolicy: | ||
local: true | ||
tags: | ||
- name: "latest" | ||
from: | ||
kind: DockerImage | ||
name: quay.io/coreos-assembler/coreos-assembler:latest | ||
importPolicy: | ||
scheduled: true |
4 changes: 4 additions & 0 deletions
4
base/image.openshift.io/imagestreams/coreos-assembler/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- imagestream.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- okd-coreos-all.yaml | ||
- okd-coreos-build.yaml | ||
- okd-coreos.yaml |
Oops, something went wrong.