From 6fbb390576192370e4bd66d942146d94cccc41c0 Mon Sep 17 00:00:00 2001 From: Maxim Dzyuba Date: Tue, 10 Sep 2024 15:05:47 +0300 Subject: [PATCH 1/7] fix build workflow --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93172c5..0f585ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,19 +79,19 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Upload repo - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ssl-support-repository path: repositories/com.e1c.ssl.repository/target/repository/ - name: Upload SDK repo - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ssl-support-repository-sdk path: repositories/com.e1c.ssl.repository.sdk/target/repository/ - name: Upload JaCoCo exec data - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: jacoco @@ -100,7 +100,7 @@ jobs: ./**/target/site/jacoco*/ - name: Upload test logs on failure - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: logs From a0957a27c5ed1e927be828b2a4dafbed33dfeaea Mon Sep 17 00:00:00 2001 From: Maxim Dzyuba Date: Tue, 10 Sep 2024 15:11:59 +0300 Subject: [PATCH 2/7] fix release build workflow --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f080c3..251937d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,19 +42,19 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Upload repo - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo path: repositories/com.e1c.ssl.repository/target/repository/ - name: Upload SDK repo - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: sdk-repo path: repositories/com.e1c.ssl.repository.sdk/target/repository/ - name: Upload JaCoCo exec data - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: jacoco @@ -63,7 +63,7 @@ jobs: ./**/target/site/jacoco*/ - name: Upload test logs on failure - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: logs From e6f28714a974ac59c46dde640d7d41c9f8d8c7f8 Mon Sep 17 00:00:00 2001 From: Alexander Tretyakevich Date: Tue, 17 Sep 2024 09:38:39 +0700 Subject: [PATCH 3/7] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=B8=20=D0=BB?= =?UTF-8?q?=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f585ff..9570941 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: Xvfb :5 -screen 0 1280x1024x8 -fbdir /tmp & export DISPLAY=:5 echo "Sonar param: \"${SONAR_PARAM}\"" - mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -B -V -T 1C + mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -X -B -V 1C - name: Publish Test Report uses: scacap/action-surefire-report@v1 @@ -105,3 +105,10 @@ jobs: with: name: logs path: ./**/.log + + - name: Upload WS logs on failure + uses: actions/upload-artifact@v4 + if: always() + with: + name: ws-logs + path: ./**/target/work/data/.metadata/.log From 89b526bc1851613b10463e2164ce1d9f0f995d48 Mon Sep 17 00:00:00 2001 From: Alexander Tretyakevich Date: Tue, 17 Sep 2024 10:33:03 +0700 Subject: [PATCH 4/7] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=20debug-=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=20=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=D0=B2=20maven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9570941..d8397de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: Xvfb :5 -screen 0 1280x1024x8 -fbdir /tmp & export DISPLAY=:5 echo "Sonar param: \"${SONAR_PARAM}\"" - mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -X -B -V 1C + mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -B -V 1C - name: Publish Test Report uses: scacap/action-surefire-report@v1 From fa105d5f4335348aa3047b1ace15a17990fde136 Mon Sep 17 00:00:00 2001 From: Alexander Tretyakevich Date: Tue, 17 Sep 2024 10:57:02 +0700 Subject: [PATCH 5/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8397de..46726dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,4 +111,4 @@ jobs: if: always() with: name: ws-logs - path: ./**/target/work/data/.metadata/.log + path: tests/com.e1c.ssl.bsl.itests/target/work/data/.metadata/.log From bf2980bdd115de0e7d38d7e9ba8fe21202b2cf81 Mon Sep 17 00:00:00 2001 From: Alexander Tretyakevich Date: Tue, 17 Sep 2024 11:50:20 +0700 Subject: [PATCH 6/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46726dd..c412d3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: Xvfb :5 -screen 0 1280x1024x8 -fbdir /tmp & export DISPLAY=:5 echo "Sonar param: \"${SONAR_PARAM}\"" - mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -B -V 1C + mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -X -B -V 1C - name: Publish Test Report uses: scacap/action-surefire-report@v1 From 0c337877cff12b582674d65ef64fb3e0ccd21ecd Mon Sep 17 00:00:00 2001 From: Alexander Tretyakevich Date: Mon, 7 Oct 2024 19:21:07 +0700 Subject: [PATCH 7/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c412d3c..46726dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: Xvfb :5 -screen 0 1280x1024x8 -fbdir /tmp & export DISPLAY=:5 echo "Sonar param: \"${SONAR_PARAM}\"" - mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -X -B -V 1C + mvn clean verify ${SONAR_PARAM} -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -B -V 1C - name: Publish Test Report uses: scacap/action-surefire-report@v1