Skip to content

Commit

Permalink
[BXMSPROD-2209] move productization jobs and seed jobs to use rhel8 (#…
Browse files Browse the repository at this point in the history
…1561)

* [BXMSPROD-2209] move productization jobs to use rhel8

* update seed jobs to use rhel8
  • Loading branch information
rgdoliveira authored Aug 30, 2024
1 parent e0fa918 commit e384060
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion job-dsls/jobs/osbs/kogito_osbs_build_pipeline.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
}

agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/osbs/osbs_build_pipeline.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
}

agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/prod/prod_cron_meta_nightly_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.kie.jenkins.jobdsl.Constants

def javadk=Constants.JDK_TOOL
def AGENT_LABEL="kie-rhel && kie-mem512m"
def AGENT_LABEL="kie-rhel8 && kie-mem4g"

def NEXT_PRODUCT_VERSION=Constants.NEXT_PROD_VERSION

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.kie.jenkins.jobdsl.Constants

def javadk=Constants.JDK_TOOL
def AGENT_LABEL="kie-rhel && kie-mem512m"
def AGENT_LABEL="kie-rhel8 && kie-mem4g"

def NEXT_PRODUCT_VERSION=Constants.NEXT_PROD_VERSION
def NEXT_PRODUCT_BRANCH='7.67.x'
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/prod/prod_replace_shared_libraries.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def replaceShared = '''
pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}
options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/prod/prod_rhba_prod_branch.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def newBranch = '''
pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}
options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/prod/prod_rhba_replace_version.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def prodVersion = '''
pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}
tools {
maven 'kie-maven-3.8.1'
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/prod/prod_shared_libraries_new_branch.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def newShared = '''
pipeline {
agent {
label 'kie-rhel7 && kie-mem4g'
label 'kie-rhel8 && kie-mem4g'
}
tools {
maven 'kie-maven-3.8.1'
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/seed_jobs/kie_seed_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ job("${folderPath}/a-seed-job-${baseBranch}") {

description("this job creates all needed Jenkins jobs for the ${baseBranch}-branch ")

label("kie-rhel7 && kie-mem8g && !built-in")
label("kie-rhel8 && kie-mem8g && !built-in")

logRotator {
numToKeep(10)
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/seed_jobs/kie_tools_seed_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ job("${folderPath}/a-seed-job-kie-tools") {

description("this job creates all needed Jenkins jobs in kie-tools folder ")

label("kie-rhel7 && kie-mem8g && !built-in")
label("kie-rhel8 && kie-mem8g && !built-in")

logRotator {
numToKeep(10)
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/seed_jobs/kogito_tools_seed_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ job("${folderPath}/a-seed-job-kie-tools") {

description("this job creates needed Jenkins job for kie-tools in kogito folder")

label("kie-rhel7 && kie-mem8g && !built-in")
label("kie-rhel8 && kie-mem8g && !built-in")

logRotator {
numToKeep(10)
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/seed_jobs/osbs_seed_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ job("${folderPath}/a-seed-job-OSBS") {

description("this job creates all needed Jenkins jobs in OSBS folder ")

label("kie-rhel7 && kie-mem8g && !built-in")
label("kie-rhel8 && kie-mem8g && !built-in")

logRotator {
numToKeep(10)
Expand Down
2 changes: 1 addition & 1 deletion job-dsls/jobs/seed_jobs/prod_seed_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ job("${folderPath}/a-seed-job-prod") {

description("this job creates all needed Jenkins jobs for the jobs in PROD ")

label("kie-rhel7 && kie-mem8g && !built-in")
label("kie-rhel8 && kie-mem8g && !built-in")

logRotator {
numToKeep(10)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@Library('jenkins-pipeline-shared-libraries')_

agentLabel = "${env.ADDITIONAL_LABEL?.trim() ? ADDITIONAL_LABEL : 'kie-rhel7-pipeline'} && !built-in"
agentLabel = "${env.ADDITIONAL_LABEL?.trim() ? ADDITIONAL_LABEL : 'kie-rhel8-pipeline'} && !built-in"
additionalTimeout = "${env.ADDITIONAL_TIMEOUT?.trim() ?: 10}"
certFileGlobalVariableName = "${env.CERT_FILE_GLOBAL_VARIABLE_NAME?.trim() ?: 'JENKINS_CERT_FILE_PATH'}"
githubCredentialsId = "${env.GITHUB_CREDENTIALS_ID?.trim() ?: 'kie-ci'}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def artifacts = [

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def artifacts = [

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ STAGING_BASE_PATH = "${RCM_GUEST_FOLDER}"
MILESTONE = MILESTONE.trim()
RCM_HOST = RCM_HOST.trim()

node('kie-rhel7-pipeline && !built-in') {
node('kie-rhel8-pipeline && !built-in') {
def projects = [
[
name: "kiegroup/rhba",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def artifacts = [

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def milestone = ""

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}
stages {
stage('Print variables') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ localNexusRepositoryId = "${env.LOCAL_NEXUS_REPOSITORY_ID?.trim() ? LOCAL_NEXUS_

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

tools {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def artifacts = [

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ STAGING_BASE_PATH = "${RCM_GUEST_FOLDER}"
MILESTONE = MILESTONE.trim()
RCM_HOST = RCM_HOST.trim()

node('kie-rhel7-pipeline && !built-in') {
node('kie-rhel8-pipeline && !built-in') {
def projects = [
[
name: "kiegroup/rhba",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def artifacts = [

pipeline {
agent {
label 'kie-rhel7 && !built-in'
label 'kie-rhel8 && !built-in'
}

environment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def milestone = ""

pipeline {
agent{
label 'kie-rhel7 && !master'
label 'kie-rhel8 && !built-in'
}
stages{
stage('Print variables') {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@Library('jenkins-pipeline-shared-libraries')_

node('kie-rhel7-pipeline && !built-in') {
node('kie-rhel8-pipeline && !built-in') {
stage('Print variables') {
println "[INFO] PRODUCT_NAME: ${PRODUCT_NAME}"
println "[INFO] PRODUCT_VERSION: ${PRODUCT_VERSION}"
Expand Down

0 comments on commit e384060

Please sign in to comment.