-
Notifications
You must be signed in to change notification settings - Fork 212
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
Support Installation Specification #1684
Conversation
cdb648b
to
4c2cf8f
Compare
/azp run porter-integration |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run porter-integration |
Azure Pipelines successfully started running 1 pipeline(s). |
* Change storage protocol to mimic mongo. * Switch the filesystem plugin to use a mongo instance in a container. * Add a mongo plugin. * Add installation document and rename claim -> run. * Move all storage document formats and data access into porter. Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
If you are still using the filesystem plugin you will see the following error: Error: could not list installations: could not load storage plugin: unsupported internal storage plugin specified storage.porter.filesystem Signed-off-by: Carolyn Van Slyck <[email protected]>
/azp run porter-integration |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 Impressive work, as always! These changes set Porter up to be far more performant and efficient. Majority of comments are minor and usually just typo-related.
It looks like there may be one more TODO in the description above, around documenting the mongodb-docker plugin -- does that still need to be added?
i.Status.InstallationCompleted = true | ||
} | ||
|
||
// TODO(carolynvs): set this before running the bundle, it should trigger the execution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't recall -- should this be addressed now or can defer to a follow-up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is part of #1704
Oh! Yes you are right, I wanted to document the plugin first before merging this PR. 👍 |
Our documents store PORTER'S schema for the document. If we need to convert that document to a CNAB representation, then we will stamp the converted document with the appropriate schema version for that spec. Some docs don't need it at all and I've removed it. Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
I've fixed all the feedback I think. I'm going to leave the documentation for Monday and peace out for the weekend. Thanks for the review! |
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
Signed-off-by: Carolyn Van Slyck <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor docs Q, otherwise LGTM!
## Plugin Configuration | ||
|
||
To use the mongodb plugin, add the following config to porter's config file | ||
(default location: `~/.porter/config.toml`). Replace `conn_str` with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace conn_str with the connection string for your MongoDB server.
should be removed, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops! thanks
Signed-off-by: Carolyn Van Slyck <[email protected]>
What does this change
Teardown()
to release the connection.porter list -n dev
, PORTER_NAMESPACE and namespace configTODO FOR THIS PR
TODO AFTER THIS PR
What issue does it fix
Fixes #1177
First part of #1683
Notes for the reviewer
Sorry it's giant, I needed to make sure the entire thing worked end-to-end. It may work better to do the review in a couple screen sharing sessions.
Checklist