-
Notifications
You must be signed in to change notification settings - Fork 95
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
ci: add generate log files and upload to S3 bucket #1194
base: main
Are you sure you want to change the base?
Conversation
d329684
to
099c8b1
Compare
3d47915
to
c44fe8f
Compare
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.
Overall LGTM, but one question do we want to have reports generated on every pull request? Does it make sense to limit it to merges to mainline and nightly runs?
.github/workflows/e2e-macos.yaml
Outdated
with: | ||
role-to-assume: ${{ secrets.ROLE }} | ||
role-session-name: credhelper-test | ||
aws-region: ${{ secrets.REGION }} | ||
aws-region: ${{ secrets.REGION }} |
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: here and a few other places appears to be some trailing whitespace being appended to aws-region line.
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.
make sense. I add new commands in makefile and only let push event and nightly runs to generate the test report.
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.
For merges to mainline, I summarize two conditions. If there are more conditions, please let me know.
if [ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref }}" == "refs/heads/main" ] ||
[ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.base_ref }}" == "main" ]; then
379dcc7
to
d197701
Compare
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 on CI pass.
Signed-off-by: Jingwei Wang <[email protected]> fix Amazon Linux if condition Signed-off-by: Jingwei Wang <[email protected]> ci: only merges to mainline and nightly runs will generate log reports Signed-off-by: Jingwei Wang <[email protected]> Squashed commit message for the first 10 commits Signed-off-by: Jingwei Wang <[email protected]> fix minor errors Signed-off-by: Jingwei Wang <[email protected]> fix minor errors Signed-off-by: Jingwei Wang <[email protected]> fix minor errors Signed-off-by: Jingwei Wang <[email protected]> fix minor errors Signed-off-by: Jingwei Wang <[email protected]> fix minor errors Signed-off-by: Jingwei Wang <[email protected]>
Signed-off-by: Jingwei Wang <[email protected]>
d197701
to
d274fe8
Compare
add upload to S3 bucket
generate test log report while running the e2e testing
Makefile
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.