also remove centos7 builds
Signed-off-by: Dan Mick <dmick@redhat.com>
cd $WORKSPACE
# This will set the DISTRO and MOCK_TARGET variables.
-#get_distro_and_target
-# I could not get that function to work so I'm hardcoding these vars.
-DISTRO="centos"
-MOCK_TARGET="epel"
+get_distro_and_target
+echo "DISTRO: $DISTRO MOCK_TARGET: $MOCK_TARGET"
# Make sure the dist directory is clean
rm -rf dist
- string:
name: CEPH_ISCSI_BRANCH
description: "The git branch (or tag) to build"
- default: "3.5"
+ default: "3.6"
- string:
name: CEPH_ISCSI_TOOLS_BRANCH
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos7 centos8"
- default: "centos7 centos8"
+ description: "A list of distros to build for. Available options are: centos8 centos9"
+ default: "centos8 centos9"
- string:
name: ARCHS
execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["centos7", "centos8"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["centos8"].contains(DIST)))
axes:
- axis:
type: label-expression
type: label-expression
name: AVAILABLE_DIST
values:
- - centos7
- centos8
+ - centos9
- axis:
type: dynamic
name: DIST