echo Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacra_endpoint}
fi
+
+# update shaman with the completed build status
+update_build_status "completed" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH
echo Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacra_endpoint}
fi
+
+# update shaman with the completed build status
+update_build_status "completed" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH
$SUDO yum install -y redhat-lsb-core
$SUDO yum install -y elfutils-libelf-devel # for ORC unwinder
$SUDO yum install -y flex bison # for Kconfig
+
+ # Set vars for shaman status updating
+ get_rpm_dist
+ NORMAL_DISTRO=$DISTRO
+ NORMAL_DISTRO_VERSION=$DISTRO_VERSION
fi
if which apt-get > /dev/null ; then
$SUDO apt-get install -y lsb-release
$SUDO apt-get install -y libelf-dev # for ORC unwinder
$SUDO apt-get install -y flex bison # for Kconfig
+
+ # Set vars for shaman status updating
+ DISTRO=$(lsb_release -si)
+ NORMAL_DISTRO=${DISTRO,,}
+ NORMAL_DISTRO_VERSION=$AVAILABLE_DIST
fi
case $(lsb_release -si) in
# Clean the git repo
git clean -fxd
+
+# create build status in shaman
+create_build_status "started" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH