2022-01-24 15:28:02 +01:00
|
|
|
pipelineJob('ocp-upstream-artifact-server-prepare-job') {
|
|
|
|
displayName('Artifact Server Preparation - Upstream')
|
|
|
|
description('Prepares plugins file for artifact server')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
|
|
|
logRotator {
|
|
|
|
numToKeep(10)
|
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
|
|
|
stringParam('MAIL_TO', 'debezium-qe@redhat.com')
|
|
|
|
// QUAY CONFIG
|
|
|
|
stringParam('QUAY_CREDENTIALS', 'debezium-quay-creds', 'Quay.io credentials id')
|
|
|
|
stringParam('QUAY_ORGANISATION', 'debezium', 'Organisation where images are copied')
|
|
|
|
// 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')
|
|
|
|
stringParam('DBZ_GIT_REPOSITORY_DB2', 'https://github.com/debezium/debezium-connector-db2.git', 'Repository from which Debezium DB2 sources are cloned')
|
|
|
|
stringParam('DBZ_GIT_BRANCH_DB2', 'main', 'A branch/tag of Debezium DB2 sources')
|
|
|
|
// IMAGE NAME
|
|
|
|
booleanParam('AUTO_TAG', true, 'Use automatically generated tag')
|
|
|
|
textParam('EXTRA_IMAGE_TAGS', 'latest', 'List of extra texts tags for multiple images')
|
|
|
|
// COMPONENT VERSIONS
|
|
|
|
stringParam('APICURIO_VERSION', '2.1.0.Final', 'Service registry bits version')
|
2022-03-01 14:43:44 +01:00
|
|
|
// ORACLE INCLUSION
|
|
|
|
booleanParam('ORACLE_INCLUDED', false, 'Should Oracle connector be included in image')
|
|
|
|
stringParam('PRIVATE_QUAY_CREDENTIALS', 'rh-integration-quay-creds', 'Quay.io credentials id to private repo')
|
2022-01-24 15:28:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/upstream_artifact_server_prepare_pipeline.groovy'))
|
|
|
|
sandbox()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|