esac
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd $WORKSPACE/docs/
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# trims leading slashes
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
# Chacra time
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
# must pin urllib3 to 1.22 because 1.23 is incompatible with requests, which
# is used by jenkins-job-builder
pkgs=( "ansible" "jenkins-job-builder>=3.5.0" "urllib3==1.22" "pyopenssl" "ndg-httpsclient" "pyasn1" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
chacra_url=https://chacra.ceph.com/
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the .chacractl config file using global variables
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
fi
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the docs build with tox
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# run ansible to do all the tagging and release specifying
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd "$WORKSPACE/ceph-iscsi-cli"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd "$WORKSPACE/ceph-iscsi-config"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
chacra_url="https://chacra.ceph.com/"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd "$WORKSPACE/ceph-iscsi"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# trims leading slashes
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
sudo yum install -y epel-release
# Chacra time
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
make_chacractl_config
# Chacra time
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
WORKDIR=$(mktemp -td tox.XXXXXXXXXX)
# the following two methods exist in scripts/build_utils.sh
pkgs=( "pytest" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd "$WORKSPACE"
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
rm -rf RPMBUILD
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the .chacractl config file using global variables
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# run ansible to do all the tagging and release specifying
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" "github-status>0.0.3" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
GITHUB_STATUS_STATE="pending" $VENV/github-status create
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" "github-status>0.0.3" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
GITHUB_STATUS_STATE="failure" $VENV/github-status create
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
prune_stale_vagrant_vms $WORKSPACE/../**/tests
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" "github-status>0.0.3")
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd src/ceph-volume
# the following two methods exist in scripts/build_utils.sh
pkgs=( "github-status>0.0.3" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
GITHUB_STATUS_STATE="failure" $VENV/github-status create
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# XXX this might not be needed
fi
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the .chacractl config file using global variables
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# run ansible to get this current host to meet our requirements, specifying
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
esac
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "jenkins-job-builder>=3.5.0" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]" latest
# Wipe out JJB's cache if $FORCE is set.
esac
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# run tox by recreating the environment and in verbose mode
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
cd "$WORKSPACE/deploy/playbooks/"
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
NFS_GANESHA_BRANCH=`branch_slash_filter $NFS_GANESHA_BRANCH`
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
NFS_GANESHA_BRANCH=`branch_slash_filter $NFS_GANESHA_BRANCH`
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
sudo yum install -y epel-release
# the following two methods exist in scripts/build_utils.sh
pkgs=( "ansible" "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# the following two methods exist in scripts/build_utils.sh
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the .chacractl config file using global variables
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
SAMBA_BRANCH=$(branch_slash_filter $SAMBA_BRANCH)
set -ex
-TEMPVENV=$(mktemp -td venv.XXXXXXXXXX)
-VENV="$TEMPVENV/bin"
+function create_venv_dir() {
+ local venv_dir
+ venv_dir=$(mktemp -td venv.XXXXXXXXXX)
+ trap "rm -rf ${venv_dir}" EXIT
+ echo "${venv_dir}"
+}
function release_from_version() {
local ver=$1
export LC_ALL=C # the following is vulnerable to i18n
pkgs=( "chacractl>=0.0.21" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# ask shaman which chacra instance to use
# the following two methods exist in scripts/build_utils.sh
pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
# create the docs build with tox