NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
BRANCH=`branch_slash_filter ${GIT_BRANCH}`
SHA1=${GIT_COMMIT}
-create_build_status "queued" "ceph"
+update_build_status "queued" "ceph"
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
pkgs=( "chacractl>=0.0.21" )
TEMPVENV=$(create_venv_dir)
BRANCH=`branch_slash_filter ${GIT_BRANCH}`
SHA1=${GIT_COMMIT}
-create_build_status "queued" "ceph"
+update_build_status "queued" "ceph"
BRANCH=`branch_slash_filter ${GIT_BRANCH}`
SHA1=${GIT_COMMIT}
-create_build_status "queued" "ceph"
+update_build_status "queued" "ceph"
export SHA1="${GIT_COMMIT}"
# create build status in shaman
-create_build_status "started" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH
+update_build_status "started" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
cd $WORKSPACE/nfs-ganesha-debian
git checkout ${NFS_GANESHA_DEBIAN_BRANCH}
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
cd $WORKSPACE/nfs-ganesha
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
## Setup the pbuilder
setup_pbuilder use_gcc
NORMAL_ARCH=$ARCH
# create build status in shaman
-create_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
+update_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
cd $WORKSPACE/nfs-ganesha
update_build_status() {
- # A proxy script to PUT (update) the status of a build in shaman
- # 'state' can be either of: 'started', 'completed', or 'failed'
- # 'project' is used to post to the right url in shaman
-
- # required
- state=$1
- project=$2
-
- # optional
- distro=$3
- distro_version=$4
- distro_arch=$5
-
- submit_build_status "POST" $state $project $distro $distro_version $distro_arch
-}
-
-
-create_build_status() {
- # A proxy script to POST (create) the status of a build in shaman for
- # a normal/initial build
+ # A proxy script to PUT (create or update) the status of a build
+ # in shaman for a normal/initial build
# 'state' can be either of: 'started', 'completed', or 'failed'
# 'project' is used to post to the right url in shaman