2023-04-03 12:54:45 +02:00
|
|
|
folder("release") {
|
|
|
|
description("This folder contains all jobs used by developers for upstream release and all relevant stuff")
|
|
|
|
displayName("Release")
|
|
|
|
}
|
|
|
|
|
|
|
|
pipelineJob('release/release-debezium-upstream') {
|
2020-10-13 01:12:30 +02:00
|
|
|
displayName('Debezium Release')
|
|
|
|
description('Builds Debezium and deploys into Maven Central and Docker Hub')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
|
|
|
logRotator {
|
|
|
|
numToKeep(5)
|
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
2021-10-05 07:20:45 +02:00
|
|
|
stringParam('MAIL_TO', 'jpechane@redhat.com')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam('RELEASE_VERSION', 'x.y.z.Final', 'Version of Debezium to be released - e.g. 0.5.2.Final')
|
|
|
|
stringParam('DEVELOPMENT_VERSION', 'x.y.z-SNAPSHOT', 'Next development version - e.g. 0.5.3-SNAPSHOT')
|
|
|
|
stringParam('DEBEZIUM_REPOSITORY', 'github.com/debezium/debezium.git', 'Repository from which Debezium is built')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('DEBEZIUM_BRANCH', 'main', 'A branch from which Debezium is built')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam(
|
|
|
|
'DEBEZIUM_ADDITIONAL_REPOSITORIES',
|
2023-03-30 11:44:02 +02:00
|
|
|
'jdbc#github.com/debezium/debezium-connector-jdbc.git#main spanner#github.com/debezium/debezium-connector-spanner.git#main db2#github.com/debezium/debezium-connector-db2.git#main vitess#github.com/debezium/debezium-connector-vitess.git#main cassandra#github.com/debezium/debezium-connector-cassandra.git#main server#github.com/debezium/debezium-server.git#main',
|
2020-10-13 01:12:30 +02:00
|
|
|
'A space separated list of additional repositories from which Debezium incubating components are built (id#repo#branch)'
|
|
|
|
)
|
2022-06-30 09:51:57 +02:00
|
|
|
stringParam('IMAGES_REPOSITORY', 'github.com/debezium/container-images.git', 'Repository from which Debezium images are built')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('IMAGES_BRANCH', 'main', 'A branch from which Debezium images are built')
|
2022-10-05 12:42:23 +02:00
|
|
|
stringParam('MULTIPLATFORM_PLATFORMS', 'linux/amd64', 'Which platforms to build images for')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam('POSTGRES_DECODER_REPOSITORY', 'github.com/debezium/postgres-decoderbufs.git', 'Repository from which PostgreSQL decoder plugin is built')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('POSTGRES_DECODER_BRANCH', 'main', 'A branch from which Debezium images are built PostgreSQL decoder plugin is built')
|
2021-02-17 12:10:15 +01:00
|
|
|
stringParam('UI_REPOSITORY', 'github.com/debezium/debezium-ui.git', 'Repository from which Debezium UI is built')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('UI_BRANCH', 'main', 'A branch from which Debezium UI is built')
|
2020-10-13 01:12:30 +02:00
|
|
|
booleanParam('DRY_RUN', true, 'When checked the changes and artifacts are not pushed to repositories and registries')
|
2022-04-05 18:50:25 +02:00
|
|
|
booleanParam('IGNORE_SNAPSHOTS', false, 'When checked, snapshot dependencies are allowed to be released; otherwise build fails')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam('MAVEN_CENTRAL_SYNC_TIMEOUT', '12', 'Timeout in hours to wait for artifacts being published in the Maven Central')
|
2022-01-26 20:37:03 +01:00
|
|
|
booleanParam('CHECK_BACKPORTS', false, 'When checked the back ports between the two provided versions will be compared')
|
|
|
|
stringParam('BACKPORT_FROM_TAG', 'vx.y.z.Final', 'Tag where back port checks begin - e.g. v1.8.0.Final')
|
|
|
|
stringParam('BACKPORT_TO_TAG', 'vx.y.z.Final', 'Tag where back port checks end - e.g. v1.8.1.Final')
|
2020-10-13 01:12:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
2023-04-03 12:54:45 +02:00
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/release/release-pipeline.groovy'))
|
2020-10-13 01:12:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|