2022-08-22 16:17:19 +02:00
|
|
|
pipelineJob('ocp-cluster-deployment') {
|
|
|
|
displayName('OCP on AWS deployment')
|
|
|
|
description('Deploys/Removes Debezium OCP on AWS EC2 cloud using OSIA')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
|
|
|
logRotator {
|
|
|
|
numToKeep(10)
|
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
|
|
|
stringParam('CLUSTER_NAME', 'cluster', 'Name of OCP cluster')
|
|
|
|
stringParam('INSTALLER_VERSION', 'latest-4.10', 'Version of OCP installer')
|
2022-11-24 12:35:10 +01:00
|
|
|
stringParam('CLOUD', 'openstack', 'Cloud')
|
2022-08-22 16:17:19 +02:00
|
|
|
booleanParam('REMOVE_CLUSTER', false, 'If true, instead of cluster deployment removes said cluster')
|
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
2022-10-18 14:53:03 +02:00
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/cluster_deployment_pipeline.groovy'))
|
2022-08-22 16:17:19 +02:00
|
|
|
sandbox()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|