Skip to content

Commit c16be39

Browse files
committed
Disable Win Eclipse distro build temporarily
1 parent 24492fe commit c16be39

File tree

2 files changed

+60
-56
lines changed

2 files changed

+60
-56
lines changed

.github/workflows/gh-hosted-eclipse-distro-build.yml

Lines changed: 59 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -150,57 +150,57 @@ jobs:
150150
p2_path: ${{ steps.s3-paths.outputs.p2_path }}
151151
version: ${{ steps.project-version.outputs.version }}
152152

153-
sign-win-distros:
154-
needs: [ eclipse-distro-build ]
155-
runs-on: ubuntu-latest
156-
steps:
157-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
158-
with:
159-
sparse-checkout: |
160-
.github
161-
- name: Download Win Zips from S3 for Signing
162-
run: |
163-
rm -f spring-tool-suite-4*win*.zip*
164-
rm -f spring-tool-suite-4*win*.self-extracting.jar*
165-
ls
166-
aws s3 mv s3://$AWS_S3_BUCKET/sts4-distro-ci-temp/${{ needs.eclipse-distro-build.outputs.id }} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --exclude "*/*" --no-progress
167-
- name: Sign EXE within zip files
168-
id: sign
169-
run: |
170-
files=`ls spring-tool-suite-4*win*.zip`
171-
for file in $files
172-
do
173-
${{ github.workspace }}/.github/scripts/sign-exe-in-zip-file.sh $file ${{ github.workspace }}/.github/scripts/sign-exe.sh ${{ github.workspace }}/.github/scripts/self-extracting-jar-creator.jar ${{ github.run_id }} &
174-
done
175-
FAIL=0
176-
for job in `jobs -p`
177-
do
178-
wait $job || let "FAIL+=1"
179-
done
180-
if [ "$FAIL" == "0" ];
181-
then
182-
echo "Done signing EXE files"
183-
else
184-
echo "Failed signing one or more EXE files"
185-
exit 1
186-
fi
187-
- name: Update Win zip/jar on S3
188-
id: update-s3
189-
run: |
190-
dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
191-
echo "Processing S3 update..."
192-
ls spring-tool-suite-4*win*
193-
echo "Removing old win zip and self extracting jar files from S3..."
194-
aws s3 rm s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*"
195-
echo "Uploading new win zip and self extracting jar files to S3..."
196-
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --no-progress
197-
- name: Update Nightly Distro Downloads page
198-
if: ${{ inputs.build_type == 'snapshot' }}
199-
run: |
200-
dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
201-
eclipse_profile=${{ inputs.eclipse_profile }}
202-
eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2}
203-
${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT
153+
# sign-win-distros:
154+
# needs: [ eclipse-distro-build ]
155+
# runs-on: ubuntu-latest
156+
# steps:
157+
# - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
158+
# with:
159+
# sparse-checkout: |
160+
# .github
161+
# - name: Download Win Zips from S3 for Signing
162+
# run: |
163+
# rm -f spring-tool-suite-4*win*.zip*
164+
# rm -f spring-tool-suite-4*win*.self-extracting.jar*
165+
# ls
166+
# aws s3 mv s3://$AWS_S3_BUCKET/sts4-distro-ci-temp/${{ needs.eclipse-distro-build.outputs.id }} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --exclude "*/*" --no-progress
167+
# - name: Sign EXE within zip files
168+
# id: sign
169+
# run: |
170+
# files=`ls spring-tool-suite-4*win*.zip`
171+
# for file in $files
172+
# do
173+
# ${{ github.workspace }}/.github/scripts/sign-exe-in-zip-file.sh $file ${{ github.workspace }}/.github/scripts/sign-exe.sh ${{ github.workspace }}/.github/scripts/self-extracting-jar-creator.jar ${{ github.run_id }} &
174+
# done
175+
# FAIL=0
176+
# for job in `jobs -p`
177+
# do
178+
# wait $job || let "FAIL+=1"
179+
# done
180+
# if [ "$FAIL" == "0" ];
181+
# then
182+
# echo "Done signing EXE files"
183+
# else
184+
# echo "Failed signing one or more EXE files"
185+
# exit 1
186+
# fi
187+
# - name: Update Win zip/jar on S3
188+
# id: update-s3
189+
# run: |
190+
# dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
191+
# echo "Processing S3 update..."
192+
# ls spring-tool-suite-4*win*
193+
# echo "Removing old win zip and self extracting jar files from S3..."
194+
# aws s3 rm s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*"
195+
# echo "Uploading new win zip and self extracting jar files to S3..."
196+
# aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --no-progress
197+
# - name: Update Nightly Distro Downloads page
198+
# if: ${{ inputs.build_type == 'snapshot' }}
199+
# run: |
200+
# dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
201+
# eclipse_profile=${{ inputs.eclipse_profile }}
202+
# eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2}
203+
# ${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT
204204

205205
sign-osx-distros:
206206
needs: [ eclipse-distro-build ]
@@ -295,7 +295,8 @@ jobs:
295295
rm -rf *spring-tool-suite-4*macosx*
296296
297297
purge_cache:
298-
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
298+
# needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
299+
needs: [ eclipse-distro-build, sign-osx-distros ]
299300
if: ${{ always() && inputs.build_type != 'snapshot' && contains(join(needs.*.result, ','), 'success')}}
300301
runs-on: ubuntu-latest
301302
steps:
@@ -320,7 +321,8 @@ jobs:
320321
cloudflare_cache_token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
321322

322323
gchat-message:
323-
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
324+
# needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
325+
needs: [ eclipse-distro-build, sign-osx-distros ]
324326
if: ${{ inputs.build_type == 'release' }}
325327
name: Send GChat message
326328
runs-on: ubuntu-latest
@@ -387,7 +389,8 @@ jobs:
387389
}"
388390
389391
cleanup:
390-
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
392+
# needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros ]
393+
needs: [ eclipse-distro-build, sign-osx-distros ]
391394
if: ${{ always() }}
392395
runs-on: ubuntu-latest
393396
steps:
@@ -397,7 +400,8 @@ jobs:
397400
aws s3 rm s3://$AWS_S3_BUCKET/sts4-distro-ci-temp --recursive --exclude "*" --include "${{ needs.eclipse-distro-build.outputs.id }}/*"
398401
399402
notify-failure:
400-
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros, cleanup, purge_cache ]
403+
# needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros, cleanup, purge_cache ]
404+
needs: [ eclipse-distro-build, sign-osx-distros, cleanup, purge_cache ]
401405
if: ${{ always() && contains(needs.*.result, 'failure') }}
402406
uses: ./.github/workflows/notify-failed.yml
403407
with:

eclipse-language-servers/local-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ cd ../headless-services
55
./mvnw clean install -Dmaven.test.skip=true
66

77
cd $workdir
8-
./mvnw -Psnapshot -Pe432 clean install -Dmaven.test.skip=true
8+
./mvnw -Psnapshot -Pe433 clean install -Dmaven.test.skip=true

0 commit comments

Comments
 (0)