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 the CI / report-coverage check by switching to corresponding actions/upload-artifact@v4 #3893

Merged
merged 5 commits into from
Dec 22, 2023

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Dec 22, 2023

Description

This PR fixes the CI / report-coverage check by using the corresponding upload artifact package. I verified this change by creating a PR on my local fork and checked that the artifacts are uploaded to the CI summary after the build is complete.

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance

Issues Resolved

Is this a backport? If so, please add backport PR # and/or commits #

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (1f9edf4) 66.58% compared to head (c85e923) 65.18%.
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3893      +/-   ##
==========================================
- Coverage   66.58%   65.18%   -1.41%     
==========================================
  Files         298      298              
  Lines       21188    21189       +1     
  Branches     3453     3454       +1     
==========================================
- Hits        14109    13811     -298     
- Misses       5363     5666     +303     
+ Partials     1716     1712       -4     
Files Coverage Δ
...earch/security/privileges/PrivilegesEvaluator.java 72.03% <0.00%> (-0.53%) ⬇️

... and 35 files with indirect coverage changes

@peternied peternied merged commit 8372343 into opensearch-project:main Dec 22, 2023
80 of 82 checks passed
@peternied peternied added the backport 2.x backport to 2.x branch label Dec 22, 2023
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/security/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/security/backport-2.x
# Create a new branch
git switch --create backport/backport-3893-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 83723432cca6e78d23e034b5149ff72d5907fde3
# Push it to GitHub
git push --set-upstream origin backport/backport-3893-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/security/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-3893-to-2.x.

@cwperks
Copy link
Member Author

cwperks commented Dec 22, 2023

Creating a manual backport

cwperks added a commit to cwperks/security that referenced this pull request Dec 22, 2023
…ons/upload-artifact@v4 (opensearch-project#3893)

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 8372343)
cwperks added a commit that referenced this pull request Dec 22, 2023
…responding actions/upload-artifact@v4 (#3893) (#3895)

Backport #3893 to 2.x

---------

Signed-off-by: Craig Perkins <[email protected]>
prabhask5 pushed a commit to prabhask5/opensearch-security that referenced this pull request Jan 11, 2024
…ons/upload-artifact@v4 (opensearch-project#3893)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Prabhas Kurapati <[email protected]>
dlin2028 pushed a commit to dlin2028/security that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants