2021-07-27 16:29:35 +02:00
|
|
|
pipelineJob('rhel-downstream-prepare-job') {
|
2021-06-24 11:20:43 +02:00
|
|
|
displayName('AMQ Streams on RHEL Preparation')
|
|
|
|
description('Prepares image for AMQ Streams on RHEL')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
|
|
|
// QUAY CONFIG
|
|
|
|
stringParam('QUAY_CREDENTIALS', 'rh-integration-quay-creds', "Quay.io credentials id")
|
|
|
|
stringParam('QUAY_ORGANISATION', '', "Organisation where images are copied")
|
|
|
|
// RHEL CONFIG
|
|
|
|
stringParam('RHEL_IMAGE', 'registry.access.redhat.com/ubi8:latest', "Base RHEL image")
|
|
|
|
// KAFKA CONFIG
|
|
|
|
stringParam('KAFKA_URL', '', "AMQ streams kafka")
|
|
|
|
// DEBEZIUM CONFIG
|
|
|
|
stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
|
|
|
|
stringParam('DBZ_GIT_BRANCH', 'master', 'A branch/tag of Debezium sources')
|
|
|
|
// 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()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|