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

fix: pass env when getting param announcement (#11812) #11815

Merged
merged 5 commits into from
Mar 22, 2023

Conversation

crenshaw-dev
Copy link
Collaborator

Fixes #11812

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
cmpserver/plugin/plugin.go Outdated Show resolved Hide resolved
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick 2.6

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (133ff29) 47.79% compared to head (bead2a8) 47.80%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11815   +/-   ##
=======================================
  Coverage   47.79%   47.80%           
=======================================
  Files         246      246           
  Lines       41968    41969    +1     
=======================================
+ Hits        20058    20062    +4     
+ Misses      19910    19908    -2     
+ Partials     2000     1999    -1     
Impacted Files Coverage Δ
cmpserver/plugin/plugin.go 80.22% <100.00%> (+1.22%) ⬆️
util/settings/settings.go 49.36% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev marked this pull request as ready for review March 8, 2023 16:06
@alexef alexef requested a review from leoluz March 9, 2023 08:41
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@crenshaw-dev crenshaw-dev merged commit 95f9196 into argoproj:master Mar 22, 2023
@crenshaw-dev crenshaw-dev deleted the fix-param-announcement-env branch March 22, 2023 18:55
@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.6

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 22, 2023
* fix: pass env when getting param announcement (#11812)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* use same method as other methods

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* better tests

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* make sure env var tests are meaningful

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
crenshaw-dev added a commit that referenced this pull request Mar 23, 2023
* fix: pass env when getting param announcement (#11812)



* use same method as other methods



* better tests



* make sure env var tests are meaningful



---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…roj#11815)

* fix: pass env when getting param announcement (argoproj#11812)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* use same method as other methods

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* better tests

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* make sure env var tests are meaningful

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.6 RC1 - sidecar plugin - spec.parameters.dynamic.command do not have in env ARGOCD_ENV_* variables
2 participants