From 4ad4d27f047a0b9435e504363e1b2bf5f92742b4 Mon Sep 17 00:00:00 2001 From: Dominik Przybysz Date: Mon, 2 Dec 2024 16:26:08 +0100 Subject: [PATCH] ARIES-2162: Add blueprint workflow --- .github/workflows/blueprint.yml | 48 +++++++++++++++++++++++ .github/workflows/jmx.yml | 1 + blueprint/blueprint-parent/pom.xml | 8 ++-- blueprint/itests/blueprint-itests/pom.xml | 2 +- 4 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/blueprint.yml diff --git a/.github/workflows/blueprint.yml b/.github/workflows/blueprint.yml new file mode 100644 index 0000000000..8bd4135734 --- /dev/null +++ b/.github/workflows/blueprint.yml @@ -0,0 +1,48 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Blueprint - CI Build + +on: + pull_request: + paths: + - testsupport/** + - blueprint/** + - .github/workflows/blueprint.yml + push: + branches: + - 'trunk' + +env: + LC_ALL: en_US.UTF-8 + +jobs: + JDKxx_Matrix: + strategy: + matrix: + java: [ 8 ] + os: [ ubuntu-latest ] + name: JDK${{ matrix.java }} ${{ matrix.os }} + runs-on: ${{ matrix.os }} + steps: + - name: Git Checkout + uses: actions/checkout@v4 + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + - name: Build + shell: bash + run: | + mvn -U -e -B -ntp clean install -f testsupport/pom.xml + mvn -U -e -B -ntp clean install -f blueprint/pom.xml diff --git a/.github/workflows/jmx.yml b/.github/workflows/jmx.yml index 07035149e5..99d90b0a95 100644 --- a/.github/workflows/jmx.yml +++ b/.github/workflows/jmx.yml @@ -15,6 +15,7 @@ name: JMX - CI Build on: pull_request: paths: + - testsupport/** - jmx/** - .github/workflows/jmx.yml push: diff --git a/blueprint/blueprint-parent/pom.xml b/blueprint/blueprint-parent/pom.xml index 4856bc5ab4..b22c801ef7 100644 --- a/blueprint/blueprint-parent/pom.xml +++ b/blueprint/blueprint-parent/pom.xml @@ -24,7 +24,7 @@ org.apache.aries parent - 2.0.1 + 2.1.0 ../../parent/pom.xml @@ -45,9 +45,9 @@ 1.0.2-SNAPSHOT - 1.10.2-SNAPSHOT - 1.3.2-SNAPSHOT - 1.6.1-SNAPSHOT + 1.10.4-SNAPSHOT + 1.3.3-SNAPSHOT + 1.6.2-SNAPSHOT 1.0.1-SNAPSHOT 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT diff --git a/blueprint/itests/blueprint-itests/pom.xml b/blueprint/itests/blueprint-itests/pom.xml index 10385f2f26..fdde354c47 100644 --- a/blueprint/itests/blueprint-itests/pom.xml +++ b/blueprint/itests/blueprint-itests/pom.xml @@ -43,7 +43,7 @@ 4.10.0 - 2.2.0 + 2.5.3 ${blueprint.api.dev.version} ${blueprint.core.dev.version}