Skip to content

Commit

Permalink
chore: support IJ 2024.2 (#894)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
sbouchet authored Oct 30, 2024
1 parent 5909d85 commit b38623f
Show file tree
Hide file tree
Showing 24 changed files with 605 additions and 525 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/IJ-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --continue -PideaVersion=IU-LATEST-EAP-SNAPSHOT
run: |
LATEST_EAP_SNAPSHOT=$(./gradlew printProductsReleases | grep 'IC-' | head -n 1 | cut -d'-' -f2)
./gradlew build --continue -PplatformVersion=$LATEST_EAP_SNAPSHOT
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/cluster_integration_ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ jobs:
validate-wrappers: true
- uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde #v1.10.0
name: Start cluster
# service setup disabled along with service test
# - name: Setup cluster
# run: |
# curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh | bash -s v0.26.0
# kubectl create -f https://operatorhub.io/install/service-binding-operator.yaml
# kubectl create -f https://operatorhub.io/install/stable/cloud-native-postgresql.yaml
# nb=0
# echo -n "Waiting for operator to show up "
# while [ "$nb" != "2" ]
# do
# echo -n "."
# sleep 1
# nb=`kubectl get pods -n operators --no-headers --ignore-not-found | grep Running | wc -l`
# done

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Play cluster integration UI tests
Expand All @@ -34,7 +49,7 @@ jobs:
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x16 &
sleep 10
./gradlew clusterIntegrationUITest --continue
./gradlew integrationUITest --continue
- name: Publish tests reports
if: always()
uses: scacap/action-surefire-report@a2911bd1a4412ec18dde2d93b1758b3e56d2a880 #v1.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x16 &
sleep 10
./gradlew publicIntegrationUITest --continue
./gradlew integrationUITest --continue
- name: Publish tests reports
if: always()
uses: scacap/action-surefire-report@a2911bd1a4412ec18dde2d93b1758b3e56d2a880 #v1.8.0
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/validate_IJ_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
IJ: [ IU-2022.3, IU-2023.1, IU-2023.2, IU-2023.3, IU-2024.1 ]
IJ: [ 2022.3, 2023.1, 2023.2, 2023.3, 2024.1, 2024.2 ]

steps:
- name: Checkout Code
Expand All @@ -23,12 +23,13 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -PideaVersion=${{ matrix.IJ }}
run: ./gradlew build -PplatformVersion=${{ matrix.IJ }}
- name: Verify with Gradle
run: ./gradlew runPluginVerifier -PideaVersion=${{ matrix.IJ }}
run: ./gradlew verifyPlugin -PplatformVersion=${{ matrix.IJ }}
- name: Upload report
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.IJ }}-verifier-report
path: build/reports/pluginVerifier
if-no-files-found: ignore
64 changes: 0 additions & 64 deletions Jenkinsfile

This file was deleted.

234 changes: 0 additions & 234 deletions build.gradle

This file was deleted.

Loading

0 comments on commit b38623f

Please sign in to comment.