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

DAOS-16500 build: Add support for Leap 15.6 #450

Merged
merged 3 commits into from
Dec 19, 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
14 changes: 7 additions & 7 deletions vars/distroVersion.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ String call(String distro, String branch) {
'2.6': '8.8'],
'el9': ['master': '9.2',
'2.6': '9.2'],
'leap15': ['master': '15.5',
'2.4': '15.5',
'2.6': '15.5'],
'leap15': ['master': '15.6',
'2.4': '15.6',
'2.6': '15.6'],
'ubuntu20': ['master': '20.04']][distro][branch]
}

/* groovylint-disable-next-line CompileStatic */
assert(call('leap15', '2.4') == '15.5')
assert(call('leap15', '2.6') == '15.5')
assert(call('leap15', 'master') == '15.5')
assert(call('leap15', '2.4') == '15.6')
assert(call('leap15', '2.6') == '15.6')
assert(call('leap15', 'master') == '15.6')
assert(call('el8', '2.4') == '8.8')
assert(call('el8', '2.6') == '8.8')
assert(call('el8', 'master') == '8.8')
Expand Down Expand Up @@ -76,6 +76,6 @@ String releaseBranch() {
return 'release/2.4'
}

assert(call('leap15') == '15.5')
assert(call('leap15') == '15.6')
assert(call('el8') == '8.8')
*/
6 changes: 3 additions & 3 deletions vars/getChrootName.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// vars/getChrootName.groovy

/**
* getChrooName.groovy
* getChrootName.groovy
*
* getChrooName variable
* getChrootName variable
*/


Expand All @@ -14,7 +14,7 @@ String call(String distro) {

return[ 'centos7': 'centos+epel-7-x86_64',
'el8': 'rocky+epel-8-x86_64',
'leap15': 'opensuse-leap-15.3-x86_64',
'leap15': 'opensuse-leap-15.5-x86_64',
'ubuntu2004': ''][distro]

}
2 changes: 1 addition & 1 deletion vars/packageBuildingPipelineDAOSTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ void call(Map pipeline_args) {
archiveArtifacts artifacts: 'artifacts/leap15/**'
}
}
} //stage('Build RPM on Leap 15')
} //stage('Build RPM on Leap 15.5')
stage('Build DEB on Ubuntu 20.04') {
when {
beforeAgent true
Expand Down
4 changes: 4 additions & 0 deletions vars/parseStageInfo.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ Map call(Map config = [:]) {
result['target'] = 'leap15'
result['distro_version'] = cachedCommitPragma('LEAP15-version', '15.5')
new_ci_target = cachedCommitPragma('LEAP15-target', result['target'])
} else if (stage_name.contains('Leap 15.6')) {
result['target'] = 'leap15'
result['distro_version'] = cachedCommitPragma('LEAP15-version', '15.6')
new_ci_target = cachedCommitPragma('LEAP15-target', result['target'])
} else if (stage_name.contains('Leap 15')) {
result['target'] = 'leap15'
result['distro_version'] = cachedCommitPragma('LEAP15-version',
Expand Down
16 changes: 12 additions & 4 deletions vars/skipStage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ boolean call(Map config = [:]) {
case 'Build RPM on Leap 15':
case 'Build RPM on Leap 15.4':
case 'Build RPM on Leap 15.5':
case 'Build RPM on Leap 15.6':
return paramsValue('CI_RPM_leap15_NOBUILD', false) ||
target_branch =~ branchTypeRE('weekly') ||
(docOnlyChange(target_branch) &&
Expand Down Expand Up @@ -303,6 +304,7 @@ boolean call(Map config = [:]) {
case 'Build on Leap 15 with Clang':
case 'Build on Leap 15.4 with Clang':
case 'Build on Leap 15.5 with Clang':
case 'Build on Leap 15.6 with Clang':
return paramsValue('CI_BUILD_PACKAGES_ONLY', false) ||
skip_build_on_landing_branch(target_branch) ||
(docOnlyChange(target_branch) &&
Expand All @@ -325,6 +327,7 @@ boolean call(Map config = [:]) {
case 'Build on Leap 15':
case 'Build on Leap 15.4':
case 'Build on Leap 15.5':
case 'Build on Leap 15.6':
return paramsValue('CI_BUILD_PACKAGES_ONLY', false) ||
skip_stage_pragma('build-leap15-gcc') ||
(docOnlyChange(target_branch) &&
Expand All @@ -333,6 +336,7 @@ boolean call(Map config = [:]) {
case 'Build on Leap 15 with Intel-C and TARGET_PREFIX':
case 'Build on Leap 15.4 with Intel-C and TARGET_PREFIX':
case 'Build on Leap 15.5 with Intel-C and TARGET_PREFIX':
case 'Build on Leap 15.6 with Intel-C and TARGET_PREFIX':
return paramsValue('CI_BUILD_PACKAGES_ONLY', false) ||
target_branch =~ branchTypeRE('weekly') ||
skip_stage_pragma('build-leap15-icc') ||
Expand Down Expand Up @@ -422,6 +426,7 @@ boolean call(Map config = [:]) {
case 'Functional on Leap 15':
case 'Functional on Leap 15.4':
case 'Functional on Leap 15.5':
case 'Functional on Leap 15.6':
return skip_ftest('leap15', target_branch, tags)
case 'Functional on Ubuntu 20.04':
/* we don't do any testing on Ubuntu yet
Expand Down Expand Up @@ -508,16 +513,18 @@ boolean call(Map config = [:]) {
skip_stage_pragma('test-leap-15-rpms', 'true') ||
stageAlreadyPassed()
case 'Test RPMs on Leap 15.4':
return !paramsValue('CI_RPMS_leap15.4_TEST', true) ||
case 'Test RPMs on Leap 15.5':
case 'Test RPMs on Leap 15.6':
return !paramsValue('CI_RPMS_leap15_TEST', true) ||
target_branch =~ branchTypeRE('weekly') ||
skip_stage_pragma('build-leap15-rpm') ||
skip_stage_pragma('test') ||
skip_stage_pragma('test-rpms') ||
skip_stage_pragma('test-leap-15.4-rpms', 'true') ||
skip_stage_pragma('test-leap-15-rpms', 'true') ||
docOnlyChange(target_branch) ||
(quickFunctional() &&
!paramsValue('CI_RPMS_leap15_4_TEST', true) &&
!run_default_skipped_stage('test-leap-15.4-rpms')) ||
!paramsValue('CI_RPMS_leap15_TEST', true) &&
!run_default_skipped_stage('test-leap-15-rpms')) ||
(rpmTestVersion() != '') ||
stageAlreadyPassed()
case 'Test Packages':
Expand All @@ -530,6 +537,7 @@ boolean call(Map config = [:]) {
case 'Scan Leap 15 RPMs':
case 'Scan Leap 15.4 RPMs':
case 'Scan Leap 15.5 RPMs':
case 'Scan Leap 15.6 RPMs':
return skip_scan_rpms('leap15', target_branch)
case 'Test Hardware':
return env.NO_CI_TESTING == 'true' ||
Expand Down