Added appscale-agents installation
@@ -166,9 +166,14 @@ if [ ! -d appscale ]; then
# exists (Precise git will not fail otherwise).
git clone ${APPSCALE_REPO} appscale
(cd appscale; git checkout ${APPSCALE_BRANCH})
+
git clone ${APPSCALE_TOOLS_REPO} appscale-tools
(cd appscale-tools; git checkout ${APPSCALE_TOOLS_BRANCH})
+ git clone ${APPSCALE_AGENTS_REPO} appscale-agents
+ (cd appscale-agents; git checkout ${APPSCALE_AGENTS_BRANCH})
+
+
# Use tags if we specified it.
if [ -n "$GIT_TAG" ] && [ "${APPSCALE_BRANCH}" = "master" ]; then
if [ "$GIT_TAG" = "last" ]; then
@@ -176,6 +181,7 @@ if [ ! -d appscale ]; then
fi
(cd appscale; git checkout "$GIT_TAG")
(cd appscale-tools; git checkout "$GIT_TAG")
+ (cd appscale-agents; git checkout "$GIT_TAG")
fi
fi
@@ -210,6 +216,8 @@ if [ -d /etc/appscale/certs ]; then
# available tags first.
(cd appscale; git fetch ${APPSCALE_REPO} -t)
(cd appscale-tools; git fetch ${APPSCALE_TOOLS_REPO} -t)
+ (cd appscale-agents; git fetch ${APPSCALE_AGENTS_REPO} -t)
+
if [ "$GIT_TAG" = "last" ]; then
GIT_TAG="$(cd appscale; git tag | tail -n 1)"
# Make sure we have this tag in the official repo.
@@ -336,6 +344,12 @@ if ! (cd appscale/debian; bash appscale_build.sh) ; then
exit 1
fi
+echo -n "Installing AppScale Agents..."
+if ! (cd appscale-agents/; make install-no-venv) ; then
+ echo "Failed to install AppScale Agents"
+ exit 1
+fi
+
echo -n "Building AppScale Tools..."
if ! (cd appscale-tools/debian; bash appscale_build.sh) ; then
echo "failed!"
