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: AnalysisRun args could not be resolved from secret #1213

Merged
merged 9 commits into from
May 24, 2021

Conversation

khhirani
Copy link
Contributor

Resolves #1205

Signed-off-by: khhirani kareena.hirani@gmail.com

Signed-off-by: khhirani <kareena.hirani@gmail.com>
@khhirani khhirani requested a review from jessesuen May 21, 2021 23:40
@codecov
Copy link

codecov bot commented May 21, 2021

Codecov Report

Merging #1213 (f63126f) into master (9a028d1) will increase coverage by 0.11%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1213      +/-   ##
==========================================
+ Coverage   81.09%   81.20%   +0.11%     
==========================================
  Files         106      106              
  Lines        9519     9510       -9     
==========================================
+ Hits         7719     7723       +4     
+ Misses       1269     1260       -9     
+ Partials      531      527       -4     
Impacted Files Coverage Δ
utils/analysis/factory.go 94.69% <ø> (+2.82%) ⬆️
.../apis/rollouts/validation/validation_references.go 76.31% <81.81%> (+0.25%) ⬆️
analysis/analysis.go 86.54% <100.00%> (+2.78%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a028d1...f63126f. Read the comment docs.

@khhirani khhirani marked this pull request as draft May 22, 2021 00:01
Signed-off-by: khhirani <kareena.hirani@gmail.com>
Signed-off-by: khhirani <kareena.hirani@gmail.com>
Signed-off-by: khhirani <kareena.hirani@gmail.com>
@khhirani khhirani changed the title fix: Fix validation for ValueFrom in AnalysisTemplate fix: Fix metric resolution for AnalysisRun objects May 22, 2021
Signed-off-by: khhirani <kareena.hirani@gmail.com>
@khhirani khhirani marked this pull request as ready for review May 22, 2021 03:20
Signed-off-by: khhirani <kareena.hirani@gmail.com>
Signed-off-by: khhirani <kareena.hirani@gmail.com>
@jessesuen jessesuen changed the title fix: Fix metric resolution for AnalysisRun objects fix: AnalysisRun metric args could not be resolved from secret May 24, 2021
@jessesuen jessesuen changed the title fix: AnalysisRun metric args could not be resolved from secret fix: AnalysisRun args could not be resolved from secret May 24, 2021
Signed-off-by: khhirani <kareena.hirani@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented May 24, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@khhirani khhirani merged commit 849f77e into argoproj:master May 24, 2021
@khhirani khhirani deleted the fix-valuefrom-analysistemplate branch May 24, 2021 22:50
caoyang001 pushed a commit to caoyang001/argo-rollouts that referenced this pull request Jun 12, 2021
* fix: Fix ValueFrom resolution and validation in AnalysisTemplate

Signed-off-by: caoyang001 <caoyang001@foxmail.com>
huikang pushed a commit to huikang/argo-rollouts that referenced this pull request Sep 16, 2021
* fix: Fix ValueFrom resolution and validation in AnalysisTemplate

Signed-off-by: caoyang001 <caoyang001@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValueFrom on web provider isn't working properly
2 participants