Remove old s3 bucket (dist.springsource.com) in GHA, Concourse, links

This commit is contained in:
aboyko
2024-02-08 17:00:23 -05:00
parent 8809b31879
commit a3cfdfdf06
21 changed files with 21 additions and 383 deletions

View File

@@ -1,27 +0,0 @@
set -e
file=$1
echo "Clearing S3 caches for file: ${file}"
#Flush AWS Cloudfront Cache
invalidation_json=`aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "/${file}"`
echo "Invalidation response: ${invalidation_json}"
invalidation_id=`echo $invalidation_json | jq -r '.Invalidation.Id'`
invalidation_status=`echo $invalidation_json | jq -r '.Invalidation.Status'`
echo "ID=${invalidation_id} Status=${invalidation_status}"
while [ "${invalidation_status}" == "InProgress" ]
do
echo "Invalidation status: ${invalidation_status}"
sleep 3
invalidation_status=`aws cloudfront get-invalidation --distribution-id ECAO9Q8651L8M --id $invalidation_id --output json | jq -r '.Invalidation.Status'`
done
echo "Final invalidation status: ${invalidation_status}"
# Flush CloudFlare Cache
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache" \
-H "X-Auth-Email: spring-sysadmin@pivotal.io" \
-H "Authorization: Bearer ${CLOUDFLARE_CACHE_TOKEN}" \
-H "Content-Type: application/json" \
--data "{\"files\": [ \"http://dist.springsource.com/${file}\" ] }"

View File

@@ -1,64 +0,0 @@
set -e
s3_path=$1
echo "Clearing S3 caches for path: ${s3_path}"
#Flush AWS Cloudfront Cache
invalidation_json=`aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "/${s3_path}/*"`
echo "Invalidation response: ${invalidation_json}"
invalidation_id=`echo $invalidation_json | jq -r '.Invalidation.Id'`
invalidation_status=`echo $invalidation_json | jq -r '.Invalidation.Status'`
echo "ID=${invalidation_id} Status=${invalidation_status}"
while [ "${invalidation_status}" == "InProgress" ]
do
echo "Invalidation status: ${invalidation_status}"
sleep 3
invalidation_status=`aws cloudfront get-invalidation --distribution-id ECAO9Q8651L8M --id $invalidation_id --output json | jq -r '.Invalidation.Status'`
done
echo "Final invalidation status: ${invalidation_status}"
# Flush CloudFlare Cache
s3_url=s3://dist.springsource.com/${s3_path}
files=`aws s3 cp ${s3_url} . --recursive --include "*" --dryrun`
counter=0
json=""
NL=$'\n'
FILES_BATCH=7
for file in $files
do
if [[ "$counter" -eq 0 ]]; then
json="{\"files\": [${NL}"
fi
if [[ "$file" =~ ^"s3://dist.springsource.com" ]]; then
echo "Processing ${file}"
counter=$((counter+1))
path=${file:26}
json="${json}\"http://dist.springsource.com${path}\",${NL}\"https://dist.springsource.com${path}\",${NL}\"http://download.springsource.com${path}\",${NL}\"https://download.springsource.com${path}\",${NL}"
fi
if [[ "$counter" -eq "$FILES_BATCH" ]]; then
json="${json%,*}${NL}]}"
echo $json
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache" \
-H "X-Auth-Email: spring-sysadmin@pivotal.io" \
-H "Authorization: Bearer ${CLOUDFLARE_CACHE_TOKEN}" \
-H "Content-Type: application/json" \
--data "${json}"
json=""
counter=0
fi
done
if ! [[ "$counter" -eq 0 ]]; then
json="${json%,*}${NL}]}"
echo $json
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache" \
-H "X-Auth-Email: spring-sysadmin@pivotal.io" \
-H "Authorization: Bearer ${CLOUDFLARE_CACHE_TOKEN}" \
-H "Content-Type: application/json" \
--data "${json}"
fi

View File

@@ -4,24 +4,6 @@ dist_path=$1
eclipse_version=$2
build_type=$3
# Legacy S3 tool-spring-io dist.springsource.com
s3_url=s3://dist.springsource.com/${dist_path}
downloads_html="sts4-nightly-${eclipse_version}.html"
files=`aws s3 cp ${s3_url} . --recursive --exclude "*" --include "spring-tool-suite-4*.zip" --include "spring-tool-suite-4*.dmg" --include "spring-tool-suite-4*.self-extracting.jar" --include "spring-tool-suite-4*.tar.gz" --exclude "*/*" --dryrun`
rm -f ./${downloads_html}
echo '<ul>' >> $downloads_html
for file in $files
do
if [[ "$file" =~ ^"s3://dist." ]]; then
download_url=https://download${file:9}
filename=${file:${#s3_url}+1}
echo ' <li><a href="'${download_url}'">'${filename}'</li>' >> $downloads_html
fi
done
echo '</ul>' >> $downloads_html
cat ./$downloads_html
aws s3 mv ./$downloads_html s3://dist.springsource.com/${build_type}/STS4/ --acl public-read --no-progress
# Akamai tools-spring-io bucket
s3_url=s3://tools-spring-io/${dist_path}
downloads_html="sts4-nightly-${eclipse_version}.html"

View File

@@ -42,30 +42,6 @@ jobs:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
echo "Old S3 Aggregate Update Sites Creation..."
dirs=`aws s3 ls s3://dist.springsource.com/release/TOOLS/sts4/update/${{ inputs.version }}/`
pattern='^e[0-9]+.[0-9]+/$'
for dir in $dirs
do
if [[ "$dir" =~ $pattern ]]; then
echo "Found ${dir}"
dir_name=${dir:0:-1}
site_url="https://download.springsource.com/release/TOOLS/sts4/update/${{ inputs.version }}/${dir_name}"
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url
cat ./compositeArtifacts.xml
cat ./compositeContent.xml
if [[ ${dir_name} == ${{ inputs.latest }} ]]; then
aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest/ --acl public-read
aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest/ --acl public-read
aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/latest/ --acl public-read
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4/update/latest
fi
aws s3 mv ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --acl public-read
aws s3 mv ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --acl public-read
aws s3 mv ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --acl public-read
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4/update/${dir_name}
fi
done
echo "Akamai S3 Aggregate Update Sites Creation..."
dirs=`aws s3 ls s3://tools-spring-io/release/TOOLS/sts4/update/${{ inputs.version }}/`
pattern='^e[0-9]+.[0-9]+/$'

View File

@@ -38,15 +38,6 @@ jobs:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
echo "Old S3 Aggregate Update Sites Creation..."
site_url="https://download.springsource.com/release/TOOLS/sts4-language-server-integrations/${{ inputs.version }}"
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url
cat ./compositeArtifacts.xml
cat ./compositeContent.xml
aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --acl public-read
aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --acl public-read
aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --acl public-read
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4-language-server-integrations
echo "Akamai S3 Aggregate Update Sites Creation..."
invalid_urls=""
site_url="https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/${{ inputs.version }}"

View File

@@ -1,36 +0,0 @@
name: Clear S3 Cache for path
on:
workflow_dispatch:
inputs:
path:
description: Path in the S3 bucket dist.springsource.com without leading slash
required: true
type: string
jobs:
clear-s3-cache:
runs-on: macos-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
ref: ${{ inputs.ref }}
sparse-checkout: |
.github
- 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: Invalidate S3 Cloudfront Cache
env:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh ${{ inputs.path }}

View File

@@ -97,8 +97,6 @@ jobs:
echo "P2 path: ${p2_path}"
aws s3 rm s3://tools-spring-io/${p2_path}/ --recursive
aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://tools-spring-io/${p2_path}/ --recursive --no-progress
aws s3 rm s3://dist.springsource.com/${p2_path}/ --recursive
aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${p2_path}/ --recursive --acl public-read --no-progress
# - name: Verify Uploaded P2 Repo
# id: verify-p2-on-akamai
# run: |
@@ -115,13 +113,6 @@ jobs:
run: |
invalid_urls=`aws s3 ls s3://tools-spring-io/${{ steps.upload-p2-to-akamai.outputs.p2_path }}/ --recursive | awk '{$1=$2=$3=""; print $0}' | sed -e 's/^[ \t]*/https:\/\/cdn.spring.io\/spring-tools\//' | paste -sd' ' -`
echo "invalid_urls=$invalid_urls" >> $GITHUB_OUTPUT
- name: Clear S3 Caches
if: ${{ inputs.build_type != 'snapshot' }}
env:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh ${{ steps.upload-p2-to-akamai.outputs.p2_path }}
- name: Verify Eclipse LS Extensions on e431
if: ${{ inputs.build_type == 'snapshot' }}
run: |

View File

@@ -118,8 +118,6 @@ jobs:
cd eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target
p2_path=${{ steps.s3-paths.outputs.p2_path }}
echo "P2 path: ${p2_path}"
aws s3 rm s3://dist.springsource.com/$p2_path/ --recursive
aws s3 cp ./repository/ s3://dist.springsource.com/$p2_path/ --recursive --acl public-read --no-progress
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
@@ -152,10 +150,6 @@ jobs:
echo "Processing S3 update..."
dist_path=${{ steps.s3-paths.outputs.dist_path }}
ls spring-tool-suite-4*linux*.tar.gz*
echo "Removing old Linux .tar.gz files from s3..."
aws s3 rm s3://dist.springsource.com/$dist_path --recursive --exclude "*" --include "spring-tool-suite-4*linux*.tar.gz*" --exclude "*/*"
echo "Uploading new Linux .tar.gz files to s3..."
aws s3 cp . s3://dist.springsource.com/$dist_path --recursive --exclude "*" --include "spring-tool-suite-4*linux*.tar.gz*" --exclude "*/*" --acl public-read --no-progress
echo "Removing old Linux .tar.gz files from Akamai s3..."
aws s3 rm s3://tools-spring-io/$dist_path --recursive --exclude "*" --include "spring-tool-suite-4*linux*.tar.gz*" --exclude "*/*"
echo "Uploading new Linux .tar.gz files to Akamai s3..."
@@ -219,10 +213,6 @@ jobs:
echo "Processing S3 update..."
ls spring-tool-suite-4*win*.zip*
ls spring-tool-suite-4*win*.self-extracting.jar*
echo "Removing old win zip and self extracting jar files from s3..."
aws s3 rm s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*"
echo "Uploading new win zip and self extracting jar files to s3..."
aws s3 cp . s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --acl public-read --no-progress
echo "Removing old win zip and self extracting jar files from Akamai..."
aws s3 rm s3://tools-spring-io/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*"
echo "Uploading new win zip and self extracting jar files to Akamai..."
@@ -330,10 +320,6 @@ jobs:
dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
echo "Processing S3 update..."
ls spring-tool-suite-4*macosx*.dmg*
echo "Removing old dmg files from s3..."
aws s3 rm s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*"
echo "Uploading new dmg files to s3..."
aws s3 cp . s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*" --acl public-read --no-progress
echo "Removing old dmg files from Akamai..."
aws s3 rm s3://tools-spring-io/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*"
echo "Uploading new dmg files to Akamai..."
@@ -407,14 +393,6 @@ jobs:
id: cleanup-s3-temp-storage
run: |
aws s3 rm s3://tools-spring-io/sts4-distro-ci-temp --recursive --exclude "*" --include "${{ needs.eclipse-distro-build.outputs.id }}/*"
- name: Clear Legacy S3 Caches for Distros
if: ${{ inputs.build_type != 'snapshot' }}
env:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh ${{ needs.eclipse-distro-build.outputs.dist_path }}
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh ${{ needs.eclipse-distro-build.outputs.p2_path }}
notify-failure:
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros, cleanup, purge_cache ]

View File

@@ -1,93 +0,0 @@
name: Eclipse Distro STS Build (Self Hosted)
on:
workflow_dispatch:
inputs:
eclipse_profile:
description: Eclipse profile 'e429' etc
required: true
default: 'e429'
type: string
build_type:
description: Build type such as 'snapshot', 'milestone' or 'release'
required: true
default: 'snapshot'
type: string
ref:
description: Git branch, tag, commit hash
required: false
default: 'main'
type: string
jobs:
eclipse-distro-build:
runs-on: [self-hosted, macOS]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
ref: ${{ inputs.ref }}
sparse-checkout: |
.github
eclipse-distribution
eclipse-extensions
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
with:
java-version: '17'
distribution: 'temurin'
- name: Enforce https instead of http
run: ./nohttp.sh
- name: Install GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --import gpg.asc
- name: Unlock login keychain for OSX signing
run: |
security unlock-keychain -p ${{ secrets.KEYCHAIN_PASSWORD }} /Users/runner/Library/Keychains/login.keychain-db
- name: Create Temp Directory Structure for Notarization Service
run: |
cd /tmp
mkdir -p macos-notarization-service/pending-files
- name: Build Eclipse Distro
env:
tools_s3_access_key: ${{ secrets.TOOLS_S3_ACCESS_KEY }}
tools_s3_secret_key: ${{ secrets.TOOLS_S3_SECRET_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
gpg_keyname: ${{ secrets.GPG_KEYID }}
MACOS_CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
KEYCHAIN: /Users/runner/Library/Keychains/login.keychain-db
MACOS_NOTARIZATION_SERVICE_URL: http://localhost:8080
AC_USERNAME: ${{ secrets.AC_USERNAME }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: |
cd eclipse-distribution
./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=false -Dskip.win.signing=false -Dskip.osx.notarizing=false -Dtycho.equinox.resolver.uses=true
- name: Sign EXE within zip files
id: sign
env:
SSH_KEY: ~/.ssh/id_rsa
SSH_USER: signer
run: |
cd eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/products
files=`ls spring-tool-suite-4*win*.zip`
for file in $files
do
${{ 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
done
- name: Update Win zip/jar on S3
id: update-s3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLS_S3_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLS_S3_SECRET_KEY }}
run: |
dist_path=`cat ./eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/s3-dist-path.txt`
cd eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/products
echo "Processing S3 update..."
ls spring-tool-suite-4*win*.zip*
ls spring-tool-suite-4*win*.self-extracting.jar*
echo "Removing old win zip and self extracting jar files from s3..."
aws s3 rm s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar* --exclude "*/*""
echo "Uploading new win zip and self extracting jar files to s3..."
aws s3 cp . s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --acl public-read --no-progress

View File

@@ -33,13 +33,5 @@ jobs:
run: |
echo "Removing old nightly-distributions.html from s3..."
aws s3 rm s3://tools-spring-io/snapshot/STS4/nightly-distributions.html
aws s3 rm s3://dist.springsource.com/snapshot/STS4/nightly-distributions.html
echo "Uploading new nightly-distributions.html to s3..."
aws s3 cp ./eclipse-distribution/common/html/nightly-distributions.html s3://dist.springsource.com/snapshot/STS4/nightly-distributions.html --acl public-read --no-progress
aws s3 cp ./eclipse-distribution/common/html/nightly-distributions.html s3://tools-spring-io/snapshot/STS4/nightly-distributions.html --no-progress
- name: Invalidate S3 Cloudfront Cache
env:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_CACHE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
run: |
${{ github.workspace }}/.github/scripts/clear-s3-caches-file.sh snapshot/STS4/nightly-distributions.html

View File

@@ -25,5 +25,5 @@ jobs:
- name: Remove Temp Build Artifacts from S3
id: cleanup-s3-temp-storage
run: |
aws s3 rm s3://dist.springsource.com/sts4-distro-ci-temp --recursive --exclude "*" --include "*.zip"
aws s3 rm s3://tools-spring-io/sts4-distro-ci-temp --recursive --exclude "*" --include "*.zip"

View File

@@ -54,12 +54,12 @@ This lets the Eclipse language server extension connect to the locally running l
http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/
- There is an update site that contains our latest language servers as extensions for Eclipse:
https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly
https://cdn.spring.io/spring-tools/snapshot/TOOLS/sts4-language-server-integrations/nightly
This is being produced by:
https://build.spring.io/browse/IDE-CODE
- CI builds of the full STS4 distribution can be downloaded from here:
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html
https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html

View File

@@ -168,42 +168,6 @@ resources:
aws_role_arn: arn:aws:iam::((s3_svc_account_id)):role/((s3_svc_user))
region_name: ((s3_region))
regexp: sts4/vscode-extensions/snapshots/vscode-spring-cli-(.*).vsix
- name: s3-concourse-vsix-release
type: s3
icon: content-save-outline
source:
bucket: dist.springsource.com
access_key_id: ((s3_svc_accesskey))
secret_access_key: ((s3_svc_secretkey))
aws_role_arn: arn:aws:iam::((s3_svc_account_id)):role/((s3_svc_user))
regexp: release/STS4/vscode/vscode-concourse-(.*).vsix
- name: s3-bosh-vsix-release
type: s3
icon: content-save-outline
source:
bucket: dist.springsource.com
access_key_id: ((s3_svc_accesskey))
secret_access_key: ((s3_svc_secretkey))
aws_role_arn: arn:aws:iam::((s3_svc_account_id)):role/((s3_svc_user))
regexp: release/STS4/vscode/vscode-bosh-(.*).vsix
- name: s3-manifest-yaml-vsix-release
type: s3
icon: content-save-outline
source:
bucket: dist.springsource.com
access_key_id: ((s3_svc_accesskey))
secret_access_key: ((s3_svc_secretkey))
aws_role_arn: arn:aws:iam::((s3_svc_account_id)):role/((s3_svc_user))
regexp: release/STS4/vscode/vscode-manifest-yaml-(.*).vsix
- name: s3-spring-boot-vsix-release
type: s3
icon: content-save-outline
source:
bucket: dist.springsource.com
access_key_id: ((s3_svc_accesskey))
secret_access_key: ((s3_svc_secretkey))
aws_role_arn: arn:aws:iam::((s3_svc_account_id)):role/((s3_svc_user))
regexp: release/STS4/vscode/vscode-spring-boot-(.*).vsix
- name: s3-concourse-vsix-release-akamai
type: s3
icon: content-save-outline
@@ -411,31 +375,15 @@ jobs:
passed:
- publish-release
- in_parallel:
- put: s3-spring-boot-vsix-release
params:
file: s3-spring-boot-vsix-snapshot/*.vsix
acl: public-read
- put: s3-spring-boot-vsix-release-akamai
params:
file: s3-spring-boot-vsix-snapshot/*.vsix
- put: s3-manifest-yaml-vsix-release
params:
file: s3-manifest-yaml-vsix-snapshot/*.vsix
acl: public-read
- put: s3-manifest-yaml-vsix-release-akamai
params:
file: s3-manifest-yaml-vsix-snapshot/*.vsix
- put: s3-bosh-vsix-release
params:
file: s3-bosh-vsix-snapshot/*.vsix
acl: public-read
- put: s3-bosh-vsix-release-akamai
params:
file: s3-bosh-vsix-snapshot/*.vsix
- put: s3-concourse-vsix-release
params:
file: s3-concourse-vsix-snapshot/*.vsix
acl: public-read
- put: s3-concourse-vsix-release-akamai
params:
file: s3-concourse-vsix-snapshot/*.vsix

View File

@@ -15,7 +15,7 @@ do
# https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/vscode-extensions/snapshots/vscode-spring-boot-1.15.0-RC.1.vsix
url=https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/vscode-extensions/snapshots/$fname
else
url=https://dist.springsource.com/release/STS4/vscode/$fname
url=https://cdn.spring.io/spring-tools/release/STS4/vscode/$fname
fi
echo "- [$fname]($url)" >> $page
done

View File

@@ -1,10 +1,10 @@
<ul>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.aarch64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.aarch64.dmg</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.aarch64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.aarch64.tar.gz</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.aarch64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.aarch64.dmg</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.aarch64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.aarch64.tar.gz</li>
</ul>

View File

@@ -1,8 +1,8 @@
<ul>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg</li>
<li><a href="https://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.self-extracting.jar</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip">spring-tool-suite-4-@QUALIFIER@-@TARGET@-win32.win32.x86_64.zip</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg">spring-tool-suite-4-@QUALIFIER@-@TARGET@-macosx.cocoa.x86_64.dmg</li>
<li><a href="https://cdn.spring.io/spring-tools/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz">spring-tool-suite-4-@QUALIFIER@-@TARGET@-linux.gtk.x86_64.tar.gz</li>
</ul>

View File

@@ -164,7 +164,7 @@
<repository>
<id>maven-extras-mirror</id>
<layout>p2</layout>
<url>https://download.springsource.com/release/TOOLS/third-party/m2e-sts310-signed/</url>
<url>https://cdn.spring.io/spring-tools/release/TOOLS/third-party/m2e-sts310-signed/</url>
</repository>
<repository>
<id>maven-egit</id>
@@ -264,7 +264,7 @@
<repository>
<id>maven-extras-mirror</id>
<layout>p2</layout>
<url>https://download.springsource.com/release/TOOLS/third-party/m2e-sts310-signed/</url>
<url>https://cdn.spring.io/spring-tools/release/TOOLS/third-party/m2e-sts310-signed/</url>
</repository>
<repository>
<id>maven-egit</id>
@@ -364,7 +364,7 @@
<repository>
<id>maven-extras-mirror</id>
<layout>p2</layout>
<url>https://download.springsource.com/release/TOOLS/third-party/m2e-sts310-signed/</url>
<url>https://cdn.spring.io/spring-tools/release/TOOLS/third-party/m2e-sts310-signed/</url>
</repository>
<repository>
<id>maven-egit</id>

View File

@@ -4,7 +4,7 @@
The latest snapshot .vsix file can be downloaded from here:
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html
https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
You should get the file called `vscode-bosh-<version>.vsix`.

View File

@@ -4,7 +4,7 @@
The latest snapshot .vsix file can be downloaded from here:
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html
https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
You should get the file called `vscode-concourse-<version>.vsix`.

View File

@@ -4,7 +4,7 @@
The latest snapshot .vsix file can be downloaded from here:
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html
https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
You should get the file called `vscode-manifest-yaml-<version>.vsix`.

View File

@@ -129,7 +129,7 @@ Released versions of this extension can be installed directly from the vscode ma
There are also development snapshots available with the latest fixes and improvements as a `.vsix` file
that can be donwloaded from
[here](https://dist.springsource.com/snapshot/STS4/nightly-distributions.html). To install it
[here](https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html). To install it
open vscode, press `CTRL-SHIFT-P` and search for VSIX, then select `Extension: Install from VSIX`
[yaml-completion]: https://github.com/spring-projects/sts4/raw/5360ae4fabf9245da58f5897c54e9a14786d0622/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-completion.png