diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml index a70958fdf1425..e25d6beda98d7 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml @@ -3,6 +3,14 @@ base_images: name: "4.4" namespace: ocp tag: base + base-machine: + name: fedora + namespace: openshift + tag: "29" + machine-os-content-base: + name: "4.3" + namespace: ocp + tag: machine-os-content build_root: image_stream_tag: name: release @@ -12,9 +20,33 @@ images: - dockerfile_path: Dockerfile from: base to: machine-config-operator +- context: ci/prow/images/ + from: base + inputs: + base-machine-with-rpms: + as: + - fedora:29 + paths: null + machine-os-content-base: + as: + - registry.svc.ci.openshift.org/openshift/origin-v4.0:machine-os-content + paths: null + to: machine-os-content promotion: + additional_images: + machine-config-operator-rpms: rpms + excluded_images: + - machine-config-operator-base-with-rpms + - machine-os-content name: "4.4" namespace: ocp +raw_steps: +- rpm_image_injection_step: + from: base + to: machine-config-operator-base-with-rpms +- rpm_image_injection_step: + from: base-machine + to: base-machine-with-rpms resources: '*': limits: @@ -22,10 +54,28 @@ resources: requests: cpu: 100m memory: 200Mi +rpm_build_commands: |- + TMPDIR=$( mktemp -d ) + RPMBUILD_DIR=_rpmbuild/ + COMMIT=$( git rev-parse HEAD ) + SHORTCOMMIT=$( git rev-parse --short=7 HEAD ) + mkdir -p ${RPMBUILD_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS} + tar -czf "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" --exclude='.git' --transform="s|^.|machine-config-operator-${COMMIT}|" --exclude="machine-config-operator-${COMMIT}.tar.gz" ./ + cp ./machine-config-daemon.spec "${RPMBUILD_DIR}/SPECS/" + cp "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" "${RPMBUILD_DIR}/SOURCES/machine-config-operator-${SHORTCOMMIT}.tar.gz" + rpmbuild -ba --nodeps --define "_topdir $( pwd )/${RPMBUILD_DIR}" --define "commit ${COMMIT}" ${RPMBUILD_DIR}/SPECS/machine-config-daemon.spec + rm -rf /srv/repo + mv ${RPMBUILD_DIR}/RPMS/x86_64 /srv/repo + rm -rf /go/.cache ${RPMBUILD_DIR} +rpm_build_location: _rpmbuild/RPMS/ tag_specification: name: "4.4" namespace: ocp tests: +- as: build-rpms-from-tar + commands: '# noop, just to force the building the `rpms` target' + container: + from: machine-config-operator-base-with-rpms - as: unit commands: make test-unit container: diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2.yaml index b4d2cd1a11d20..deca798f4cab1 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2.yaml @@ -3,6 +3,14 @@ base_images: name: "4.2" namespace: ocp tag: base + base-machine: + name: fedora + namespace: openshift + tag: "29" + machine-os-content-base: + name: "4.2" + namespace: ocp + tag: machine-os-content build_root: image_stream_tag: name: release @@ -12,9 +20,33 @@ images: - dockerfile_path: Dockerfile from: base to: machine-config-operator +- context: ci/prow/images/ + from: base + inputs: + base-machine-with-rpms: + as: + - fedora:29 + paths: null + machine-os-content-base: + as: + - registry.svc.ci.openshift.org/openshift/origin-v4.0:machine-os-content + paths: null + to: machine-os-content promotion: + additional_images: + machine-config-operator-rpms: rpms + excluded_images: + - machine-config-operator-base-with-rpms + - machine-os-content name: "4.2" namespace: ocp +raw_steps: +- rpm_image_injection_step: + from: base + to: machine-config-operator-base-with-rpms +- rpm_image_injection_step: + from: base-machine + to: base-machine-with-rpms resources: '*': limits: @@ -22,10 +54,28 @@ resources: requests: cpu: 100m memory: 200Mi +rpm_build_commands: |- + TMPDIR=$( mktemp -d ) + RPMBUILD_DIR=_rpmbuild/ + COMMIT=$( git rev-parse HEAD ) + SHORTCOMMIT=$( git rev-parse --short=7 HEAD ) + mkdir -p ${RPMBUILD_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS} + tar -czf "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" --exclude='.git' --transform="s|^.|machine-config-operator-${COMMIT}|" --exclude="machine-config-operator-${COMMIT}.tar.gz" ./ + cp ./machine-config-daemon.spec "${RPMBUILD_DIR}/SPECS/" + cp "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" "${RPMBUILD_DIR}/SOURCES/machine-config-operator-${SHORTCOMMIT}.tar.gz" + rpmbuild -ba --nodeps --define "_topdir $( pwd )/${RPMBUILD_DIR}" --define "commit ${COMMIT}" ${RPMBUILD_DIR}/SPECS/machine-config-daemon.spec + rm -rf /srv/repo + mv ${RPMBUILD_DIR}/RPMS/x86_64 /srv/repo + rm -rf /go/.cache ${RPMBUILD_DIR} +rpm_build_location: _rpmbuild/RPMS/ tag_specification: name: "4.2" namespace: ocp tests: +- as: build-rpms-from-tar + commands: '# noop, just to force the building the `rpms` target' + container: + from: machine-config-operator-base-with-rpms - as: unit commands: make test-unit container: diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3.yaml index 323de879ebce1..7c9239ed38be9 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3.yaml @@ -3,6 +3,14 @@ base_images: name: "4.3" namespace: ocp tag: base + base-machine: + name: fedora + namespace: openshift + tag: "29" + machine-os-content-base: + name: "4.3" + namespace: origin + tag: machine-os-content build_root: image_stream_tag: name: release @@ -12,9 +20,33 @@ images: - dockerfile_path: Dockerfile from: base to: machine-config-operator +- context: ci/prow/images/ + from: base + inputs: + base-machine-with-rpms: + as: + - fedora:29 + paths: null + machine-os-content-base: + as: + - registry.svc.ci.openshift.org/openshift/origin-v4.0:machine-os-content + paths: null + to: machine-os-content promotion: + additional_images: + machine-config-operator-rpms: rpms + excluded_images: + - machine-config-operator-base-with-rpms + - machine-os-content name: "4.3" namespace: ocp +raw_steps: +- rpm_image_injection_step: + from: base + to: machine-config-operator-base-with-rpms +- rpm_image_injection_step: + from: base-machine + to: base-machine-with-rpms resources: '*': limits: @@ -22,10 +54,28 @@ resources: requests: cpu: 100m memory: 200Mi +rpm_build_commands: |- + TMPDIR=$( mktemp -d ) + RPMBUILD_DIR=_rpmbuild/ + COMMIT=$( git rev-parse HEAD ) + SHORTCOMMIT=$( git rev-parse --short=7 HEAD ) + mkdir -p ${RPMBUILD_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS} + tar -czf "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" --exclude='.git' --transform="s|^.|machine-config-operator-${COMMIT}|" --exclude="machine-config-operator-${COMMIT}.tar.gz" ./ + cp ./machine-config-daemon.spec "${RPMBUILD_DIR}/SPECS/" + cp "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" "${RPMBUILD_DIR}/SOURCES/machine-config-operator-${SHORTCOMMIT}.tar.gz" + rpmbuild -ba --nodeps --define "_topdir $( pwd )/${RPMBUILD_DIR}" --define "commit ${COMMIT}" ${RPMBUILD_DIR}/SPECS/machine-config-daemon.spec + rm -rf /srv/repo + mv ${RPMBUILD_DIR}/RPMS/x86_64 /srv/repo + rm -rf /go/.cache ${RPMBUILD_DIR} +rpm_build_location: _rpmbuild/RPMS/ tag_specification: name: "4.3" namespace: ocp tests: +- as: build-rpms-from-tar + commands: '# noop, just to force the building the `rpms` target' + container: + from: machine-config-operator-base-with-rpms - as: unit commands: make test-unit container: diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4.yaml index f78724007121b..3881fdeffc3f7 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4.yaml @@ -3,6 +3,14 @@ base_images: name: "4.4" namespace: ocp tag: base + base-machine: + name: fedora + namespace: openshift + tag: "29" + machine-os-content-base: + name: "4.4" + namespace: ocp + tag: machine-os-content build_root: image_stream_tag: name: release @@ -12,10 +20,34 @@ images: - dockerfile_path: Dockerfile from: base to: machine-config-operator +- context: ci/prow/images/ + from: base + inputs: + base-machine-with-rpms: + as: + - fedora:29 + paths: null + machine-os-content-base: + as: + - registry.svc.ci.openshift.org/openshift/origin-v4.0:machine-os-content + paths: null + to: machine-os-content promotion: + additional_images: + machine-config-operator-rpms: rpms + excluded_images: + - machine-config-operator-base-with-rpms + - machine-os-content disabled: true name: "4.4" namespace: ocp +raw_steps: +- rpm_image_injection_step: + from: base + to: machine-config-operator-base-with-rpms +- rpm_image_injection_step: + from: base-machine + to: base-machine-with-rpms resources: '*': limits: @@ -23,10 +55,28 @@ resources: requests: cpu: 100m memory: 200Mi +rpm_build_commands: |- + TMPDIR=$( mktemp -d ) + RPMBUILD_DIR=_rpmbuild/ + COMMIT=$( git rev-parse HEAD ) + SHORTCOMMIT=$( git rev-parse --short=7 HEAD ) + mkdir -p ${RPMBUILD_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS} + tar -czf "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" --exclude='.git' --transform="s|^.|machine-config-operator-${COMMIT}|" --exclude="machine-config-operator-${COMMIT}.tar.gz" ./ + cp ./machine-config-daemon.spec "${RPMBUILD_DIR}/SPECS/" + cp "${TMPDIR}/machine-config-operator-${COMMIT}.tar.gz" "${RPMBUILD_DIR}/SOURCES/machine-config-operator-${SHORTCOMMIT}.tar.gz" + rpmbuild -ba --nodeps --define "_topdir $( pwd )/${RPMBUILD_DIR}" --define "commit ${COMMIT}" ${RPMBUILD_DIR}/SPECS/machine-config-daemon.spec + rm -rf /srv/repo + mv ${RPMBUILD_DIR}/RPMS/x86_64 /srv/repo + rm -rf /go/.cache ${RPMBUILD_DIR} +rpm_build_location: _rpmbuild/RPMS/ tag_specification: name: "4.4" namespace: ocp tests: +- as: build-rpms-from-tar + commands: '# noop, just to force the building the `rpms` target' + container: + from: machine-config-operator-base-with-rpms - as: unit commands: make test-unit container: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-postsubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-postsubmits.yaml index 15f77e82fea6f..2b103c10ee538 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-postsubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-postsubmits.yaml @@ -21,6 +21,7 @@ postsubmits: - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml index e483f9fb51918..48d429bf660a8 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml @@ -1,5 +1,53 @@ presubmits: openshift/machine-config-operator: + - agent: kubernetes + always_run: true + branches: + - master + context: ci/prow/build-rpms-from-tar + 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-machine-config-operator-master-build-rpms-from-tar + rerun_command: /test build-rpms-from-tar + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --branch=master + - --give-pr-author-access-to-namespace=true + - --org=openshift + - --repo=machine-config-operator + - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org + - --sentry-dsn-path=/etc/sentry-dsn/ci-operator + - --target=build-rpms-from-tar + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-machine-config-operator-master.yaml + name: ci-operator-master-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/sentry-dsn + name: sentry-dsn + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: sentry-dsn + secret: + secretName: sentry-dsn + trigger: (?m)^/test( | .* )build-rpms-from-tar,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -430,6 +478,7 @@ presubmits: - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] - --target=[release:latest] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-postsubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-postsubmits.yaml index 06577e25f12f2..fa3415c909a8a 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-postsubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-postsubmits.yaml @@ -21,6 +21,7 @@ postsubmits: - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-presubmits.yaml index c38983dacd0c1..09a140ed647d0 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.2-presubmits.yaml @@ -1,5 +1,53 @@ presubmits: openshift/machine-config-operator: + - agent: kubernetes + always_run: true + branches: + - release-4.2 + context: ci/prow/build-rpms-from-tar + 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-machine-config-operator-release-4.2-build-rpms-from-tar + rerun_command: /test build-rpms-from-tar + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --branch=release-4.2 + - --give-pr-author-access-to-namespace=true + - --org=openshift + - --repo=machine-config-operator + - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org + - --sentry-dsn-path=/etc/sentry-dsn/ci-operator + - --target=build-rpms-from-tar + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-machine-config-operator-release-4.2.yaml + name: ci-operator-4.2-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/sentry-dsn + name: sentry-dsn + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: sentry-dsn + secret: + secretName: sentry-dsn + trigger: (?m)^/test( | .* )build-rpms-from-tar,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -372,6 +420,7 @@ presubmits: - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] - --target=[release:latest] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-postsubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-postsubmits.yaml index 45c503e7e556d..231d7a058c8fd 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-postsubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-postsubmits.yaml @@ -21,6 +21,7 @@ postsubmits: - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-presubmits.yaml index 07dcbd4048d0c..f889c44b6f0aa 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.3-presubmits.yaml @@ -1,5 +1,53 @@ presubmits: openshift/machine-config-operator: + - agent: kubernetes + always_run: true + branches: + - release-4.3 + context: ci/prow/build-rpms-from-tar + 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-machine-config-operator-release-4.3-build-rpms-from-tar + rerun_command: /test build-rpms-from-tar + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --branch=release-4.3 + - --give-pr-author-access-to-namespace=true + - --org=openshift + - --repo=machine-config-operator + - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org + - --sentry-dsn-path=/etc/sentry-dsn/ci-operator + - --target=build-rpms-from-tar + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-machine-config-operator-release-4.3.yaml + name: ci-operator-4.3-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/sentry-dsn + name: sentry-dsn + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: sentry-dsn + secret: + secretName: sentry-dsn + trigger: (?m)^/test( | .* )build-rpms-from-tar,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -372,6 +420,7 @@ presubmits: - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] - --target=[release:latest] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-postsubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-postsubmits.yaml index 94c196da5bd0e..c16a1cc1915c5 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-postsubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-postsubmits.yaml @@ -21,6 +21,7 @@ postsubmits: - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] + - --target=rpms command: - ci-operator env: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-presubmits.yaml index 5fafe0739176e..c5a217950086e 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.4-presubmits.yaml @@ -1,5 +1,53 @@ presubmits: openshift/machine-config-operator: + - agent: kubernetes + always_run: true + branches: + - release-4.4 + context: ci/prow/build-rpms-from-tar + 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-machine-config-operator-release-4.4-build-rpms-from-tar + rerun_command: /test build-rpms-from-tar + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --branch=release-4.4 + - --give-pr-author-access-to-namespace=true + - --org=openshift + - --repo=machine-config-operator + - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org + - --sentry-dsn-path=/etc/sentry-dsn/ci-operator + - --target=build-rpms-from-tar + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-machine-config-operator-release-4.4.yaml + name: ci-operator-4.4-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/sentry-dsn + name: sentry-dsn + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: sentry-dsn + secret: + secretName: sentry-dsn + trigger: (?m)^/test( | .* )build-rpms-from-tar,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -371,6 +419,7 @@ presubmits: - --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=[images] + - --target=rpms command: - ci-operator env: