11FROM scratch
22
3- # This block are standard Red Hat container labels
4- LABEL name="openshift4-wincw/windows-machine-config-operator-bundle" \
5- License="ASL 2.0" \
6- io.k8s.display-name="Windows Machine Config Operator bundle" \
7- io.k8s.description="Windows Machine Config Operator's OLM bundle image" \
8- summary="Windows Machine Config Operator's OLM bundle image" \
9- maintainer=
"Team Windows Containers <[email protected] >" 10-
11- # These are three labels needed to control how the pipeline should handle this container image
12- # This first label tells the pipeline that this is a bundle image and should be
13- # delivered via an index image
14- LABEL com.redhat.delivery.operator.bundle=true
15-
16- # This second label tells the pipeline which versions of OpenShift the operator supports.
17- # This is used to control which index images should include this operator.
18- LABEL com.redhat.openshift.versions="=v4.20"
19-
20- # This third label tells the pipeline that this operator should *also* be supported on OCP 4.4 and
21- # earlier. It is used to control whether or not the pipeline should attempt to automatically
22- # backport this content into the old appregistry format and upload it to the quay.io application
23- # registry endpoints.
24- LABEL com.redhat.delivery.backport=false
25-
26- # This label gets replaced by render_templates, so it is safer to keep it on its own
27- LABEL version="v0.0.0"
28-
29- # This label maps to the brew build target
30- LABEL com.redhat.component="windows-machine-config-operator-bundle-container"
31-
323# Core bundle labels.
334LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
345LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
@@ -40,6 +11,11 @@ LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.32.0
4011LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
4112LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
4213
14+ # Labels for testing.
15+ LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
16+ LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
17+
4318# Copy files to locations specified by labels.
4419COPY bundle/manifests /manifests/
4520COPY bundle/metadata /metadata/
21+ COPY bundle/tests/scorecard /tests/scorecard/
0 commit comments