Skip to content
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

(DOCSP-39082): Updates local deploy with unified docker image. #368

Merged
merged 7 commits into from May 13, 2024

Conversation

corryroot
Copy link
Collaborator

@corryroot corryroot commented May 7, 2024

I updated the following page for the unified Docker image updates.

Self-Review Checklist

  • Check that the submodule pulled in the right changes (if applicable).
  • Define taxonomy values at top of page.
  • Add genre facets (tutorial or reference), as in this example PR.
  • Add programmingLanguage (if necessary).
  • Add meta keywords (if necessary).
  • Resolve any new warnings or errors in the build.
  • Proofread for spelling and grammatical errors.
  • Check staging for rendering issues.
  • Confirm links are working.

.. step:: Pull down the latest ``mongodb/atlas`` Docker image.

**Example:**
.. step:: Pull down the latest ``mongodb/mongodb-atlas-local`` Docker image.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the text Use the atlas deployments command to create a local deployment with Docker. is no longer relevant, we don't need atlas deployments anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fmenezes, I commented in the Google Doc. Is the command good as is for the latest, or should they use docker pull mongodb/mongodb-atlas-local:latest?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:latest is optional for any docker image, but we do offer MongoDB versions like docker pull mongodb/mongodb-atlas-local:7.0.4 and also docker pull mongodb/mongodb-atlas-local:7.0 or docker pull mongodb/mongodb-atlas-local:latest

.. procedure::
:style: normal

.. step:: Install cosign.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are missing steps here, we need to use the tool

To learn more, see the :github:`syft README
</anchore/syft/blob/main/README.md>`.

.. step:: Run syft.
Copy link
Collaborator

@fmenezes fmenezes May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on staging I only see step 1, is it missing spaces?

curl --output mongosh.deb https://downloads.mongodb.com/compass/mongodb-mongosh_2.2.1_amd64.deb
sudo dpkg -i mongosh.deb
mongosh --version
- run: mongosh 'mongodb://localhost/?directConnection=true' --eval 'show dbs'

Supported Actions
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think Supported Actions applies anymore

Copy link
Collaborator

@JuliaMongo JuliaMongo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments and will look again.

Comment on lines -69 to -70
To learn more about the available options, see
:ref:`atlas-deployments-setup`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would it be better to remove "to learn more"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaMongo, no longer applies with the unified image.

Generate a List of Dependencies
-------------------------------

You can generate a list of the dependances for the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependencies

Comment on lines +295 to +296
To learn more, see the :github:`syft README
</anchore/syft/blob/main/README.md>`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move these two lines to be directly after line 281 about the intro to the procedure.

Copy link
Collaborator Author

@corryroot corryroot May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaMongo, I prefer it here. If they can use brew, they can ignore.

Comment on lines 321 to 322
To learn more, see the `cosign Installation
<https://docs.sigstore.dev/system_config/installation/>`__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here: it is strange to see this after the fact. Instead, I would do this:
You can verify the signature .... using Cosign. To learn more, see ... link to Cosign.

A suggestion: should we move these long http links to the snooty.toml and use shorter replacements in text?

Copy link
Collaborator Author

@corryroot corryroot May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaMongo, see above. If they can use brew, they can ignore. If we have multiple cosign links, maybe. For now, I think this is fine as is.

@corryroot corryroot requested a review from JuliaMongo May 7, 2024 14:56

.. code-block:: sh

mongosh "mongodb://user:pass@localhost:27017/?directConnection=true"

Create a Local Atlas Deployment with Docker Compose
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove the Use the atlas deployments command to create a local part


.. step:: Run the following commands.

**Example::**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Example::**
**Example:**

@JuliaMongo
Copy link
Collaborator

JuliaMongo commented May 7, 2024

LGTM with one q:

  1. Do we need to use the word Example in simple steps? If we do, this is a new practice to me and I am not sure the team is aware of it either.
    I usually just add commands after steps, or, in some cases, I say: For example, run the command similar to the following".
    (This is when the command is too specific, and the users would need to modify it for their needs in any way).

Copy link
Collaborator

@JuliaMongo JuliaMongo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@corryroot
Copy link
Collaborator Author

corryroot commented May 7, 2024

LGTM with one q:

  1. Do we need to use the word Example in simple steps? If we do, this is a new practice to me and I am not sure the team is aware of it either.
    I usually just add commands after steps, or, in some cases, I say: For example, run the command similar to the following".
    (This is when the command is too specific, and the users would need to modify it for their needs in any way).

@JuliaMongo, we have used Example: when there's multiple ways to accomplish the step, but we want to provide a single example.

@corryroot corryroot added the RFM label May 7, 2024
@corryroot corryroot merged commit c69c660 into mongodb:master May 13, 2024
@corryroot corryroot deleted the DOCSP-39082 branch May 13, 2024 12:57
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit that referenced this pull request May 13, 2024
* (DOCSP-39082): Updates local deploy with unified docker image.

* (DOCSP-39082): Incorporated Filipe's feedback.

* (DOCSP-39083): Small tweaks.

* (DOCSP-39082): Fixed typo per Julia.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Filipe's final feedback.

* (DOCSP-39082): Incorporated Max's feedback.
corryroot added a commit to corryroot/docs-atlas-cli that referenced this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants