This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 1730e75ee1fee36b83a09c479c9bd664c834bc86 Author: James Netherton <[email protected]> AuthorDate: Tue Mar 14 09:08:45 2023 +0000 Temporarily disable tests using kubernetes-client due to #4651 --- .github/workflows/quarkus-master-cron.yaml | 22 +++---- integration-tests/kubernetes/pom.xml | 2 + integration-tests/master-openshift/pom.xml | 94 +++++++++++++++--------------- 3 files changed, 61 insertions(+), 57 deletions(-) diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml index 4b2150a649..6705ebf8f3 100644 --- a/.github/workflows/quarkus-master-cron.yaml +++ b/.github/workflows/quarkus-master-cron.yaml @@ -392,19 +392,19 @@ jobs: git rebase $(cat ~/build-data/main-sha.txt) - name: set CQ_VERSION run: echo "CQ_VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout -N)" >> $GITHUB_ENV - - name: clone and verify examples - run: | - EXAMPLES_BRANCH="camel-quarkus-main" + # - name: clone and verify examples + # run: | + # EXAMPLES_BRANCH="camel-quarkus-main" - if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x ]]; then - EXAMPLES_BRANCH=${GITHUB_REF_NAME} - fi + # if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x ]]; then + # EXAMPLES_BRANCH=${GITHUB_REF_NAME} + # fi - git clone --depth 1 --branch ${EXAMPLES_BRANCH} https://github.com/apache/camel-quarkus-examples.git \ - && cd camel-quarkus-examples \ - && echo "Current Examples commit:" $(git rev-parse HEAD) \ - && ./mvnw ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} org.l2x6.cq:cq-maven-plugin:2.10.0:examples-set-platform -Dcq.camel-quarkus.version=${CQ_VERSION} \ - && ./mvnw-for-each.sh ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} -Pnative,docker clean verify + # git clone --depth 1 --branch ${EXAMPLES_BRANCH} https://github.com/apache/camel-quarkus-examples.git \ + # && cd camel-quarkus-examples \ + # && echo "Current Examples commit:" $(git rev-parse HEAD) \ + # && ./mvnw ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} org.l2x6.cq:cq-maven-plugin:2.10.0:examples-set-platform -Dcq.camel-quarkus.version=${CQ_VERSION} \ + # && ./mvnw-for-each.sh ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} -Pnative,docker clean verify - name: Report Build Failure if: failure() || cancelled() run: | diff --git a/integration-tests/kubernetes/pom.xml b/integration-tests/kubernetes/pom.xml index 7b6d9c68c7..2f1e60e190 100644 --- a/integration-tests/kubernetes/pom.xml +++ b/integration-tests/kubernetes/pom.xml @@ -75,6 +75,7 @@ <profiles> + <!-- TODO: https://github.com/apache/camel-quarkus/issues/4651 <profile> <id>native</id> <activation> @@ -102,6 +103,7 @@ </plugins> </build> </profile> + --> <profile> <id>virtualDependencies</id> <activation> diff --git a/integration-tests/master-openshift/pom.xml b/integration-tests/master-openshift/pom.xml index a69b488e7a..572663bb57 100644 --- a/integration-tests/master-openshift/pom.xml +++ b/integration-tests/master-openshift/pom.xml @@ -149,52 +149,54 @@ </plugins> </build> </profile> - <profile> - <id>native</id> - <activation> - <property> - <name>native</name> - </property> - </activation> - <properties> - <quarkus.package.type>native</quarkus.package.type> - <quarkus.runner>${project.build.directory}/${project.artifactId}-${project.version}-runner</quarkus.runner> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - </execution> - </executions> - <configuration> - <systemProperties> - <quarkus.runner>${quarkus.runner}</quarkus.runner> - </systemProperties> - <environmentVariables> - Fake KubernetesClusterService so it assumes being run from a pod named leader > - <HOSTNAME>leader</HOSTNAME> - </environmentVariables> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>virtualDependencies</id> - <activation> - <property> - <name>!noVirtualDependencies</name> - </property> - </activation> - <dependencies> - <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> + <!-- TODO: https://github.com/apache/camel-quarkus/issues/4651 + <profile> + <id>native</id> + <activation> + <property> + <name>native</name> + </property> + </activation> + <properties> + <quarkus.package.type>native</quarkus.package.type> + <quarkus.runner>${project.build.directory}/${project.artifactId}-${project.version}-runner</quarkus.runner> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + <configuration> + <systemProperties> + <quarkus.runner>${quarkus.runner}</quarkus.runner> + </systemProperties> + <environmentVariables> + Fake KubernetesClusterService so it assumes being run from a pod named leader > + <HOSTNAME>leader</HOSTNAME> + </environmentVariables> + </configuration> + </plugin> + </plugins> + </build> + </profile> + --> + <profile> + <id>virtualDependencies</id> + <activation> + <property> + <name>!noVirtualDependencies</name> + </property> + </activation> + <dependencies> + <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-file-deployment</artifactId>
