Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit b38623f

Browse files
authored
chore: support IJ 2024.2 (#894)
* chore: migrate build to 2024.2 Signed-off-by: Stephane Bouchet <[email protected]> * chore: migrate build to 2024.2 fix sonar issues Signed-off-by: Stephane Bouchet <[email protected]> * tests: disable service tests Signed-off-by: Stephane Bouchet <[email protected]> * tests: disable service tests Signed-off-by: Stephane Bouchet <[email protected]> * chore: support IJ 2024.2 Signed-off-by: Stephane Bouchet <[email protected]> * chore: support IJ 2024.2 Signed-off-by: Stephane Bouchet <[email protected]> --------- Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 5909d85 commit b38623f

File tree

24 files changed

+605
-525
lines changed

24 files changed

+605
-525
lines changed

.github/workflows/IJ-latest.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
- name: Grant execute permission for gradlew
2424
run: chmod +x gradlew
2525
- name: Build with Gradle
26-
run: ./gradlew build --continue -PideaVersion=IU-LATEST-EAP-SNAPSHOT
26+
run: |
27+
LATEST_EAP_SNAPSHOT=$(./gradlew printProductsReleases | grep 'IC-' | head -n 1 | cut -d'-' -f2)
28+
./gradlew build --continue -PplatformVersion=$LATEST_EAP_SNAPSHOT
2729
- uses: actions/upload-artifact@v4
2830
if: always()
2931
with:

.github/workflows/cluster_integration_ui_tests.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ jobs:
2323
validate-wrappers: true
2424
- uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde #v1.10.0
2525
name: Start cluster
26+
# service setup disabled along with service test
27+
# - name: Setup cluster
28+
# run: |
29+
# curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh | bash -s v0.26.0
30+
# kubectl create -f https://operatorhub.io/install/service-binding-operator.yaml
31+
# kubectl create -f https://operatorhub.io/install/stable/cloud-native-postgresql.yaml
32+
# nb=0
33+
# echo -n "Waiting for operator to show up "
34+
# while [ "$nb" != "2" ]
35+
# do
36+
# echo -n "."
37+
# sleep 1
38+
# nb=`kubectl get pods -n operators --no-headers --ignore-not-found | grep Running | wc -l`
39+
# done
40+
2641
- name: Grant execute permission for gradlew
2742
run: chmod +x gradlew
2843
- name: Play cluster integration UI tests
@@ -34,7 +49,7 @@ jobs:
3449
export DISPLAY=:99.0
3550
Xvfb -ac :99 -screen 0 1920x1080x16 &
3651
sleep 10
37-
./gradlew clusterIntegrationUITest --continue
52+
./gradlew integrationUITest --continue
3853
- name: Publish tests reports
3954
if: always()
4055
uses: scacap/action-surefire-report@a2911bd1a4412ec18dde2d93b1758b3e56d2a880 #v1.8.0

.github/workflows/public_integration_ui_tests.yml renamed to .github/workflows/no_context_integration_ui_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
export DISPLAY=:99.0
3232
Xvfb -ac :99 -screen 0 1920x1080x16 &
3333
sleep 10
34-
./gradlew publicIntegrationUITest --continue
34+
./gradlew integrationUITest --continue
3535
- name: Publish tests reports
3636
if: always()
3737
uses: scacap/action-surefire-report@a2911bd1a4412ec18dde2d93b1758b3e56d2a880 #v1.8.0

.github/workflows/validate_IJ_versions.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
IJ: [ IU-2022.3, IU-2023.1, IU-2023.2, IU-2023.3, IU-2024.1 ]
12+
IJ: [ 2022.3, 2023.1, 2023.2, 2023.3, 2024.1, 2024.2 ]
1313

1414
steps:
1515
- name: Checkout Code
@@ -23,12 +23,13 @@ jobs:
2323
- name: Grant execute permission for gradlew
2424
run: chmod +x gradlew
2525
- name: Build with Gradle
26-
run: ./gradlew build -PideaVersion=${{ matrix.IJ }}
26+
run: ./gradlew build -PplatformVersion=${{ matrix.IJ }}
2727
- name: Verify with Gradle
28-
run: ./gradlew runPluginVerifier -PideaVersion=${{ matrix.IJ }}
28+
run: ./gradlew verifyPlugin -PplatformVersion=${{ matrix.IJ }}
2929
- name: Upload report
3030
uses: actions/upload-artifact@v4
3131
if: always()
3232
with:
3333
name: ${{ matrix.IJ }}-verifier-report
3434
path: build/reports/pluginVerifier
35+
if-no-files-found: ignore

Jenkinsfile

-64
This file was deleted.

build.gradle

-234
This file was deleted.

0 commit comments

Comments
 (0)