Skip to content

Commit

Permalink
BXMSPROD-2211 removing prod kogito images nightlies (#1571)
Browse files Browse the repository at this point in the history
* BXMSPROD-2211 removing prod kogito nightly

https://issues.redhat.com/browse/BXMSPROD-2211

* removed all kogito BAMOE pipelines/properties

* re-added a property mistakenly removed

* re-added a property mistakenly removed

* BXMSPROD-2212: disable Kogito RHPAM images jobs/pipelines

* renamed kie-tools to tools-kie-ci as to not confuse with kie-tools repository

* removed also KogitoNightly
  • Loading branch information
mareknovotny authored Nov 20, 2024
1 parent ab0bc23 commit acb2807
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 760 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Creates job that triggers when a new `<MAJOR>-<MINOR>-<PATCH>-prerelease` branch is
pushed to kie-tools repository and notifies QE of this by sending and UMB message.
*/
import org.kie.jenkins.jobdsl.Constants
def repo = "kie-tools"
Expand Down Expand Up @@ -118,3 +117,4 @@ job(jobName) {
}
}
}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pipeline{
"""
// creates folder if is not existing
folder("KIE")
folder("KIE/kie-tools")
def folderPath="KIE/kie-tools"
folder("KIE/tools-kie-ci")
def folderPath="KIE/tools-kie-ci"

pipelineJob("${folderPath}/kieAll_meta_pipeline") {

Expand Down
221 changes: 0 additions & 221 deletions job-dsls/jobs/osbs/bamoe_kogito_images_osbs_seed_cloud_jobs.groovy

This file was deleted.

12 changes: 3 additions & 9 deletions job-dsls/jobs/osbs/bamoe_operators_osbs_seed_cloud_jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ def folderPath = 'OSBS/bamoe-operators'
folder('OSBS')
folder('OSBS/bamoe-operators')
// Job Description
String jobDescription = 'Job responsible for seed jobs to building bamoe ba and kogito operator images'
String jobDescription = 'Job responsible for seed jobs to building bamoe ba'

//Define Variables
def prodComponent = [
'bamoe-ba-operator', 'bamoe-kogito-operator']
'bamoe-ba-operator']

def buildDate = Constants.BUILD_DATE
def prodVersion = Constants.BAMOE_NEXT_PROD_VERSION
Expand All @@ -29,7 +29,6 @@ def cekitCacheLocal = Constants.CEKIT_CACHE_LOCAL
def verbose = Constants.VERBOSE
def githubOrgUnit = Constants.GITHUB_ORG_UNIT
def bamoeBAOperatorBranch = Constants.BAMOE_BA_OPERTOR_BRANCH
def bamoeKogitoOperatorBranch = Constants.BAMOE_KOGITO_OPERTOR_BRANCH
def bamoeBAOperatorCekitOSBSSubdir = Constants.BAMOE_BA_OPERTOR_CEKIT_OSBS_SUBDIR


Expand All @@ -56,7 +55,6 @@ prodComponent.each { Component ->
stringParam('VERBOSE', "${verbose}")
stringParam('GITHUB_ORG_UNIT', "${githubOrgUnit}")
stringParam('BAMOE_BA_OPERTOR_BRANCH', "${bamoeBAOperatorBranch}")
stringParam('BAMOE_KOGITO_OPERTOR_BRANCH', "${bamoeKogitoOperatorBranch}")
stringParam('CEKIT_OSBS_SUBDIR', "${bamoeBAOperatorCekitOSBSSubdir}")
}

Expand Down Expand Up @@ -156,8 +154,6 @@ prodComponent.each { Component ->
switch(prodComponent){
case { it.endsWith('ba-operator') }:
return 'kie-cloud-operator'
case { it.endsWith('kogito-operator') }:
return 'kogito-operator'
default:
error "${prodComponent} not supported."
}
Expand All @@ -169,8 +165,6 @@ prodComponent.each { Component ->
switch(prodComponent){
case { it.startsWith('bamoe-ba') }:
return BAMOE_BA_OPERTOR_BRANCH
case { it.startsWith('bamoe-kogito') }:
return BAMOE_KOGITO_OPERTOR_BRANCH
default:
error "${prodComponent} not supported."
}
Expand Down Expand Up @@ -249,4 +243,4 @@ prodComponent.each { Component ->
}
}
}
}
}
6 changes: 5 additions & 1 deletion job-dsls/jobs/osbs/kogito_osbs_build_pipeline_jobdsl.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
COMMENTING THIS TO DISABLE/REMOVE THIS JOB
import org.kie.jenkins.jobdsl.Constants
def folderPath = 'OSBS'
Expand Down Expand Up @@ -92,4 +95,5 @@ String getBlueSuffix(String version, String separator) {
boolean isMainBranchVersion(String version) {
return [Constants.MAIN_BRANCH_PROD_VERSION, Constants.KOGITO_MAIN_BRANCH_PROD_VERSION, Constants.RHBOP_MAIN_BRANCH_PROD_VERSION].contains(version)
}
}
*/
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
COMMENTING THIS TO DISABLE/REMOVE THIS JOB for RHPAM
package osbs
import org.kie.jenkins.jobdsl.Constants
Expand Down Expand Up @@ -218,4 +221,5 @@ prodComponent.each { Component ->
}
}
}
}
}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ def folderPath = 'OSBS/rhpam-operators'
folder('OSBS')
folder('OSBS/rhpam-operators')
// Job Description
String jobDescription = 'Job responsible for seed jobs to building rhpam and kogito operator images'
String jobDescription = 'Job responsible for seed jobs to building rhpam images'

//Define Variables
def prodComponent = [
'rhpam-ba-operator', 'rhpam-kogito-operator']
'rhpam-ba-operator']

def buildDate = Constants.BUILD_DATE
def prodVersion = Constants.NEXT_PROD_VERSION
Expand Down Expand Up @@ -52,7 +52,6 @@ prodComponent.each { Component ->
stringParam('CEKIT_CACHE_LOCAL', "${cekitCacheLocal}")
stringParam('VERBOSE', "${verbose}")
stringParam('GITHUB_ORG_UNIT', "${githubOrgUnit}")
stringParam('RHPAM_KOGITO_OPERTOR_BRANCH', "${rhpamKogitoOperatorBranch}")
stringParam('CEKIT_OSBS_SUBDIR', "${rhpamBAOperatorCekitOSBSSubdir}")
}

Expand Down Expand Up @@ -151,8 +150,6 @@ prodComponent.each { Component ->
switch(prodComponent){
case { it.endsWith('ba-operator') }:
return 'kie-cloud-operator'
case { it.endsWith('kogito-operator') }:
return 'kogito-operator'
default:
error "${prodComponent} not supported."
}
Expand All @@ -164,8 +161,6 @@ prodComponent.each { Component ->
switch(prodComponent){
case { it.startsWith('rhpam-ba') }:
return 'main'
case { it.startsWith('rhpam-kogito') }:
return RHPAM_KOGITO_OPERTOR_BRANCH
default:
error "${prodComponent} not supported."
}
Expand Down
Loading

0 comments on commit acb2807

Please sign in to comment.