Skip to content

Commit 184884d

Browse files
authored
ci: bundle dockerfile is needed for prow job (#360)
Submit then bundle.Dockerfile. Checked several operator repositories, they contain the docker file, such as https://github.com/openshift/open-telemetry-opentelemetry-operator
1 parent e936e14 commit 184884d

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/tmp
2-
bundle.Dockerfile
32
RELEASE_BODY.md
43
jsonnet/vendor
54
deploy/package-operator/package/crds

bundle.Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM scratch
2+
3+
# Core bundle labels.
4+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
5+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
6+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
7+
LABEL operators.operatorframework.io.bundle.package.v1=observability-operator
8+
LABEL operators.operatorframework.io.bundle.channels.v1=development
9+
LABEL operators.operatorframework.io.bundle.channel.default.v1=development
10+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.24.0
11+
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
12+
LABEL operators.operatorframework.io.metrics.project_layout=unknown
13+
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+
18+
# Copy files to locations specified by labels.
19+
COPY bundle/manifests /manifests/
20+
COPY bundle/metadata /metadata/
21+
COPY bundle/tests/scorecard /tests/scorecard/

0 commit comments

Comments
 (0)