-
Notifications
You must be signed in to change notification settings - Fork 278
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
Adding Jenkins ENV to Integration Test Job #498
Adding Jenkins ENV to Integration Test Job #498
Conversation
Signed-off-by: Sarat Vemulapalli <[email protected]>
Signed-off-by: Sarat Vemulapalli <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #498 +/- ##
=======================================
Coverage 69.31% 69.31%
=======================================
Files 58 58
Lines 1509 1509
=======================================
Hits 1046 1046
Misses 463 463 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.
nit: We should be specific with the naming. AWS_ROLE_ARN
is very generic.
Maybe something like AWS_TEST_ROLE_ARN
. I think we are good for now since this jenkinsfile is under integtest but for future
@@ -1,5 +1,9 @@ | |||
pipeline { | |||
agent none | |||
environment { | |||
AWS_ROLE_ARN = "arn:aws:iam::${AWS_ACCOUNT_PUBLIC}:role/opensearch-test" | |||
AWS_ROLE_SESSION_NAME = "jenkins-session" |
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.
Nit: Can we name it as jenkins-integration-test-session
Yeah the downstream dependency needed it that way. |
Signed-off-by: Sarat Vemulapalli <[email protected]>
6066165
Yeah talking about the overall codebase here :) |
Yeah, there has been some back n forth on the naming - #367 (comment). |
That conversation makes sense. Thanks! |
Description
Adding support for Jenkins AWS Role and Session to ENV for Integration Test Job
Check List
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.