diff --git a/.github/scripts/gen-vscode-link-bullet.sh b/.github/scripts/gen-vscode-link-bullet.sh
index 130ca27ae..225a2c452 100755
--- a/.github/scripts/gen-vscode-link-bullet.sh
+++ b/.github/scripts/gen-vscode-link-bullet.sh
@@ -2,7 +2,7 @@ id=$1
label=$2
download_url_root=$3
-vsix_file=`aws s3 cp s3://$AWS_S3_BUCKET/snapshot/vscode-extensions/$id/ . --exclude "*" --include "*.vsix" --exclude "*/*" --dryrun | head -n 1`
+vsix_file=`aws s3 ls s3://$AWS_S3_BUCKET/snapshot/vscode-extensions/$id/ | awk '{$1=$2=$3=""; print $0}' | awk '{$1=$1};1' | grep "\.vsix$"`
if [ ! -z "${vsix_file}" ]; then
echo "
${label}: ${vsix_file}"
fi
\ No newline at end of file
diff --git a/.github/workflows/snapshot-all.yml b/.github/workflows/snapshot-all.yml
new file mode 100644
index 000000000..d0cacf513
--- /dev/null
+++ b/.github/workflows/snapshot-all.yml
@@ -0,0 +1,61 @@
+name: Snapshot - Eclipse LS Extensions
+
+concurrency:
+ group: snapshot-all
+ cancel-in-progress: true
+
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - 'main'
+
+jobs:
+
+ eclipse-ls-extensions:
+ uses: ./.github/workflows/eclipse-ls-extensions-build.yml
+ with:
+ eclipse_profile: 'e431'
+ build_type: 'snapshot'
+ skip_tests: true
+ secrets: inherit
+
+ e431-distro:
+ needs: [ eclipse-ls-extensions ]
+ uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
+ with:
+ eclipse_profile: 'e431'
+ build_type: 'snapshot'
+ java_version: '17'
+ secrets: inherit
+
+ e432-distro:
+ needs: [ eclipse-ls-extensions ]
+ uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
+ with:
+ eclipse_profile: 'e432'
+ build_type: 'snapshot'
+ java_version: '21'
+ secrets: inherit
+
+ e433-distro:
+ needs: [ eclipse-ls-extensions ]
+ uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
+ with:
+ eclipse_profile: 'e433'
+ build_type: 'snapshot'
+ java_version: '21'
+ secrets: inherit
+
+ vscode-spring-boot:
+ uses: ./.github/workflows/snapshot-vscode-extension.yml
+ with:
+ extension-name: vscode-spring-boot
+ secrets: inherit
+
+ vscode-concourse:
+ uses: ./.github/workflows/snapshot-vscode-extension.yml
+ with:
+ extension-name: vscode-concourse
+ secrets: inherit
+
diff --git a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml
index 34be0ef97..c1e00ea8c 100644
--- a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml
+++ b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml
@@ -6,9 +6,9 @@ concurrency:
on:
workflow_dispatch:
- push:
- branches:
- - 'main'
+# push:
+# branches:
+# - 'main'
jobs:
eclipse-ls-extensions:
diff --git a/.github/workflows/snapshot-vscode-extension.yml b/.github/workflows/snapshot-vscode-extension.yml
index 53215d100..360ba5a2a 100644
--- a/.github/workflows/snapshot-vscode-extension.yml
+++ b/.github/workflows/snapshot-vscode-extension.yml
@@ -7,6 +7,12 @@ on:
description: name of the extension, e.g. vscode-spring-cli
required: true
type: string
+ workflow_call:
+ inputs:
+ extension-name:
+ description: name of the extension, e.g. vscode-spring-cli
+ required: true
+ type: string
permissions:
contents: write
@@ -51,8 +57,12 @@ jobs:
run: |
downloads_html="vscode-extensions-snippet.html"
echo '' >> $downloads_html
- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT`
- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse" $DOWNLOAD_URL_ROOT`
+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT` >> $downloads_html
+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-bosh "Bosh Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-manifest-yaml "CF Mnaifest Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-cli "Spring CLI" $DOWNLOAD_URL_ROOT` >> $downloads_html
echo '
' >> $downloads_html
- cat ./$downloads_html
+ cat ./$downloads_html
+ aws s3 mv ./$downloads_html s3://$AWS_S3_BUCKET/snapshot/STS4/vscode-extensions/ --no-progress
diff --git a/headless-services/bosh-language-server/build.sh b/headless-services/bosh-language-server/build.sh
index 779e5d34e..d3dc1f119 100755
--- a/headless-services/bosh-language-server/build.sh
+++ b/headless-services/bosh-language-server/build.sh
@@ -1,3 +1,3 @@
#!/bin/bash
set -e
-../mvnw -f ../pom.xml -pl bosh-language-server -am clean install
+../mvnw -B -f ../pom.xml -pl bosh-language-server -am clean install
diff --git a/headless-services/concourse-language-server/build.sh b/headless-services/concourse-language-server/build.sh
index 907de2ecc..fd1e0d907 100755
--- a/headless-services/concourse-language-server/build.sh
+++ b/headless-services/concourse-language-server/build.sh
@@ -1,3 +1,3 @@
#!/bin/bash
set -e
-../mvnw -f ../pom.xml -pl concourse-language-server -am clean install
+../mvnw -B -f ../pom.xml -pl concourse-language-server -am clean install
diff --git a/headless-services/manifest-yaml-language-server/build.sh b/headless-services/manifest-yaml-language-server/build.sh
index e463c4918..9eed6cd46 100755
--- a/headless-services/manifest-yaml-language-server/build.sh
+++ b/headless-services/manifest-yaml-language-server/build.sh
@@ -2,5 +2,5 @@
set -e
# Use maven to build fat jar of the language server
-../mvnw -f ../pom.xml -pl manifest-yaml-language-server -am clean install
+../mvnw -B -f ../pom.xml -pl manifest-yaml-language-server -am clean install
diff --git a/headless-services/spring-boot-language-server/build.sh b/headless-services/spring-boot-language-server/build.sh
index 59043b99e..c210b4cfa 100755
--- a/headless-services/spring-boot-language-server/build.sh
+++ b/headless-services/spring-boot-language-server/build.sh
@@ -9,6 +9,7 @@ if command -v xvfb-run ; then
-f ../pom.xml \
-pl $modules \
-am \
+ -B \
clean install
else
../mvnw \
@@ -16,6 +17,7 @@ else
-f ../pom.xml \
-pl $modules \
-am \
+ -B \
clean install
fi
cd ../xml-ls-extension
@@ -24,4 +26,5 @@ cd ../xml-ls-extension
-f ../pom.xml \
-pl xml-ls-extension \
-am \
+ -B \
clean install