Skip to content

24.8 leak scanning script #696

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

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/release_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -648,3 +648,25 @@ jobs:
echo "Error: $REPORT_LINK" >> $GITHUB_STEP_SUMMARY
exit 1
fi
LeakCheck:
if: ${{ !cancelled() }}
needs: FinishCheck
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
env:
PREFIX: ${{ github.event.pull_request.number || 0 }}/${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
steps:
- name: Checkout scripts repo
uses: actions/checkout@v4
with:
repository: Altinity/actions
ref: a617d7c75203e08cfcfff0766b01ace3c58235e5
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y dpkg-dev rpm2cpio cpio
- name: Run leak check 1
run: |
python3 scripts/scan_s3_artifacts.py altinity-build-artifacts ${{ env.PREFIX }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- name: Run leak check 2
run: |
python3 scripts/scan_s3_artifacts.py altinity-build-artifacts PRs/${{ env.PREFIX }}
Loading