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

Try to clean up quarkus and main jobs #12

Merged
merged 3 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
56 changes: 19 additions & 37 deletions .ci/jenkins/config/branch.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
generation_config:
missing_environments: ignore

job_types:
setup_branch:
disabled: true
nightly:
disabled: false
other:
disabled: true
pullrequest:
disabled: false
release:
disabled: true
tools:
disabled: true

environments:
native:
env_vars:
Expand All @@ -6,47 +23,12 @@ environments:
ADDITIONAL_TIMEOUT: 720
ids:
- native
native-lts:
env_vars:
NATIVE: true
BUILD_MVN_OPTS: -Dproductized -Ddata-index-ephemeral.image=quay.io/kiegroup/kogito-data-index-ephemeral
BUILD_MVN_OPTS_CURRENT: -Dnative -Dquarkus.native.container-build=true
QUARKUS_BRANCH: '2.13'
ADDITIONAL_TIMEOUT: 720
BUILD_ENVIRONMENT: quarkus-lts
ids:
- native
- prod
- lts
quarkus-main:
enabled: false
env_vars:
QUARKUS_BRANCH: main
ids:
- quarkus
quarkus-branch:
env_vars:
QUARKUS_BRANCH: '2.16'
ids:
- quarkus
quarkus-3:
pull_request_default_check: false
env_vars:
BUILD_MAVEN_TOOL: kie-maven-3.9.1
BUILD_JDK_TOOL: kie-jdk17
BUILD_MVN_OPTS: -Denforcer.skip
ids:
- quarkus
- quarkus3
quarkus-lts:
pull_request_default_check: false
env_vars:
BUILD_MVN_OPTS: -Dproductized -Ddata-index-ephemeral.image=quay.io/kiegroup/kogito-data-index-ephemeral
QUARKUS_BRANCH: '2.13'
ids:
- quarkus
- lts
- prod
sonarcloud:
enabled: false
auto_generation: false
Expand Down Expand Up @@ -127,7 +109,7 @@ cloud:
jenkins:
email_creds_id: KOGITO_CI_EMAIL_TO
default_tools:
jdk: kie-jdk11
maven: kie-maven-3.8.7
jdk: kie-jdk17
maven: kie-maven-3.9.3
sonar_jdk: kie-jdk17
jobs_definition_file: .ci/jenkins/dsl/jobs.groovy
34 changes: 0 additions & 34 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,49 +13,15 @@ boolean isMainStream() {

// Tools
setupUpdateJenkinsDependenciesJob()
if (isMainStream()) {
setupCreateIssueToolsJob()
setupCleanOldNamespacesToolsJob()
setupCleanOldNightlyImagesToolsJob()

KogitoJobUtils.createQuarkusPlatformUpdateToolsJob(this, 'kogito')
if (Utils.isMainBranch(this)) {
setupBuildOperatorNode()
}

KogitoJobUtils.createMainQuarkusUpdateToolsJob(this,
[ 'kogito-runtimes', 'kogito-examples', 'kogito-docs', 'kogito-images' ],
[ 'radtriste', 'cristianonicolai' ]
)
}

// Setup branch branch
createSetupBranchJob()
if (isMainStream()) {
createSetupBranchCloudJob()
}

// Nightly
setupNightlyJob()
setupQuarkusPlatformJob(JobType.NIGHTLY)
if (isMainStream()) {
setupNightlyCloudJob()
setupQuarkus3NightlyJob()
}

KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-main')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-lts')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-branch')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'native-lts')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-3', []) { script ->
def jobParams = JobParamsUtils.DEFAULT_PARAMS_GETTER(script)
jobParams.env.put('INTEGRATION_BRANCH_CURRENT', '2.x')
return jobParams
}

// Release
setupReleaseArtifactsJob()
setupReleaseCloudJob()

/////////////////////////////////////////////////////////////////
// Methods
Expand Down
Loading