You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/09/14 11:13:12 UTC
[camel-k-runtime] 05/11: build(ci): add an option to build against
latest camel-quarkus bits
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
commit 0e5c82cbd274b703e505e96c5d9a54e301663449
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Wed Sep 2 14:14:25 2020 +0200
build(ci): add an option to build against latest camel-quarkus bits
---
.github/workflows/ci-build.yml | 19 ++++++++++++++++---
.github/workflows/pr-validate.yml | 2 +-
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index eb29080..c66ea21 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -46,7 +46,7 @@ jobs:
uses: AdoptOpenJDK/install-jdk@v1
with:
version: '11'
- - name: Build camel master
+ - name: Build camel (master)
if: contains( github.event.pull_request.labels.*.name, 'depends-on/camel/master')
run: |
git clone --depth 1 --branch master https://github.com/apache/camel.git \
@@ -64,7 +64,20 @@ jobs:
-Dcamel-quarkus.update-extension-doc-page.skip \
-DskipTests \
-DskipITs
- - name: mvn install
+ - name: Build camel-quarkus (master)
+ if: contains( github.event.pull_request.labels.*.name, 'depends-on/quarkus/master')
+ run: |
+ git clone --depth 1 --branch master https://github.com/apache/camel-quarkus.git \
+ && cd camel-quarkus \
+ && echo "Current Camel Quarkus commit:" $(git rev-parse HEAD) \
+ && ./mvnw -V -B -ntp clean install \
+ -Dformatter.skip \
+ -Dimpsort.skip \
+ -Denforce=false \
+ -Dcamel-quarkus.update-extension-doc-page.skip \
+ -DskipTests \
+ -DskipITs
+ - name: Build camel-k-runtime
run: ./mvnw -V -B -ntp clean install
- name: Tar Maven Repo
shell: bash
@@ -87,7 +100,7 @@ jobs:
with:
version: ${{ matrix.java }}
- name: Build on ${{ matrix.java }}
- if: contains( github.event.pull_request.labels.*.name, 'depends-on/camel/master') == 'false'
+ if: contains( github.event.pull_request.labels.*.name, 'depends-on/camel/master') == 'false' && contains( github.event.pull_request.labels.*.name, 'depends-on/quarkus/master') == 'false'
run: |
./mvnw -V -B -ntp clean install
build-native:
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index 36f553a..b712db2 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -35,7 +35,7 @@ jobs:
with:
version: '11'
- name: mvn package
- if: contains( github.event.pull_request.labels.*.name, 'depends-on/camel/master') == 'false'
+ if: contains( github.event.pull_request.labels.*.name, 'depends-on/camel/master') == 'false' && contains( github.event.pull_request.labels.*.name, 'depends-on/quarkus/master') == 'false'
run: |
./mvnw -fae -B -ntp clean verify \
-Dcheckstyle.failOnViolation=true \