36 lines
1.4 KiB
Groovy
36 lines
1.4 KiB
Groovy
pipelineJob('ocp-downstream-apicurio-prepare-job') {
|
|
displayName('Apicurio Preparation - Downstream')
|
|
description('Republishes apicurio registry images to quay.io and replaces them in deployment descriptor')
|
|
|
|
properties {
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
}
|
|
|
|
logRotator {
|
|
numToKeep(10)
|
|
}
|
|
|
|
parameters {
|
|
stringParam('MAIL_TO', 'debezium-qe@redhat.com')
|
|
// QUAY CONFIG
|
|
stringParam('QUAY_CREDENTIALS', 'rh-integration-quay-creds', 'Quay.io credentials id')
|
|
stringParam('QUAY_ORGANISATION', '', 'Organisation where images are copied')
|
|
// APICURIO CONFIG
|
|
stringParam('APIC_RESOURCES_ARCHIVE_URL', '', 'URL to productised apicurio sources')
|
|
stringParam('APIC_RESOURCES_DEPLOYMENT_DESCRIPTOR', 'install.yaml', 'Descriptor for deployment')
|
|
textParam('APIC_IMAGES', '', 'List of productised apicurio images')
|
|
// DEBEZIUM CONFIG
|
|
stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
|
|
stringParam('DBZ_GIT_BRANCH', 'main', 'A branch/tag of Debezium sources')
|
|
// EXTRA CONFIG
|
|
booleanParam('PUSH_IMAGES', true, 'Push images to quay.io')
|
|
}
|
|
|
|
definition {
|
|
cps {
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/downstream_apicurio_prepare_pipeline.groovy'))
|
|
sandbox()
|
|
}
|
|
}
|
|
}
|