This is an automated email from the ASF dual-hosted git repository.

jsinovassinnaik pushed a commit to branch UNOMI-821
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/UNOMI-821 by this push:
     new cf61fa43c update ci
cf61fa43c is described below

commit cf61fa43c2bc0712c419c3f8a35ecc528d4f4b4b
Author: jsinovassin <jsinovassinn...@jahia.com>
AuthorDate: Mon Apr 22 10:01:24 2024 +0200

    update ci
---
 .github/workflows/unomi-ci-build-tests-1X.yml | 62 ---------------------------
 .github/workflows/unomi-ci-build-tests.yml    |  2 +-
 .github/workflows/unomi-ci-docs-deploy-1X.yml | 44 -------------------
 3 files changed, 1 insertion(+), 107 deletions(-)

diff --git a/.github/workflows/unomi-ci-build-tests-1X.yml 
b/.github/workflows/unomi-ci-build-tests-1X.yml
deleted file mode 100644
index 28921fa26..000000000
--- a/.github/workflows/unomi-ci-build-tests-1X.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Build and run tests
-
-on:
-  push:
-    branches: [ unomi-1.x, unomi-1.7.x ]
-  pull_request:
-    branches: [ unomi-1.x, unomi-1.7.x ]
-
-jobs:
-  unit-tests:
-    name: Execute unit tests
-    runs-on: ubuntu-latest
-    strategy:
-      fail-fast: false
-      matrix:
-        java: [ 1.8, 11]
-    steps:
-    - uses: actions/checkout@v2
-    - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v1
-      with:
-        java-version: ${{ matrix.java }}
-        cache: maven
-    - name: Build and Unit tests
-      run: mvn -U -ntp -e clean install
-
-  integration-tests:
-    name: Execute integration tests
-    runs-on: ubuntu-latest
-    strategy:
-      fail-fast: false
-      matrix:
-        java: [ 1.8, 11]
-    steps:
-      - uses: actions/checkout@v2
-      - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v1
-        with:
-          java-version: ${{ matrix.java }}
-          cache: maven
-      - name: Integration tests
-        run: mvn -ntp clean install -Pintegration-tests
-      - name: Archive code coverage logs
-        uses: actions/upload-artifact@v3
-        if: false # UNOMI-746 Reactivate if necessary
-        with:
-          name: unomi-code-coverage-jdk${{ matrix.java }}-${{ 
github.run_number }}
-          path: itests/target/site/jacoco
-      - name: Archive unomi logs
-        uses: actions/upload-artifact@v3
-        if: failure()
-        with:
-          name: unomi-log-jdk${{ matrix.java }}-${{ github.run_number }}
-          path: itests/target/exam/**/data/log
-      - name: Publish Test Report
-        uses: mikepenz/action-junit-report@v3
-        if: failure()
-        with:
-          report_paths: 'itests/target/failsafe-reports/TEST-*.xml'
diff --git a/.github/workflows/unomi-ci-build-tests.yml 
b/.github/workflows/unomi-ci-build-tests.yml
index 6396b6dc4..1c3d95b92 100644
--- a/.github/workflows/unomi-ci-build-tests.yml
+++ b/.github/workflows/unomi-ci-build-tests.yml
@@ -7,7 +7,7 @@ on:
   push:
     branches: [master]
   pull_request:
-    branches: [master]
+    types: [opened, reopened, synchronize]
 
 jobs:
   unit-tests:
diff --git a/.github/workflows/unomi-ci-docs-deploy-1X.yml 
b/.github/workflows/unomi-ci-docs-deploy-1X.yml
deleted file mode 100644
index 448d61736..000000000
--- a/.github/workflows/unomi-ci-docs-deploy-1X.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Publish Javadoc and snapshots
-
-on:
-  push:
-    branches: [ unomi-1.x, unomi-1.7.x ]
-
-jobs:
-  publish-docs-and-snapshots:
-    name: Publish Javadoc and snapshots
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
-        with:
-          java-version: 1.8
-          server-id: apache.snapshots.https
-          server-username: NEXUS_USER
-          server-password: NEXUS_PW
-      - name: Generate documentation
-        run: mvn -U -ntp -e clean install -DskipTests javadoc:aggregate 
source:aggregate
-      - name: Build & deploy snapshots
-        run: mvn -ntp deploy -DskipTests
-        env:
-          NEXUS_USER: ${{ secrets.NEXUS_USER }}
-          NEXUS_PW: ${{ secrets.NEXUS_PW }}
-
-  publish-docker-image:
-    name: Push Docker image snapshot
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
-        with:
-          java-version: 1.8
-          server-id: apache.snapshots.https
-          server-username: NEXUS_USER
-          server-password: NEXUS_PW
-      - name: Building & pushing Docker snapshot image
-        run: mvn -ntp clean install -P docker; pushd docker; mvn 
-Ddocker.username=${{ secrets.DOCKERHUB_USER }} -Ddocker.password=${{ 
secrets.DOCKERHUB_TOKEN }} docker:push; popd

Reply via email to