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

Make project backup script auth-aware #1838

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

myieye
Copy link
Collaborator

@myieye myieye commented Oct 7, 2024

It looks like we added MongoDB auth right after the backup script was created, so it was missing this.

@myieye myieye requested a review from rmunn October 7, 2024 13:02
Copy link

github-actions bot commented Oct 7, 2024

Unit Test Results

362 tests   362 ✅  13s ⏱️
 37 suites    0 💤
  1 files      0 ❌

Results for commit e056300.

♻️ This comment has been updated with latest results.

@myieye myieye added the bug An existing problem with our app in production label Oct 7, 2024
@myieye myieye closed this Oct 7, 2024
@myieye myieye reopened this Oct 7, 2024
Copy link
Collaborator

@rmunn rmunn left a comment

Choose a reason for hiding this comment

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

Sure, that works. I had another solution in my local repo that wasn't as good, and hadn't figured out a better way to do it, so let's go with this instead. In theory this could expose the password (command-line parameters are visible to other processes, at least on Linux) so in theory this should be done with a password-file arg instead (e.g., read the password from the file provided on the command line), but in practice that's not a serious concern as this only gets run on dev machines.

@myieye myieye requested a review from rmunn November 7, 2024 15:05
@myieye myieye merged commit 7fff094 into develop Nov 28, 2024
17 checks passed
@myieye myieye deleted the bug/backup-script-not-adapted-for-mongo-auth branch November 28, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing problem with our app in production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants