DBZ-5165 fixing the product build in testsuite
This commit is contained in:
parent
240700a725
commit
1739ee9cf5
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,3 +35,4 @@ gen/
|
||||
|
||||
jenkins-jobs/docker/rhel_kafka/plugins
|
||||
jenkins-jobs/docker/artifact-server/plugins
|
||||
/jenkins-jobs/docker/debezium-testing-system/secret.yml
|
||||
|
@ -41,6 +41,8 @@ spec:
|
||||
name: \"testsuite\"
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
imagePullSecrets:
|
||||
- name: ${PULL_SECRET_NAME}
|
||||
containers:
|
||||
- name: \"dbz-testing-system\"
|
||||
image: \"quay.io/rh_integration/dbz-testing-system:${DOCKER_TAG}\"
|
||||
|
@ -43,14 +43,19 @@ if [[ ! ${GROUPS_ARG} =~ ${AVRO_PATTERN} ]]; then
|
||||
APICURIO_RESOURCE="install/apicurio-registry-operator-1.1.0-dev.yaml"
|
||||
fi
|
||||
|
||||
clone_component --component apicurio --git-repository "${APIC_GIT_REPOSITORY}" --git-branch "${APIC_GIT_BRANCH}" --product-build "${PRODUCT_BUILD}" --downstream-url "${APIC_DOWNSTREAM_URL}" ;
|
||||
clone_component --component apicurio --git-repository "${APIC_GIT_REPOSITORY}" --git-branch "${APIC_GIT_BRANCH}" --product-build "${DBZ_PRODUCT_BUILD}" --downstream-url "${APIC_DOWNSTREAM_URL}" ;
|
||||
sed -i "s/namespace: apicurio-registry-operator-namespace/namespace: ${DBZ_OCP_PROJECT_REGISTRY}/" apicurio/install/*.yaml ;
|
||||
oc create -f apicurio/${APICURIO_RESOURCE} -n "${DBZ_OCP_PROJECT_REGISTRY}" ;
|
||||
fi
|
||||
|
||||
pushd ${DEBEZIUM_LOCATION} || exit 1;
|
||||
|
||||
if [ "${DBZ_PRODUCT_BUILD}" == true ] ; then
|
||||
MVN_PRODUCT_BUILD="-Pproduct"
|
||||
fi
|
||||
|
||||
mvn install -pl debezium-testing/debezium-testing-system -PsystemITs,oracleITs \
|
||||
${MVN_PRODUCT_BUILD} \
|
||||
-Docp.project.debezium="${DBZ_OCP_PROJECT_DEBEZIUM}" \
|
||||
-Docp.project.db2="${DBZ_OCP_PROJECT_DB2}" \
|
||||
-Docp.project.mongo="${DBZ_OCP_PROJECT_MONGO}" \
|
||||
|
@ -20,6 +20,7 @@ pipelineJob('ocp-system-test') {
|
||||
booleanParam('TEST_APICURIO_REGISTRY', false, 'Run tests with Apicurio Registry and Avro serialization')
|
||||
|
||||
booleanParam('STRIMZI_KC_BUILD', false, 'Use connect image instead of artifact server')
|
||||
booleanParam('PRODUCT_BUILD', false, 'Is this a productised build')
|
||||
stringParam('DBZ_CONNECT_IMAGE', 'quay.io/rh_integration/test-strimzi-kafka:strz-latest-kafka-3.1.0-apc-2.2.3.Final-dbz-2.0.0-SNAPSHOT', 'Debezium connect image')
|
||||
stringParam('ARTIFACT_SERVER_IMAGE', 'quay.io/rh_integration/test-artifact-server:2.0.0-SNAPSHOT', 'Artifact server image')
|
||||
stringParam('APICURIO_VERSION', '2.2.3.Final', 'Apicurio version')
|
||||
|
@ -87,7 +87,7 @@ pipeline {
|
||||
--pull-secret-name "${PULL_SECRET_NAME}" \
|
||||
--docker-tag "${DOCKER_TAG}" \
|
||||
--project-name "${OCP_PROJECT_NAME}" \
|
||||
--product-build false \
|
||||
--product-build "${PRODUCT_BUILD}" \
|
||||
--strimzi-kc-build ${STRIMZI_KC_BUILD} \
|
||||
--apicurio-version "${APICURIO_VERSION}" \
|
||||
--groups-arg "${GROUPS_ARG}" \
|
||||
|
Loading…
Reference in New Issue
Block a user