Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 4.8 and change master to 4.9 #19435

Merged
merged 1 commit into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ci-operator/config/openshift/os/openshift-os-master.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
base_images:
coreos_coreos-assembler_48:
coreos_coreos-assembler_49:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this should just be called coreos_coreos-assembler_latest instead, no? There is no 4.9 cosa yet so this is misleading.

Or actually, since we have to keep using the 4.8 image for now until we fix openshift/os#552, maybe better to just not touch this file at all. (But then eventually once we do fix that, it'd be coreos_coreos-assembler_latest here and tag: "latest" below.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jlebon meh, it got merged already. Let me know what do you think, if should I change it following the comments above.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's OK, I'm sure we'll keep tweaking these settings in the future as we sort everything out.

Thanks a lot for looking at this!

name: coreos-assembler
namespace: coreos
tag: "4.8"
Expand All @@ -11,7 +11,7 @@ build_root:
images:
- dockerfile_path: ci/Dockerfile
inputs:
coreos_coreos-assembler_48:
coreos_coreos-assembler_49:
as:
- registry.svc.ci.openshift.org/coreos/coreos-assembler:latest
to: build-test-qemu-img
Expand Down
42 changes: 42 additions & 0 deletions ci-operator/config/openshift/os/openshift-os-release-4.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
base_images:
coreos_coreos-assembler_48:
name: coreos-assembler
namespace: coreos
tag: "4.8"
build_root:
image_stream_tag:
name: fcos-buildroot
namespace: coreos
tag: testing-devel
images:
- dockerfile_path: ci/Dockerfile
inputs:
coreos_coreos-assembler_48:
as:
- registry.svc.ci.openshift.org/coreos/coreos-assembler:latest
to: build-test-qemu-img
resources:
'*':
requests:
cpu: 1000m
memory: 1Gi
build-test-qemu:
limits:
devices.kubevirt.io/kvm: "1"
requests:
cpu: 1000m
devices.kubevirt.io/kvm: "1"
memory: 2Gi
tests:
- as: validate
commands: ./ci/validate.sh
container:
from: src
- as: build-test-qemu
commands: /src/ci/build-test-qemu.sh
container:
from: build-test-qemu-img
zz_generated_metadata:
branch: release-4.8
org: openshift
repo: os
147 changes: 147 additions & 0 deletions ci-operator/jobs/openshift/os/openshift-os-release-4.8-presubmits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
presubmits:
openshift/os:
- agent: kubernetes
always_run: true
branches:
- release-4.8
cluster: build02
context: ci/prow/build-test-qemu
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
devices.kubevirt.io/kvm: "1"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-os-release-4.8-build-test-qemu
rerun_command: /test build-test-qemu
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=build-test-qemu
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )build-test-qemu,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- release-4.8
cluster: build01
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-os-release-4.8-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- release-4.8
cluster: build01
context: ci/prow/validate
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-os-release-4.8-validate
rerun_command: /test validate
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=validate
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )validate,?($|\s.*)