Skip to content
Draft
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 @@ -34,6 +34,14 @@ resources:
cpu: 100m
memory: 200Mi
tests:
- as: coverage
commands: |
make codecov
container:
from: src
secrets:
- mount_path: /var/run/codecov-secret
name: rosa-boundary-codecov
- as: lambda-unit-tests
commands: |
export UV_CACHE_DIR=/tmp/uv-cache
Expand All @@ -42,6 +50,15 @@ tests:
uv run pytest test_handler.py -v
container:
from: lambda-test-runner
- as: publish-coverage
commands: |
make codecov
container:
from: src
postsubmit: true
secrets:
- mount_path: /var/run/codecov-secret
name: rosa-boundary-codecov
zz_generated_metadata:
branch: main
org: openshift-online
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
postsubmits:
openshift-online/rosa-boundary:
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-online-rosa-boundary-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/rosa-boundary-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: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
- mountPath: /secrets/rosa-boundary-codecov
name: rosa-boundary-codecov
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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- name: rosa-boundary-codecov
secret:
secretName: rosa-boundary-codecov
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
presubmits:
openshift-online/rosa-boundary:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build04
context: ci/prow/coverage
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-online-rosa-boundary-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/rosa-boundary-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: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
- mountPath: /secrets/rosa-boundary-codecov
name: rosa-boundary-codecov
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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- name: rosa-boundary-codecov
secret:
secretName: rosa-boundary-codecov
trigger: (?m)^/test( | .* )coverage,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down