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

[ENG-2162] Handle '=' in secret values #216

Merged
merged 1 commit into from
May 19, 2021
Merged

[ENG-2162] Handle '=' in secret values #216

merged 1 commit into from
May 19, 2021

Conversation

zbuc
Copy link
Contributor

@zbuc zbuc commented May 11, 2021

Should handle '=' appearing inside secret values.

Noticed another issue that prevents setting two secrets at once: https://linear.app/doppler/issue/ENG-2257/doppler-cli-doesnt-support-setting-two-secrets-at-once

@zbuc zbuc requested a review from Piccirello as a code owner May 11, 2021 17:30
@zbuc
Copy link
Contributor Author

zbuc commented May 11, 2021

Not sure why this is failing, I'm unable to run the test-e2e make target locally to test:

$ make test-e2e
./tests/e2e.sh
INFO: Executing 'secrets-download-fallback' tests
Doppler Error: The fallback file does not exist
ERROR: 'secrets-download-fallback' tests failed during execution
INFO: Completed 'secrets-download-fallback' tests
make: *** [test-e2e] Error 1```

@zbuc zbuc requested a review from apazzolini May 11, 2021 17:49
@rgmvisser
Copy link
Contributor

Not sure why this is failing, I'm unable to run the test-e2e make target locally to test:

$ make test-e2e
./tests/e2e.sh
INFO: Executing 'secrets-download-fallback' tests
Doppler Error: The fallback file does not exist
ERROR: 'secrets-download-fallback' tests failed during execution
INFO: Completed 'secrets-download-fallback' tests
make: *** [test-e2e] Error 1```

Do the tests pass when you run this without your changes?

@zbuc
Copy link
Contributor Author

zbuc commented May 11, 2021

Not sure why this is failing, I'm unable to run the test-e2e make target locally to test:

$ make test-e2e
./tests/e2e.sh
INFO: Executing 'secrets-download-fallback' tests
Doppler Error: The fallback file does not exist
ERROR: 'secrets-download-fallback' tests failed during execution
INFO: Completed 'secrets-download-fallback' tests
make: *** [test-e2e] Error 1```

Do the tests pass when you run this without your changes?

locally, no

@Piccirello
Copy link
Contributor

Can you squash these commits into one?

@zbuc
Copy link
Contributor Author

zbuc commented May 19, 2021

@Piccirello done

@Piccirello
Copy link
Contributor

Can you also cleanup the commit message a bit, just so that users have a bit more context when the see the line-item in their terminal. Something like "Fix handling of values containing '=' when setting secrets".

@zbuc
Copy link
Contributor Author

zbuc commented May 19, 2021 via email

@Piccirello
Copy link
Contributor

I think you picked up a couple additional commits in the process. You can likely fix this with a rebase: git pull --rebase origin master

@zbuc zbuc merged commit 7c1837b into master May 19, 2021
@zbuc zbuc deleted the eng_2162-fix_equals branch May 19, 2021 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants