Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
af86a43
SRE_3459 test a new branch in pipeline-lib
osalyk Nov 25, 2025
5160a58
use new parameter in Jenkinsfile
osalyk Nov 26, 2025
806d12f
ci: change OS version in unit tests
osalyk Nov 26, 2025
d3c99ee
update Jenkinsfile
osalyk Nov 26, 2025
e19a07d
change DISTRO version
osalyk Nov 27, 2025
5b561af
change the setting of the DISTRO variable in the required_packages.sh
osalyk Nov 28, 2025
ca98a23
bypass error unbound variable
osalyk Nov 28, 2025
31a7667
print image_version and distro
osalyk Nov 30, 2025
3963118
check DISTRO_VERSION variable
osalyk Dec 1, 2025
92ddf3d
check if distro is provided
osalyk Dec 1, 2025
79740e7
check if epel repository exist
osalyk Dec 1, 2025
7ad871e
remove print variable
osalyk Dec 1, 2025
75fdcff
restore the use of the distro variable
osalyk Dec 1, 2025
5139a4f
add fixes after review
osalyk Dec 3, 2025
2c73da6
use the selected branch
osalyk Dec 3, 2025
1deb842
print DISTRO variable
osalyk Dec 4, 2025
8d5b715
check first argument
osalyk Dec 4, 2025
4ccf464
restore the previous version
osalyk Dec 4, 2025
3de7857
test another way
osalyk Dec 4, 2025
51350f6
remove echo command
osalyk Dec 4, 2025
8bbbf34
remove image version from stage name
osalyk Dec 5, 2025
c97c080
test inst_rpms()
osalyk Dec 5, 2025
e0db5f0
update Jenkinsfile
osalyk Dec 5, 2025
80799ab
use config before step
osalyk Dec 5, 2025
8d4fcbf
change place
osalyk Dec 5, 2025
a4f1dc5
add script
osalyk Dec 5, 2025
43ee3c4
Run unitPackages with argument
osalyk Dec 5, 2025
21e4e6d
improve python version
osalyk Dec 5, 2025
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
23 changes: 14 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// To use a test branch (i.e. PR) until it lands to master
// I.e. for testing library changes
//@Library(value='pipeline-lib@your_branch') _
@Library(value='pipeline-lib@osalyk/SRE-3459') _

/* groovylint-disable-next-line CompileStatic */
job_status_internal = [:]
Expand Down Expand Up @@ -310,7 +311,7 @@ pipeline {
description: 'Continue testing if a previous stage is Unstable')
booleanParam(name: 'CI_UNIT_TEST',
defaultValue: true,
description: 'Run the Unit Test on EL 8 test stage')
description: 'Run the Unit Test on EL 9.5 test stage')
booleanParam(name: 'CI_NLT_TEST',
defaultValue: true,
description: 'Run the NLT test stage')
Expand Down Expand Up @@ -720,7 +721,7 @@ pipeline {
expression { !skipStage() }
}
parallel {
stage('Unit Test on EL 8.8') {
stage('Unit Test') {
when {
beforeAgent true
expression { !skipStage() }
Expand All @@ -729,11 +730,14 @@ pipeline {
label cachedCommitPragma(pragma: 'VM1-label', def_val: params.CI_UNIT_VM1_LABEL)
}
steps {
job_step_update(
unitTest(timeout_time: 60,
unstash_opt: true,
inst_repos: daosRepos(),
inst_rpms: unitPackages()))
job_step_update(
unitTest(timeout_time: 60,
unstash_opt: true,
inst_repos: daosRepos(),
inst_rpms: unitPackages([image_version: "el9"]),
image_version: 'el9.5',
)
)
}
post {
always {
Expand All @@ -742,7 +746,7 @@ pipeline {
}
}
}
stage('Unit Test bdev on EL 8.8') {
stage('Unit Test bdev') {
when {
beforeAgent true
expression { !skipStage() }
Expand All @@ -755,7 +759,8 @@ pipeline {
unitTest(timeout_time: 60,
unstash_opt: true,
inst_repos: daosRepos(),
inst_rpms: unitPackages()))
inst_rpms: unitPackages(),
image_version: 'el9.5'))
}
post {
always {
Expand Down
4 changes: 3 additions & 1 deletion ci/provisioning/post_provision_config_common_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ retry_dnf() {
if command -v dnf4; then
dnfx="dnf4"
fi
"$dnfx" config-manager --disable 'epel*' || true
if "$dnfx" repolist | grep -q '^epel'; then
"$dnfx" config-manager --disable 'epel*' || true
fi
fi
return 0
fi
Expand Down
2 changes: 1 addition & 1 deletion ci/provisioning/post_provision_config_nodes_EL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ distro_custom() {

# Use a more recent python version for unit testing, this allows us to also test installing
# pydaos into virtual environments.
dnf -y install python39 python39-devel
dnf -y install python3.9 python3.9-devel
dnf -y install python3.11 python3.11-devel
}

Expand Down
8 changes: 4 additions & 4 deletions ci/unit/required_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
set -eu

# No longer used but provided by pipeline-lib
# distro="$1"
# quick_build="${2:-false}"
# distro="$1"

OPENMPI_VER=""
PY_MINOR_VER=""

export DISTRO="el8" # should also work for el9
pkgs="$(utils/rpms/package_version.sh argobots lib) \
boost-python3$PY_MINOR_VER-devel \
export DISTRO="${1:-el8}"

pkgs="boost-python3$PY_MINOR_VER-devel \
capstone \
$(utils/rpms/package_version.sh argobots lib) \
$(utils/rpms/package_version.sh argobots debug) \
Expand Down
Loading