[run bundle]: Create bundle registry server#3337
Merged
rashmigottipati merged 1 commit intooperator-framework:masterfrom Jul 15, 2020
Merged
[run bundle]: Create bundle registry server#3337rashmigottipati merged 1 commit intooperator-framework:masterfrom
rashmigottipati merged 1 commit intooperator-framework:masterfrom
Conversation
estroz
suggested changes
Jul 2, 2020
joelanford
requested changes
Jul 2, 2020
11daf6b to
5022b0e
Compare
3a0cd37 to
131f5c3
Compare
camilamacedo86
approved these changes
Jul 8, 2020
Contributor
camilamacedo86
left a comment
There was a problem hiding this comment.
Assuming that it should not be called in any sdk command yet and that has a consensus to do ginkgo/gomega in a follow-up
It shows /lgtm /approve for me.
6926ffb to
5a4e465
Compare
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
a64614b to
29fbe7e
Compare
29fbe7e to
6d40d46
Compare
estroz
approved these changes
Jul 14, 2020
estroz
reviewed
Jul 14, 2020
bd38e07 to
5d6b071
Compare
Member
|
/lgtm |
- Validate RegistryPod struct fields and set defaults - Verify pod creation using polling and ensuring pod status is Running - Add logic to check if pod already exists and return existing pod - Add *corev1.Pod as an unexported field to RegistryPod struct - Make kubernetes client exported on RegistryPod so the caller can set it - Add templating for container command - Add logic to wrap pod logs inside error in case of failures - Use k8sutil's TrimDNS1123Label func to construct pod name - Add unit tests in ginkgo/gomega
5d6b071 to
bb8a0ab
Compare
Member
|
/lgtm |
Joe's comments were addressed by Rashmi.
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the change:
https://issues.redhat.com/browse/OSDK-1304
In this PR,
{{/bin/bash -c ‘ \ /bin/mkdir -p /database && \ /bin/opm registry add -d /database/index.db -b {.BundleImage} && \ /bin/opm registry serve -d /database/index.db’}}Note: Once the CLI code is ready, building the config and creating the client will be setup once in the CLI side, and passed along to this function.
Motivation for the change:
run bundleandrun bundle-upgradecommandsEnhancement proposal: https://github.com/operator-framework/enhancements/blob/master/enhancements/run-bundle.md