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 @@ -96,6 +96,45 @@ tests:
container:
from: golang-plus
nested_podman: true
- as: coverage
capabilities:
- nested-podman
commands: |
unset GOFLAGS
echo "Go Version: $(go version)"
export DOCKER_PR_CHECK=true
export OCM_ENV=integration
make ocm/setup aws/setup setup/secrets/empty
mkdir -p bin
make db/setup
sleep 5
make codecov
container:
from: golang-plus
nested_podman: true
secrets:
- mount_path: /var/run/codecov-secret
name: osd-fleet-manager-codecov
Comment thread
gdbranco marked this conversation as resolved.
- as: publish-coverage
capabilities:
- nested-podman
commands: |
unset GOFLAGS
echo "Go Version: $(go version)"
export DOCKER_PR_CHECK=true
export OCM_ENV=integration
make ocm/setup aws/setup setup/secrets/empty
mkdir -p bin
make db/setup
sleep 5
make codecov
container:
from: golang-plus
nested_podman: true
postsubmit: true
secrets:
- mount_path: /var/run/codecov-secret
name: osd-fleet-manager-codecov
zz_generated_metadata:
branch: main
org: openshift-online
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
postsubmits:
openshift-online/osd-fleet-manager:
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build05
decorate: true
decoration_config:
skip_cloning: true
labels:
capability/nested-podman: nested-podman
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-online-osd-fleet-manager-main-publish-coverage
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/osd-fleet-manager-codecov
- --target=publish-coverage
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /secrets/osd-fleet-manager-codecov
name: osd-fleet-manager-codecov
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: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: osd-fleet-manager-codecov
secret:
secretName: osd-fleet-manager-codecov
- 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
@@ -1,5 +1,83 @@
presubmits:
openshift-online/osd-fleet-manager:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build04
context: ci/prow/coverage
decorate: true
decoration_config:
skip_cloning: true
labels:
capability/nested-podman: nested-podman
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-online-osd-fleet-manager-main-coverage
rerun_command: /test coverage
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/osd-fleet-manager-codecov
- --target=coverage
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /secrets/osd-fleet-manager-codecov
name: osd-fleet-manager-codecov
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: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: osd-fleet-manager-codecov
secret:
secretName: osd-fleet-manager-codecov
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )coverage,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down