[GHA] Remove current TCP dump files. Upload more data from TCP Dump
This commit is contained in:
@@ -86,15 +86,15 @@ jobs:
|
||||
-Dhttpclient.retry-max=60 \
|
||||
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=2400000 -Dorg.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.readTimeout=2400000 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=2400000 \
|
||||
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=60
|
||||
- name: Stop TCP Dump
|
||||
if: ${{ inputs.build_type == 'snapshot' }}
|
||||
run: |
|
||||
cd eclipse-distribution
|
||||
ls -la
|
||||
PID=`sudo pgrep tcpdump`
|
||||
echo "PID=${PID}"
|
||||
sudo kill $PID
|
||||
sudo sleep 10
|
||||
# - name: Stop TCP Dump
|
||||
# if: ${{ inputs.build_type == 'snapshot' }}
|
||||
# run: |
|
||||
# cd eclipse-distribution
|
||||
# ls -la
|
||||
# PID=`sudo pgrep tcpdump`
|
||||
# echo "PID=${PID}"
|
||||
# sudo kill $PID
|
||||
# sudo sleep 10
|
||||
- name: Store S3 Paths
|
||||
id: s3-paths
|
||||
run: |
|
||||
|
||||
24
.github/workflows/remove-tcp-dump.yml
vendored
Normal file
24
.github/workflows/remove-tcp-dump.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Clear out TCP Dump storage
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cloudgate S3 Configuration
|
||||
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.TOOLS_CLOUDGATE_ACCESS_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.TOOLS_CLOUDGATE_SECRET_KEY }}
|
||||
role-to-assume: arn:aws:iam::${{ secrets.TOOLS_CLOUDGATE_ACCOUNT_ID }}:role/${{ secrets.TOOLS_CLOUDGATE_USER }}
|
||||
role-session-name: ${{ github.run_id }}
|
||||
aws-region: us-east-1
|
||||
role-duration-seconds: 900
|
||||
role-skip-session-tagging: true
|
||||
- name: Remove TCP Dump Files from S3
|
||||
id: cleanup-s3-tcp-dump-storage
|
||||
run: |
|
||||
aws s3 rm s3://tools-spring-io/tcpdump --recursive --exclude "*" --include "*.pcap"
|
||||
|
||||
Reference in New Issue
Block a user