Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
CentOS 7.5 and Lustre 2.10.4 (#603)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
  • Loading branch information
brianjmurrell authored and Joe Grund committed May 22, 2018
1 parent 6267ff7 commit 1f7683c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
2 changes: 1 addition & 1 deletion chroma-bundles/install
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _check_platform():
SUPPORTED_DISTROS = ['redhat', 'centos']
# Keep the version locked down for now -- if we can go with a minimum
# version that'd be better, but we can't assume (c.f. pacemaker).
SUPPORTED_VERSIONS = ['7.1', '7.1.1503', '7.2', '7.2.1511', '7.3', '7.3.1611', '7.4', '7.4.1708', '7.5']
SUPPORTED_VERSIONS = ['7.1', '7.1.1503', '7.2', '7.2.1511', '7.3', '7.3.1611', '7.4', '7.4.1708', '7.5', '7.5.1804']
# This will work assuming we have version parity across all supported
# distributions.
SUPPORTED_PLATFORMS = ["%s-%s-%s" % p for p in itertools.product(SUPPORTED_DISTROS, SUPPORTED_VERSIONS, SUPPORTED_ARCHES)]
Expand Down
4 changes: 2 additions & 2 deletions chroma-manager/storage_server.repo
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ enabled_metadata=1

[lustre]
name=Lustre Server
baseurl=https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/el7/server/
baseurl=https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.4/el7/server/
enabled=1
gpgcheck=0

[lustre-client]
name=Lustre Client
baseurl=https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/el7/client/
baseurl=https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.4/el7/client/
enabled=1
gpgcheck=0

Expand Down
34 changes: 25 additions & 9 deletions chroma-manager/tests/framework/utils/defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ set_distro_vars() {
else
export TEST_DISTRO_VERSION=${TEST_DISTRO_VERSION:-"7.4"}
fi
export UPGRADE_DISTRO_VERSION=${UPGRADE_DISTRO_VERSION:-"7.4"}
export UPGRADE_DISTRO_VERSION=${UPGRADE_DISTRO_VERSION:-"7.5"}
else
export TEST_DISTRO_VERSION=${TEST_DISTRO_VERSION:-"7.4"}
export TEST_DISTRO_VERSION=${TEST_DISTRO_VERSION:-"7.5"}
fi
else
if ${upgrade_test}; then
Expand Down Expand Up @@ -111,16 +111,32 @@ set_defaults() {

export COPR_OWNER="managerforlustre"
export COPR_PROJECT="manager-for-lustre"
#LUSTRE_REVIEW_BUILD="12345"

# to build a job from a jenkins branch
#JENKINS_JOB=lustre-b2_10
#JENKINS_BUILD=111
# or to just build the latest from that branch
#JENKINS_BUILD=lastSuccessfulBuild
# or to build a Lustre Review job:
#LUSTRE_REVIEW_BUILD="56451"
# or build a GA release
LUSTRE_VERSION=2.10.4

if [ -n "$LUSTRE_REVIEW_BUILD" ]; then
BASE_URL="https://build.whamcloud.com/jobs-pub/lustre-reviews/configurations/axis-arch/\\\$basearch/axis-build_type"
export LUSTRE_SERVER_URL="$BASE_URL/server/axis-distro/el7/axis-ib_stack/inkernel/builds/$LUSTRE_REVIEW_BUILD/archive/artifacts/"
export LUSTRE_CLIENT_URL="$BASE_URL/client/axis-distro/el7/axis-ib_stack/inkernel/builds/$LUSTRE_REVIEW_BUILD/archive/artifacts/"
JENKINS_JOB="lustre-reviews"
JENKINS_BUILD="$LUSTRE_REVIEW_BUILD"
fi
if [ -n "$JENKINS_JOB" ]; then
BASE_URL="https://build.whamcloud.com/jobs-pub/$JENKINS_JOB/configurations/axis-arch/\\\$basearch/axis-build_type/@CLIENT_OR_SERVER@/axis-distro/el7/axis-ib_stack/inkernel/builds/$JENKINS_BUILD/archive/artifacts/"
elif [ -n "$LUSTRE_VERSION" ]; then
# To use a GA release of Lustre:
BASE_URL="https://downloads.hpdd.intel.com/public/lustre/lustre-$LUSTRE_VERSION/el7/@CLIENT_OR_SERVER@"
else
BASE_URL="https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/el7/"
export LUSTRE_SERVER_URL="$BASE_URL/server/"
export LUSTRE_CLIENT_URL="$BASE_URL/client/"
echo "I don't know which Lustre you want to use. Bailing."
exit 1
fi
export LUSTRE_SERVER_URL="${BASE_URL//@CLIENT_OR_SERVER@/server}"
export LUSTRE_CLIENT_URL="${BASE_URL//@CLIENT_OR_SERVER@/client}"
LUSTRE_SERVER_REPO_FILE="/etc/yum.repos.d/$(echo "$LUSTRE_SERVER_URL" | sed -e 's/^.*:\/\///' -e 's/\/\/*/_/g').repo"
LUSTRE_CLIENT_REPO_FILE="/etc/yum.repos.d/$(echo "$LUSTRE_CLIENT_URL" | sed -e 's/^.*:\/\///' -e 's/\/\/*/_/g').repo"
export LUSTRE_SERVER_REPO_FILE LUSTRE_CLIENT_REPO_FILE
Expand Down

0 comments on commit 1f7683c

Please sign in to comment.