From 1b2cc045f8f2f42122b13228311d87526ed01aea Mon Sep 17 00:00:00 2001 From: aboyko Date: Mon, 12 Feb 2024 10:31:21 -0500 Subject: [PATCH] [GHA] Disable tcp dump for macosx runner --- .../gh-hosted-eclipse-distro-build.yml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index c929753e6..7948e54d2 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -46,14 +46,14 @@ 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: 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 @@ -120,15 +120,15 @@ 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: 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