-
Notifications
You must be signed in to change notification settings - Fork 277
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 git credential fetch support, minor bug fixes #2057
Add git credential fetch support, minor bug fixes #2057
Conversation
Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #2057 +/- ##
=========================================
Coverage 94.23% 94.23%
Complexity 25 25
=========================================
Files 198 198
Lines 3902 3902
Branches 29 29
=========================================
Hits 3677 3677
Misses 219 219
Partials 6 6 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
].join(' ')) | ||
String stackNameSuffix = isNullOrEmpty(args.stackNameSuffix) ? 'perf-test' : args.stackNameSuffix | ||
|
||
withCredentials([usernamePassword(credentialsId: "${GITHUB_BOT_TOKEN_NAME}", usernameVariable: 'GITHUB_USER', passwordVariable: 'GITHUB_TOKEN')]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont see anywhere define the actual token id, are you setting it in the jenkins global env?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is defined as a Jenkins global env var. More usages -
withCredentials([usernamePassword(credentialsId: "${GITHUB_BOT_TOKEN_NAME}", usernameVariable: 'GITHUB_USER', passwordVariable: 'GITHUB_TOKEN')]) { |
withCredentials([usernamePassword(credentialsId: "${GITHUB_BOT_TOKEN_NAME}", usernameVariable: 'GITHUB_USER', passwordVariable: 'GITHUB_TOKEN')]) { |
@opensearch-project/engineering-effectiveness I need some help merging this in. I do not currently have write permissions to this repo. |
Signed-off-by: Kunal Kotwani kkotwani@amazon.com
Description
stackNameSuffix
to prevent two builds with the same build id use the same infra stackconfig
under the perf test scriptIssues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.