Skip to content

Commit

Permalink
Merge pull request #32 from mtulio/feat-plugin-collector
Browse files Browse the repository at this point in the history
SPLAT-868 - plugin: add artifacts collector instance for openshift-tests
  • Loading branch information
openshift-merge-robot committed Dec 7, 2022
2 parents dbd73f0 + 43e1025 commit 99f8e48
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 8 deletions.
64 changes: 64 additions & 0 deletions manifests/openshift-artifacts-collector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
podSpec:
restartPolicy: Never
serviceAccountName: sonobuoy-serviceaccount
volumes:
- name: shared
emptyDir: {}
containers:
- name: report-progress
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
command: ["./report-progress.sh"]
volumeMounts:
- mountPath: /tmp/sonobuoy/results
name: results
- mountPath: /tmp/shared
name: shared
env:
- name: PLUGIN_ID
value: "99"
- name: ENV_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: ENV_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: ENV_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
sonobuoy-config:
driver: Job
plugin-name: 99-openshift-artifacts-collector
result-format: raw
description: The OpenShift Provider Certification Tool artifacts collector executed on the post-certification.
source-url: https://github.com/redhat-openshift-ecosystem/provider-certification-tool/blob/main/manifests/openshift-artifacts-collector.yaml
skipCleanup: true
spec:
name: plugin
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
volumeMounts:
- mountPath: /tmp/sonobuoy/results
name: results
- mountPath: /tmp/shared
name: shared
env:
- name: PLUGIN_ID
value: "99"
- name: ENV_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: ENV_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: ENV_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
4 changes: 2 additions & 2 deletions manifests/openshift-conformance-validated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ podSpec:
emptyDir: {}
containers:
- name: report-progress
image: quay.io/ocp-cert/openshift-tests-provider-cert:stable
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
command: ["./report-progress.sh"]
Expand Down Expand Up @@ -39,7 +39,7 @@ sonobuoy-config:
skipCleanup: true
spec:
name: plugin
image: quay.io/ocp-cert/openshift-tests-provider-cert:stable
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
volumeMounts:
Expand Down
4 changes: 2 additions & 2 deletions manifests/openshift-kube-conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ podSpec:
emptyDir: {}
containers:
- name: report-progress
image: quay.io/ocp-cert/openshift-tests-provider-cert:stable
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
command: ["./report-progress.sh"]
Expand Down Expand Up @@ -39,7 +39,7 @@ sonobuoy-config:
skipCleanup: true
spec:
name: plugin
image: quay.io/ocp-cert/openshift-tests-provider-cert:stable
image: quay.io/ocp-cert/openshift-tests-provider-cert:v0.2.0
imagePullPolicy: Always
priorityClassName: system-node-critical
volumeMounts:
Expand Down
92 changes: 88 additions & 4 deletions pkg/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99f8e48

Please sign in to comment.