2021-07-27 16:29:35 +02:00
|
|
|
pipelineJob('rhel-downstream-prepare-job') {
|
2022-07-11 16:40:37 +02:00
|
|
|
displayName('AMQ Streams on RHEL Preparation - Downstream')
|
2021-06-24 11:20:43 +02:00
|
|
|
description('Prepares image for AMQ Streams on RHEL')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
2022-01-03 14:23:24 +01:00
|
|
|
logRotator {
|
|
|
|
numToKeep(10)
|
|
|
|
}
|
|
|
|
|
2021-06-24 11:20:43 +02:00
|
|
|
parameters {
|
2021-11-03 12:11:45 +01:00
|
|
|
stringParam('MAIL_TO', 'debezium-qe@redhat.com')
|
2021-06-24 11:20:43 +02:00
|
|
|
// QUAY CONFIG
|
2021-08-25 17:17:00 +02:00
|
|
|
stringParam('QUAY_CREDENTIALS', 'rh-integration-quay-creds', 'Quay.io credentials id')
|
|
|
|
stringParam('QUAY_ORGANISATION', '', 'Organisation where images are copied')
|
2021-06-24 11:20:43 +02:00
|
|
|
// RHEL CONFIG
|
2021-08-25 17:17:00 +02:00
|
|
|
stringParam('RHEL_IMAGE', 'registry.access.redhat.com/ubi8:latest', 'Base RHEL image')
|
2021-06-24 11:20:43 +02:00
|
|
|
// KAFKA CONFIG
|
2021-08-25 17:17:00 +02:00
|
|
|
stringParam('KAFKA_URL', '', 'AMQ streams kafka')
|
2022-05-24 23:16:53 +02:00
|
|
|
stringParam('DBZ_SCRIPTS_VERSION', '2.0', 'Version of debezium used as source of startup scripts')
|
2021-06-24 11:20:43 +02:00
|
|
|
// DEBEZIUM CONFIG
|
|
|
|
stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('DBZ_GIT_BRANCH', 'main', 'A branch/tag of Debezium sources')
|
2021-08-05 12:52:50 +02:00
|
|
|
// IMAGE NAME
|
2021-11-03 12:11:45 +01:00
|
|
|
booleanParam('AUTO_TAG', true, 'Use automatically generated tag')
|
|
|
|
textParam('EXTRA_IMAGE_TAGS', 'latest', 'List of extra texts tags for multiple images')
|
2021-06-24 11:20:43 +02:00
|
|
|
// DEBEZIUM CONNECT IMAGE CONFIG
|
2021-07-27 16:29:35 +02:00
|
|
|
textParam('DBZ_CONNECTOR_ARCHIVE_URLS', '', 'List of URLs to productised Debezium connectors')
|
2021-06-24 11:20:43 +02:00
|
|
|
// EXTRA CONFIG
|
2021-07-27 16:29:35 +02:00
|
|
|
textParam('DBZ_EXTRA_LIBS', '', 'List of extra libraries added to connectors')
|
2021-06-24 11:20:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
2021-07-27 16:29:35 +02:00
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/rhel_downstream_prepare_pipeline.groovy'))
|
2021-06-24 11:20:43 +02:00
|
|
|
sandbox()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|