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

Add update_strategy for envvars and secrets #523

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

sethvargo
Copy link
Member

The default behavior remains to merge (--update), but setting the update_strategy to "overwrite" will set all values.

Closes #522

@sethvargo sethvargo requested a review from a team as a code owner May 16, 2024 19:28
@sethvargo sethvargo requested a review from verbanicm May 16, 2024 19:28
@sethvargo sethvargo enabled auto-merge (squash) May 16, 2024 19:28
verbanicm
verbanicm previously approved these changes May 16, 2024
@sethvargo sethvargo force-pushed the sethvargo/update_strat branch 6 times, most recently from 98e15a7 to 32a6378 Compare May 17, 2024 02:42
@sethvargo
Copy link
Member Author

Hmm - I'm not sure what's going on. Integration tests are suddenly failing, even at HEAD. It looks like something changed in the node.js test suite with data being shared between filters?

@sethvargo sethvargo force-pushed the sethvargo/update_strat branch from 32a6378 to 647937e Compare May 17, 2024 03:28
@sethvargo
Copy link
Member Author

Hmm - I'm not sure what's going on. Integration tests are suddenly failing, even at HEAD. It looks like something changed in the node.js test suite with data being shared between filters?

nodejs/node#53033

@sethvargo sethvargo force-pushed the sethvargo/update_strat branch from 647937e to 38e5d68 Compare May 17, 2024 03:34
@sethvargo sethvargo disabled auto-merge May 17, 2024 03:36
The default behavior remains to merge (--update), but setting the update_strategy to "overwrite" will set all values.
@sethvargo sethvargo force-pushed the sethvargo/update_strat branch from 38e5d68 to c3ff7e5 Compare May 17, 2024 03:38
@sethvargo sethvargo enabled auto-merge (squash) May 17, 2024 03:40
@sethvargo sethvargo disabled auto-merge May 17, 2024 03:41
@sethvargo sethvargo merged commit 42ca54d into main May 17, 2024
10 checks passed
@sethvargo sethvargo deleted the sethvargo/update_strat branch May 17, 2024 03:41
sethvargo pushed a commit that referenced this pull request May 17, 2024
## What's Changed
* Add update_strategy for envvars and secrets by @sethvargo in
#523


**Full Changelog**:
v2.5.0...42ca54d
@kosta
Copy link

kosta commented May 17, 2024

Thanks a lot 🫶! That was fast 🚀

@kosta
Copy link

kosta commented May 17, 2024

Quick FYI: Works like a charm in our deployment. Goodbye env var called # PROXY_SERVER 🥶

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