DBZ-5392 added downstream/upstream suffix to the preparation jenkins jobs, removed redundant job attributes in downstream trigger job

This commit is contained in:
Martin Medek 2022-07-11 16:40:37 +02:00 committed by Jakub Cechacek
parent 95a4576df4
commit db26d638a1
7 changed files with 13 additions and 17 deletions

View File

@ -1,5 +1,5 @@
pipelineJob('ocp-downstream-apicurio-prepare-job') {
displayName('Apicurio deployment preparation')
displayName('Apicurio Preparation - Downstream')
description('Republishes apicurio registry images to quay.io and replaces them in deployment descriptor')
properties {

View File

@ -1,5 +1,5 @@
pipelineJob('ocp-downstream-artifact-server-prepare-job') {
displayName('Artifact Server Preparation')
displayName('Artifact Server Preparation - Downstream')
description('Prepares plugins file for artifact server')
properties {

View File

@ -1,5 +1,5 @@
pipelineJob('ocp-downstream-strimzi-prepare-job') {
displayName('AMQ Stream Deployment Preparation')
displayName('Strimzi Preparation - Downstream')
description('Prepares images and deployment descriptor for AMQ Streams')
properties {

View File

@ -1,5 +1,5 @@
pipelineJob('ocp-downstream-trigger-all-prepare') {
displayName('Trigger Downstream Preparations')
displayName('Trigger Preparations - Downstream')
description('Triggers downstream preparation jobs')
parameters {
@ -26,7 +26,7 @@ pipelineJob('ocp-downstream-trigger-all-prepare') {
textParam('STRZ_IMAGES', '', 'OCP Downstream strimzi - List of productised strimzi images')
// DEBEZIUM CONNECT IMAGE CONFIG
booleanParam('STRZ_DBZ_CONNECT_BUILD', true, 'OCP Downstream strimzi - Also build debezium images')
textParam('STRZ_DBZ_CONNECTOR_ARCHIVE_URLS', '', 'OCP Downstream strimzi - List of URLs to productised Debezium connectors')
textParam('DBZ_CONNECTOR_ARCHIVE_URLS', '', 'OCP Downstream strimzi, Artifact Server - List of URLs to productised Debezium connectors')
textParam('STRZ_DBZ_EXTRA_LIBS', '', 'Downstream Strimzi, RHEL - List of extra libraries added to connectors')
// APICURIO
@ -37,7 +37,7 @@ pipelineJob('ocp-downstream-trigger-all-prepare') {
// RHEL
booleanParam('AUTO_TAG', true, 'RHEL - Use automatically generated tag')
booleanParam('AUTO_TAG', true, 'RHEL, Artifact Server - Use automatically generated tag')
textParam('EXTRA_IMAGE_TAGS', 'latest', 'RHEL - List of extra texts tags for multiple images')
stringParam('RHEL_IMAGE', 'registry.access.redhat.com/ubi8:latest', 'Base RHEL image')
stringParam('KAFKA_URL', '', 'RHEL - AMQ streams kafka')
@ -46,10 +46,6 @@ pipelineJob('ocp-downstream-trigger-all-prepare') {
// ARTIFACT SERVER
textParam('AS_DBZ_EXTRA_LIBS', '', 'Artifact Server - List of extra libraries added to connectors')
textParam('AS_EXTRA_IMAGE_TAGS', 'latest', 'Artifact Server - List of extra texts tags for multiple images')
booleanParam('AS_AUTO_TAG', true, 'Artifact Server - Use automatically generated tag')
textParam('AS_DBZ_CONNECTOR_ARCHIVE_URLS', '', 'Artifact Server - List of URLs to productised Debezium connectors')
}
definition {
cps {

View File

@ -1,6 +1,6 @@
pipelineJob('ocp-upstream-kafka-connect-prepare-job') {
displayName('Kafka Connect Image Preparation - Upstream')
description('Prepares Strimzi')
displayName('Strimzi Preparation - Upstream')
description('Prepares Upstream Strimzi')
properties {
githubProjectUrl('https://github.com/debezium/debezium')

View File

@ -1,5 +1,5 @@
pipelineJob('rhel-downstream-prepare-job') {
displayName('AMQ Streams on RHEL Preparation')
displayName('AMQ Streams on RHEL Preparation - Downstream')
description('Prepares image for AMQ Streams on RHEL')
properties {

View File

@ -18,8 +18,8 @@ pipeline {
string(name: 'DBZ_GIT_BRANCH', value: params.DBZ_GIT_BRANCH),
text(name: 'DBZ_EXTRA_LIBS', value: params.AS_DBZ_EXTRA_LIBS ),
text(name: 'EXTRA_IMAGE_TAGS', value: params.AS_EXTRA_IMAGE_TAGS),
booleanParam(name: 'AUTO_TAG', value: params.AS_AUTO_TAG),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.AS_DBZ_CONNECTOR_ARCHIVE_URLS),
booleanParam(name: 'AUTO_TAG', value: params.AUTO_TAG),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.DBZ_CONNECTOR_ARCHIVE_URLS),
]
copyArtifacts(projectName: 'ocp-downstream-artifact-server-prepare-job', selector: lastCompleted())
}
@ -40,7 +40,7 @@ pipeline {
string(name: 'DBZ_GIT_REPOSITORY', value: params.DBZ_GIT_REPOSITORY),
string(name: 'DBZ_GIT_BRANCH', value: params.DBZ_GIT_BRANCH),
booleanParam(name: 'DBZ_CONNECT_BUILD', value: params.STRZ_DBZ_CONNECT_BUILD),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.STRZ_DBZ_CONNECTOR_ARCHIVE_URLS),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.DBZ_CONNECTOR_ARCHIVE_URLS),
text(name: 'DBZ_EXTRA_LIBS', value: params.STRZ_DBZ_EXTRA_LIBS),
]
copyArtifacts(projectName: 'ocp-downstream-strimzi-prepare-job', selector: lastCompleted())
@ -83,7 +83,7 @@ pipeline {
string(name: 'DBZ_GIT_BRANCH', value: params.DBZ_GIT_BRANCH),
booleanParam(name: 'AUTO_TAG', value: params.AUTO_TAG),
text(name: 'EXTRA_IMAGE_TAGS', value: params.EXTRA_IMAGE_TAGS),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.STRZ_DBZ_CONNECTOR_ARCHIVE_URLS),
text(name: 'DBZ_CONNECTOR_ARCHIVE_URLS', value: params.DBZ_CONNECTOR_ARCHIVE_URLS),
text(name: 'DBZ_EXTRA_LIBS', value: params.STRZ_DBZ_EXTRA_LIBS),
]
copyArtifacts(projectName: 'rhel-downstream-prepare-job', selector: lastCompleted())