Skip to content

Commit

Permalink
[test] Detect camel quarkus version dynamically in monitoring test
Browse files Browse the repository at this point in the history
  • Loading branch information
llowinge committed Oct 29, 2020
1 parent cad0ed3 commit 36e87c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/yaks/openshift/monitoring/dependencyInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
SOURCE_DIR=$( dirname "${BASH_SOURCE[0]}")
APP_FOLDER="${SOURCE_DIR}/app"

mvn clean install -f $APP_FOLDER
VERSION_CAMEL_K_RUNTIME=$(oc -n ${YAKS_NAMESPACE} get IntegrationPlatform camel-k -o 'jsonpath={.status.build.runtimeVersion}')
VERSION_CAMEL_QUARKUS=$(oc -n ${YAKS_NAMESPACE} get CamelCatalog camel-catalog-${VERSION_CAMEL_K_RUNTIME}-main -o 'jsonpath={.spec.runtime.metadata.camel-quarkus\.version}')

mvn clean install -f $APP_FOLDER -Dversion.camel.quarkus=${VERSION_CAMEL_QUARKUS}
LOCAL_MVN_HOME=$(mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout)

OPERATOR_POD=$(oc -n ${YAKS_NAMESPACE} get pods -l name=camel-k-operator --no-headers -o custom-columns=NAME:.metadata.name)
Expand Down

0 comments on commit 36e87c1

Please sign in to comment.