diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index d3e27b1ea..e5d4c2a3c 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -51,14 +51,6 @@ jobs: distribution: 'temurin' - name: Enforce https instead of http run: ./nohttp.sh - - name: Start TCP Dump - if: ${{ inputs.build_type == 'snapshot' }} - run: | - cd eclipse-distribution - sudo apt-get install -y tcpdump - echo "Installed tcpdump" - sudo tcpdump -s 0 -i eth0 -w mycap.pcap & - echo "Launched tcpdump" - name: Install GPG key run: | echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc @@ -92,15 +84,6 @@ 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: Store S3 Paths id: s3-paths run: | @@ -126,15 +109,6 @@ jobs: echo "P2 path: ${p2_path}" aws s3 rm s3://tools-spring-io/$p2_path/ --recursive aws s3 cp ./repository/ s3://tools-spring-io/$p2_path/ --recursive --no-progress - - name: Store TCP Dump - if: inputs.build_type == 'snapshot' && failure() - id: tcp-dump-upload - run: | - tcpdump_path=${{ github.workspace }}/eclipse-distribution/mycap.pcap - p2_path=${{ steps.s3-paths.outputs.p2_path }} - echo "P2 path: ${p2_path}" - echo "TCP Dump path: ${tcpdump_path}" - aws s3 mv $tcpdump_path s3://tools-spring-io/tcpdump/cap-${{ inputs.eclipse_profile }}-${{ inputs.build_type }}-${{ github.run_id }}.pcap --no-progress - name: Upload Linux Distro Build Artifacts run: | cd eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/products @@ -278,7 +252,7 @@ jobs: 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: 3600 + role-duration-seconds: 10800 role-skip-session-tagging: true - name: Download OSX tar.gz files from S3 for Signing/Notarization run: |