Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
base_images:
base-machine:
name: centos
namespace: openshift
tag: stream9
commitchecker:
name: commitchecker
namespace: ci
Expand All @@ -11,9 +15,16 @@ base_images:
name: builder
namespace: ocp
tag: rhel-9-golang-1.20-openshift-4.15
rhel-coreos-base:
name: "4.15"
namespace: ocp
tag: rhel-coreos
binary_build_commands: make binaries
build_root:
from_repository: true
image_stream_tag:
name: builder
namespace: ocp
tag: rhel-9-golang-1.20-openshift-4.15
canonical_go_repository: github.com/kubernetes-sigs/cloud-provider-azure
images:
- dockerfile_path: openshift-hack/images/cloud-controller-manager-openshift.Dockerfile
Expand All @@ -34,10 +45,40 @@ images:
as:
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.15
to: azure-cloud-node-manager
- dockerfile_literal: |
# This uses the new rhel-coreos base image
# https://github.com/openshift/enhancements/blob/master/enhancements/ocp-coreos-layering/ocp-coreos-layering.md
FROM quay.io/centos/centos:stream9 as build
# Sadly rpm-ostree in rhel8 right now doesn't support e.g. `rpm-ostree upgrade openshift-hyperkube`
# in a container https://github.com/coreos/rpm-ostree/issues/4034
RUN ls -al /etc/yum.repos.d && dnf -y install dnf-utils && dnf --disablerepo='*' --enablerepo=built download acr-credential-provider
# See also https://issues.redhat.com/browse/ART-4352
FROM registry.ci.openshift.org/rhcos-devel/rhel-coreos
COPY --from=build /*.rpm /
# Also delete leftover RPM files; see https://issues.redhat.com/browse/OCPBUGS-6505.
# use -F rather than -U as we otherwise conflict with the production build in rhel-coreos
RUN rpm -Fvh --oldpackage /*.rpm && rm -vf /*.rpm /usr/share/rpm/__db.* /usr/share/rpm/.*.lock
inputs:
base-machine-with-rpms:
as:
- quay.io/centos/centos:stream9
rhel-coreos-base:
as:
- registry.ci.openshift.org/rhcos-devel/rhel-coreos
to: rhel-coreos
promotion:
to:
- name: "4.15"
- additional_images:
cloud-provider-azure-rpms: rpms
disabled: true
excluded_images:
- rhel-coreos
name: "4.15"
namespace: ocp
raw_steps:
- rpm_image_injection_step:
from: base-machine
to: base-machine-with-rpms
releases:
initial:
integration:
Expand All @@ -55,6 +96,8 @@ resources:
requests:
cpu: 100m
memory: 200Mi
rpm_build_commands: openshift-hack/build-rpms.sh 4.15.0
rpm_build_location: _output/RPMS/x86_64
tests:
- as: verify-git-history
commands: make verify-history
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
base_images:
base-machine:
name: centos
namespace: openshift
tag: stream9
commitchecker:
name: commitchecker
namespace: ci
Expand All @@ -11,12 +15,16 @@ base_images:
name: builder
namespace: ocp
tag: rhel-9-golang-1.20-openshift-4.15
rhel-coreos-base:
name: "4.15"
namespace: ocp
tag: rhel-coreos
binary_build_commands: go build ./cmd/cloud-controller-manager
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.17
name: builder
namespace: ocp
tag: rhel-9-golang-1.20-openshift-4.15
canonical_go_repository: k8s.io/cloud-provider-gcp
images:
- dockerfile_path: openshift-hack/images/Dockerfile.openshift
Expand All @@ -28,10 +36,40 @@ images:
as:
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.15
to: gcp-cloud-controller-manager
- dockerfile_literal: |
# This uses the new rhel-coreos base image
# https://github.com/openshift/enhancements/blob/master/enhancements/ocp-coreos-layering/ocp-coreos-layering.md
FROM quay.io/centos/centos:stream9 as build
# Sadly rpm-ostree in rhel8 right now doesn't support e.g. `rpm-ostree upgrade openshift-hyperkube`
# in a container https://github.com/coreos/rpm-ostree/issues/4034
RUN ls -al /etc/yum.repos.d && dnf -y install dnf-utils && dnf --disablerepo='*' --enablerepo=built download gcr-credential-provider
# See also https://issues.redhat.com/browse/ART-4352
FROM registry.ci.openshift.org/rhcos-devel/rhel-coreos
COPY --from=build /*.rpm /
# Also delete leftover RPM files; see https://issues.redhat.com/browse/OCPBUGS-6505.
# use -F rather than -U as we otherwise conflict with the production build in rhel-coreos
RUN rpm -Fvh --oldpackage /*.rpm && rm -vf /*.rpm /usr/share/rpm/__db.* /usr/share/rpm/.*.lock
inputs:
base-machine-with-rpms:
as:
- quay.io/centos/centos:stream9
rhel-coreos-base:
as:
- registry.ci.openshift.org/rhcos-devel/rhel-coreos
to: rhel-coreos
promotion:
to:
- name: "4.15"
- additional_images:
cloud-provider-gcp-rpms: rpms
disabled: true
excluded_images:
- rhel-coreos
name: "4.15"
namespace: ocp
raw_steps:
- rpm_image_injection_step:
from: base-machine
to: base-machine-with-rpms
releases:
initial:
integration:
Expand All @@ -49,6 +87,8 @@ resources:
requests:
cpu: 100m
memory: 200Mi
rpm_build_commands: openshift-hack/build-rpms.sh 4.15.0
rpm_build_location: _output/RPMS/x86_64
tests:
- as: fmt
commands: gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ postsubmits:
- ^release-4\.15$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
Expand All @@ -21,6 +23,7 @@ postsubmits:
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=rpms
command:
- ci-operator
image: ci-operator:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ presubmits:
cluster: build03
context: ci/prow/e2e-azure-ovn
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: azure4
ci-operator.openshift.io/cloud-cluster-profile: azure4
Expand Down Expand Up @@ -88,6 +90,8 @@ presubmits:
cluster: build03
context: ci/prow/e2e-azure-ovn-upgrade
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: azure4
ci-operator.openshift.io/cloud-cluster-profile: azure4
Expand Down Expand Up @@ -168,6 +172,8 @@ presubmits:
cluster: build03
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
Expand All @@ -181,7 +187,7 @@ presubmits:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=[release:latest]
- --target=rpms
command:
- ci-operator
image: ci-operator:latest
Expand Down Expand Up @@ -223,6 +229,8 @@ presubmits:
cluster: build03
context: ci/prow/unit
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
Expand Down Expand Up @@ -277,6 +285,8 @@ presubmits:
cluster: build03
context: ci/prow/verify
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
Expand Down Expand Up @@ -331,6 +341,8 @@ presubmits:
cluster: build03
context: ci/prow/verify-commits
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
Expand Down Expand Up @@ -386,6 +398,8 @@ presubmits:
cluster: build03
context: ci/prow/verify-git-history
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ postsubmits:
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=rpms
command:
- ci-operator
image: ci-operator:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ presubmits:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=[release:latest]
- --target=rpms
command:
- ci-operator
image: ci-operator:latest
Expand Down