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-deploy-container-images') {
|
2022-06-30 09:51:57 +02:00
|
|
|
displayName('Debezium Deploy Container Images')
|
|
|
|
description('Build and deploy Container images to the registry')
|
2021-08-05 16:10:31 +02:00
|
|
|
|
|
|
|
properties {
|
2022-06-30 09:51:57 +02:00
|
|
|
githubProjectUrl('https://github.com/debezium/container-images')
|
2021-08-05 16:10:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
logRotator {
|
|
|
|
daysToKeep(7)
|
2022-01-03 14:23:24 +01:00
|
|
|
numToKeep(10)
|
2021-08-05 16:10:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
triggers {
|
|
|
|
cron('@midnight')
|
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
2021-10-05 07:20:45 +02:00
|
|
|
stringParam('MAIL_TO', 'jpechane@redhat.com')
|
2021-08-05 16:10:31 +02:00
|
|
|
stringParam('DEBEZIUM_REPOSITORY', 'debezium/debezium', 'Repository from which Debezium is built')
|
2022-06-30 09:51:57 +02:00
|
|
|
stringParam('IMAGES_REPOSITORY', 'github.com/debezium/container-images.git', 'Repository with Debezium Dockerfiles')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('IMAGES_BRANCH', 'main', 'Branch used for images repository')
|
2021-08-05 16:10:31 +02:00
|
|
|
stringParam('STREAMS_TO_BUILD_COUNT', '2', 'How many most recent streams should be built')
|
|
|
|
stringParam('TAGS_PER_STREAM_COUNT', '1', 'How any most recent tags per stream should be built')
|
2022-10-05 12:42:23 +02:00
|
|
|
stringParam('MULTIPLATFORM_PLATFORMS', 'linux/amd64,linux/arm64', 'Which platforms to build images for')
|
2023-07-24 13:34:25 +02:00
|
|
|
booleanParam('SKIP_UI', true, 'Should UI image be skipped (skipped by default due to build failure on CI)?')
|
2021-08-05 16:10:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
2023-04-03 12:54:45 +02:00
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/release/build_debezium_images_pipeline.groovy'))
|
2021-08-05 16:10:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|