-
Notifications
You must be signed in to change notification settings - Fork 357
feat: Migrate from manifest v0 to v1 format #1239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
c7f56f6
0f85af1
12f8cf9
fb01b2f
0ce5f6a
14c1a25
bc5ee89
71449f8
435aa84
faf20ba
19f3852
8c20115
e223ee0
a5d7b3f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,24 @@ | ||
| # TODO: Remove this and use the bundle.Dockerfile in the root of the project. | ||
| # To be dropped after the openshift-ci have started reding the other one. | ||
|
|
||
| FROM scratch | ||
|
|
||
| # Core bundle labels. | ||
| LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | ||
| LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | ||
| LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | ||
| LABEL operators.operatorframework.io.bundle.package.v1=openshift-gitops-operator | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should preserve this name. In downstream we use
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Based on your comment, I tried to get it aligned with production build, but the prefix makes the computed name+version too long for the 33-ish character limit, that was surprisingly hard to workaround. The |
||
| LABEL operators.operatorframework.io.bundle.channels.v1=latest | ||
| LABEL operators.operatorframework.io.bundle.package.v1=gitops-operator | ||
| LABEL operators.operatorframework.io.bundle.channels.v1=latest,gitops-1.8 | ||
| LABEL operators.operatorframework.io.bundle.channel.default.v1=latest | ||
| LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.35.0 | ||
| LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 | ||
| LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4 | ||
|
|
||
| COPY manifests /manifests/ | ||
| COPY metadata/annotations.yaml /metadata/annotations.yaml | ||
| # Labels for testing. | ||
| LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 | ||
| LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ | ||
|
|
||
| # These are three labels needed to control how the pipeline should handle this container image | ||
| # This first label tells the pipeline that this is a bundle image and should be | ||
| # delivered via an index image | ||
| LABEL com.redhat.delivery.operator.bundle=true | ||
| # This second label tells the pipeline which versions of OpenShift the operator supports. | ||
| # This is used to control which index images should include this operator. | ||
| LABEL com.redhat.openshift.versions="v4.8" | ||
| # This third label tells the pipeline that this operator should *also* be supported on OCP 4.4 and | ||
| # earlier. It is used to control whether or not the pipeline should attempt to automatically | ||
| # backport this content into the old appregistry format and upload it to the quay.io application | ||
| # registry endpoints. | ||
| LABEL com.redhat.delivery.backport=true | ||
| # Copy files to locations specified by labels. | ||
| COPY manifests /manifests/ | ||
| COPY metadata /metadata/ | ||
| COPY tests/scorecard /tests/scorecard/ | ||
Uh oh!
There was an error while loading. Please reload this page.