Skip to content

Commit

Permalink
Merge pull request #11458 from dhellmann/capbm-unit-test
Browse files Browse the repository at this point in the history
Bug 1874618: cluster-api-provider-baremetal: add unit test job
  • Loading branch information
openshift-merge-robot committed Sep 14, 2020
2 parents 988b497 + ea98c85 commit 709c883
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Expand Up @@ -41,6 +41,10 @@ tag_specification:
name: "4.6"
namespace: ocp
tests:
- as: unit
commands: ./hack/ci-test.sh
container:
from: src
- as: e2e-metal-ipi
steps:
cluster_profile: packet
Expand Down
Expand Up @@ -201,3 +201,48 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/unit
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-cluster-api-provider-baremetal-master-unit
rerun_command: /test unit
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --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: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )unit,?($|\s.*)

0 comments on commit 709c883

Please sign in to comment.