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
Expand Up @@ -60,7 +60,7 @@ resources:
requests:
cpu: 100m
memory: 200Mi
rpm_build_commands: tools/build-rpm-rhel8.sh 4.6.0
rpm_build_commands: tools/build-rpm-rhel8.sh 4.7.0
rpm_build_location: _output/RPMS/noarch
tag_specification:
name: 4.7-priv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resources:
requests:
cpu: 100m
memory: 200Mi
rpm_build_commands: tools/build-rpm-rhel8.sh 4.6.0
rpm_build_commands: tools/build-rpm-rhel8.sh 4.7.0
rpm_build_location: _output/RPMS/noarch
tag_specification:
name: 4.7-priv
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
base_images:
base:
name: 4.7-priv
namespace: ocp-private
tag: base
openshift_release_golang-1.13:
name: release
namespace: openshift
tag: golang-1.13
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
canonical_go_repository: github.com/openshift/osd-metrics-exporter
images:
- dockerfile_path: build/Dockerfile
from: base
inputs:
openshift_release_golang-1.13:
as:
- registry.svc.ci.openshift.org/openshift/release:golang-1.13
to: osd-metrics-exporter
promotion:
name: 4.7-priv
namespace: ocp-private
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: 4.7-priv
namespace: ocp-private
tests:
- as: unit
commands: make test
container:
from: src
zz_generated_metadata:
branch: main
org: openshift-priv
repo: osd-metrics-exporter
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
base_images:
base:
name: 4.7-priv
namespace: ocp-private
tag: base
openshift_release_golang-1.13:
name: release
namespace: openshift
tag: golang-1.13
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
canonical_go_repository: github.com/openshift/osd-metrics-exporter
images:
- dockerfile_path: build/Dockerfile
from: base
inputs:
openshift_release_golang-1.13:
as:
- registry.svc.ci.openshift.org/openshift/release:golang-1.13
to: osd-metrics-exporter
promotion:
disabled: true
name: 4.7-priv
namespace: ocp-private
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: 4.7-priv
namespace: ocp-private
tests:
- as: unit
commands: make test
container:
from: src
zz_generated_metadata:
branch: release-4.7
org: openshift-priv
repo: osd-metrics-exporter
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
base_images:
base:
name: "4.7"
namespace: ocp
tag: base
openshift_release_golang-1.13:
name: release
namespace: openshift
tag: golang-1.13
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
images:
- dockerfile_path: build/Dockerfile
from: base
inputs:
openshift_release_golang-1.13:
as:
- registry.svc.ci.openshift.org/openshift/release:golang-1.13
to: osd-metrics-exporter
promotion:
disabled: true
name: "4.7"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.7"
namespace: ocp
tests:
- as: unit
commands: make test
container:
from: src
zz_generated_metadata:
branch: release-4.7
org: openshift
repo: osd-metrics-exporter
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
postsubmits:
openshift-priv/osd-metrics-exporter:
- agent: kubernetes
branches:
- ^main$
cluster: api.ci
decorate: true
decoration_config:
skip_cloning: true
hidden: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci-operator.openshift.io/prowgen-controlled: "true"
max_concurrency: 1
name: branch-ci-openshift-priv-osd-metrics-exporter-main-images
path_alias: github.com/openshift/osd-metrics-exporter
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --promote
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
presubmits:
openshift-priv/osd-metrics-exporter:
- agent: kubernetes
always_run: true
branches:
- main
cluster: build01
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
hidden: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-priv-osd-metrics-exporter-main-images
path_alias: github.com/openshift/osd-metrics-exporter
rerun_command: /test images
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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:
- main
cluster: build01
context: ci/prow/unit
decorate: true
decoration_config:
skip_cloning: true
hidden: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-priv-osd-metrics-exporter-main-unit
path_alias: github.com/openshift/osd-metrics-exporter
rerun_command: /test unit
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=unit
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )unit,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
postsubmits:
openshift-priv/osd-metrics-exporter:
- agent: kubernetes
branches:
- ^release-4\.7$
cluster: api.ci
decorate: true
decoration_config:
skip_cloning: true
hidden: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci-operator.openshift.io/prowgen-controlled: "true"
max_concurrency: 1
name: branch-ci-openshift-priv-osd-metrics-exporter-release-4.7-images
path_alias: github.com/openshift/osd-metrics-exporter
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --promote
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
Loading