GHA: include e430, phase out e427. Eclipse LS extensions on e428

This commit is contained in:
aboyko
2023-09-28 11:14:32 -04:00
parent 4dea162611
commit aaa03e1fa6
5 changed files with 36 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ on:
eclipse_profile:
description: Eclipse profile 'e427' etc
required: false
default: 'e427'
default: 'e428'
type: string
skip_tests:
description: skip ls tests execution
@@ -90,12 +90,12 @@ jobs:
run: |
dist_path=`cat ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/s3-p2-repo-dist-path.txt`
${{ github.workspace }}/.github/scripts/clear-s3-caches.sh $dist_path
- name: Verify Eclipse LS Extensions on e429
- name: Verify Eclipse LS Extensions on e430
if: ${{ inputs.build_type == 'snapshot' }}
run: |
cd eclipse-language-servers
if command -v xvfb-run ; then
xvfb-run ./mvnw --batch-mode clean package -Pe429 -P${{ inputs.build_type }} -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
xvfb-run ./mvnw --batch-mode clean package -Pe430 -P${{ inputs.build_type }} -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
else
./mvnw --batch-mode clean package -Pe429 -P${{ inputs.build_type }} -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
./mvnw --batch-mode clean package -Pe430 -P${{ inputs.build_type }} -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
fi

View File

@@ -17,7 +17,7 @@ jobs:
eclipse-ls-extension:
uses: ./.github/workflows/eclipse-ls-extensions-build.yml
with:
eclipse_profile: 'e427'
eclipse_profile: 'e428'
build_type: 'release'
skip_tests: true
sts4-language-servers-version: ${{ inputs.sts4-language-servers-version }}

View File

@@ -4,15 +4,14 @@ concurrency:
group: e427-snapshot
cancel-in-progress: true
#on:
# workflow_dispatch:
on:
workflow_run:
workflows: ["Snapshot - Eclipse LS Extensions"]
types: [completed]
branches:
- "main"
# workflow_dispatch:
workflow_dispatch:
#on:
# workflow_run:
# workflows: ["Snapshot - Eclipse LS Extensions"]
# types: [completed]
# branches:
# - "main"
jobs:
e427-distro:

View File

@@ -0,0 +1,23 @@
name: Snapshot - 4.30 Eclipse STS Distribution Build
concurrency:
group: e430-snapshot
cancel-in-progress: true
#on:
# workflow_dispatch:
on:
workflow_run:
workflows: ["Snapshot - Eclipse LS Extensions"]
types: [completed]
branches:
- "main"
jobs:
e427-distro:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/gh-hosted-eclipse-distro-build.yml
with:
eclipse_profile: 'e430'
build_type: 'snapshot'
secrets: inherit

View File

@@ -14,5 +14,6 @@ jobs:
eclipse-ls-extensions:
uses: ./.github/workflows/eclipse-ls-extensions-build.yml
with:
eclipse_profile: 'e428'
build_type: 'snapshot'
secrets: inherit