Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kn-workflow-cli-artifacts image as part of OSL prod UMB message #1566

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions job-dsls/jobs/prod/prod_osl_trigger_umb_message.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pipelineJob("${folderPath}/osl-trigger-umb-message") {
stringParam('MANAGEMENT_CONSOLE_BREW', '', 'The openshift-serverless-1-logic-management-console-rhel8-container Brew build ID. This parameter is optional and in case it is not defined, the latest built image is used.')
stringParam('OPERATOR_BREW', '', 'The openshift-serverless-1-logic-rhel8-operator-container Brew build ID. This parameter is optional and in case it is not defined, the latest built image is used.')
stringParam('OPERATOR_BUNDLE_BREW', '', 'The openshift-serverless-1-logic-rhel8-operator-bundle-container Brew build ID. This parameter is optional and in case it is not defined, the latest built image is used.')
stringParam('KN_WORKFLOW_CLI_ARTIFACTS_BREW', '', 'The openshift-serverless-1-logic-kn-workflow-cli-artifacts-rhel8-container Brew build ID. This parameter is optional and in case it is not defined, the latest built image is used.')
}

logRotator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def images = [ // Images to find the tag in Brew
'swf-devmode': [brewBuildID: "${env.SWF_DEVMODE_BREW}", brewPackageName: 'openshift-serverless-1-logic-swf-devmode-rhel8-container', imageTag: ''],
'management-console': [brewBuildID: "${env.MANAGEMENT_CONSOLE_BREW}", brewPackageName: 'openshift-serverless-1-logic-management-console-rhel8-container', imageTag: ''],
'operator': [brewBuildID: "${env.OPERATOR_BREW}", brewPackageName: 'openshift-serverless-1-logic-rhel8-operator-container', imageTag: ''],
'operator-bundle': [brewBuildID: "${env.OPERATOR_BUNDLE_BREW}", brewPackageName: 'openshift-serverless-1-logic-rhel8-operator-bundle-container', imageTag: '']
'operator-bundle': [brewBuildID: "${env.OPERATOR_BUNDLE_BREW}", brewPackageName: 'openshift-serverless-1-logic-rhel8-operator-bundle-container', imageTag: ''],
'kn-workflow-cli-artifacts': [brewBuildID: "${env.KN_WORKFLOW_CLI_ARTIFACTS_BREW}", brewPackageName: 'openshift-serverless-1-logic-kn-workflow-cli-artifacts-rhel8-container', imageTag: '']
]

def projectsAndVersions = [:]
Expand Down Expand Up @@ -45,6 +46,7 @@ pipeline {
println "[INFO] MANAGEMENT_CONSOLE_BREW: ${MANAGEMENT_CONSOLE_BREW}"
println "[INFO] OPERATOR_BREW: ${OPERATOR_BREW}"
println "[INFO] OPERATOR_BUNDLE_BREW: ${OPERATOR_BUNDLE_BREW}"
println "[INFO] KN_WORKFLOW_CLI_ARTIFACTS_BREW: ${KN_WORKFLOW_CLI_ARTIFACTS_BREW}"
}
}
stage('Fetch current milestone') {
Expand Down Expand Up @@ -142,7 +144,7 @@ def getMessageBody(milestone, projectsAndVersions, images) {
"maven_repository_file_url": "${env.STAGING_SERVER_URL}/rhoss/rhoss-logic-${milestone}/openshift-serverless-logic-${milestone}-maven-repository.zip",
"sources_file_url": "${env.STAGING_SERVER_URL}/rhoss/rhoss-logic-${milestone}/openshift-serverless-logic-${milestone}-src.zip",
"version": {"serverlesslogic-rhba":"${milestone}","serverlesslogic":"${projectsAndVersions["kiegroup/kogito-runtimes"]}","drools":"${DROOLS_VERSION}","platform.quarkus.bom":"${QUARKUS_PLATFORM_VERSION}", "quarkus.bom":"${QUARKUS_VERSION}"},
"image": {"data-index-ephemeral":"${images["data-index-ephemeral"].imageTag}","data-index-postgresql":"${images["data-index-postgresql"].imageTag}","jobs-service-ephemeral":"${images["jobs-service-ephemeral"].imageTag}","jobs-service-postgresql":"${images["jobs-service-postgresql"].imageTag}","swf-builder":"${images["swf-builder"].imageTag}","swf-devmode":"${images["swf-devmode"].imageTag}","management-console":"${images["management-console"].imageTag}","operator":"${images["operator"].imageTag}","operator-bundle":"${images["operator-bundle"].imageTag}"}
"image": {"data-index-ephemeral":"${images["data-index-ephemeral"].imageTag}","data-index-postgresql":"${images["data-index-postgresql"].imageTag}","jobs-service-ephemeral":"${images["jobs-service-ephemeral"].imageTag}","jobs-service-postgresql":"${images["jobs-service-postgresql"].imageTag}","swf-builder":"${images["swf-builder"].imageTag}","swf-devmode":"${images["swf-devmode"].imageTag}","management-console":"${images["management-console"].imageTag}","operator":"${images["operator"].imageTag}","operator-bundle":"${images["operator-bundle"].imageTag}","kn-workflow-cli-artifacts":"${images["kn-workflow-cli-artifacts"].imageTag}"}
}"""
}

Expand Down
Loading