DBZ-5165 moved the incremental build into testsuite script, fixed connect image version in deployment
This commit is contained in:
parent
385d49fc9c
commit
89812a614f
@ -23,10 +23,6 @@ RUN source $sdkman_init && mvn clean install -DskipTests -DskipITs -f /testsuite
|
||||
|
||||
# always rerun steps below, execute incremental build
|
||||
ARG CACHEBUST=1
|
||||
RUN git -C /testsuite/debezium stash
|
||||
RUN git -C /testsuite/debezium reset --hard origin/$branch # TODO why doesn't it work without it
|
||||
RUN git -C /testsuite/debezium pull $repository $branch
|
||||
RUN source $sdkman_init && mvn clean install -DskipTests -DskipITs -f /testsuite/debezium/pom.xml
|
||||
|
||||
COPY testsuite-deployment.sh /testsuite/testsuite-deployment.sh
|
||||
RUN chmod a+x /testsuite/testsuite-deployment.sh
|
||||
|
@ -40,11 +40,11 @@ spec:
|
||||
- name: PRODUCT_BUILD
|
||||
value: "false"
|
||||
- name: DBZ_CONNECT_IMAGE
|
||||
value: "quay.io/debezium/testing-openshift-connect:kafka-3.1.0-1.9.0-SNAPSHOT"
|
||||
value: "quay.io/rh_integration/test-strimzi-kafka:strz-latest-kafka-3.1.0-apc-2.2.3.Final-dbz-2.0.0-SNAPSHOT"
|
||||
- name: GROUPS
|
||||
value: "mysql & !avro & !docker"
|
||||
- name: DELETE_PROJECTS
|
||||
value: "true"
|
||||
value: "false"
|
||||
triggers:
|
||||
- type: "ConfigChange"
|
||||
paused: false
|
||||
|
@ -12,6 +12,11 @@ if [ ! -f "${SECRET_PATH}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#TODO incremental build here
|
||||
git -C /testsuite/debezium stash
|
||||
git -C /testsuite/debezium pull origin DBZ-5165
|
||||
mvn clean install -DskipTests -DskipITs -f /testsuite/debezium/pom.xml
|
||||
|
||||
#prepare ocp, run tests
|
||||
${OCP_PROJECTS} --project "${OCP_PROJECT_DEBEZIUM}" --create
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user