35 lines
1.6 KiB
Groovy
35 lines
1.6 KiB
Groovy
pipelineJob('ocp-downstream-strimzi-prepare-job') {
|
|
displayName('AMQ Stream Deployment Preparation')
|
|
description('Prepares images and deployment descriptor for AMQ Streams')
|
|
|
|
properties {
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
}
|
|
|
|
parameters {
|
|
stringParam('MAIL_TO', 'jcechace@redhat.com')
|
|
// QUAY CONFIG
|
|
stringParam('QUAY_CREDENTIALS', 'rh-integration-quay-creds', 'Quay.io credentials id')
|
|
stringParam('QUAY_ORGANISATION', '', 'Organisation where images are copied')
|
|
// STRIMZI CONFIG
|
|
stringParam('STRZ_RESOURCES_ARCHIVE_URL', '', 'URL to productised strimzi sources')
|
|
stringParam('STRZ_RESOURCES_DEPLOYMENT_DESCRIPTOR', '060-Deployment-strimzi-cluster-operator.yaml', 'Descriptor for cluster-operator deployment')
|
|
textParam('STRZ_IMAGES', '', 'List of productised strimzi images')
|
|
// 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
|
|
booleanParam('DBZ_CONNECT_BUILD', true, 'Also build debezium images')
|
|
textParam('DBZ_CONNECTOR_ARCHIVE_URLS', '', 'List of URLs to productised Debezium connectors')
|
|
// EXTRA CONFIG
|
|
textParam('DBZ_EXTRA_LIBS', '', 'List of extra libraries added to connectors')
|
|
}
|
|
|
|
definition {
|
|
cps {
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/downstream_prepare_pipeline.groovy'))
|
|
sandbox()
|
|
}
|
|
}
|
|
}
|