[ci] pin to last working version of ha backend
@@ -63,6 +63,8 @@ systemctl start hab-sup.service
echo "Installing HA Backend Habitat packages"
channel="unstable"
+version="0.1.150"
+
PG_PKG_NAME="automate-backend-postgresql"
postgresql_pkg_ident="chef/$PG_PKG_NAME"
PGLEADERCHK_PKG_NAME="automate-backend-pgleaderchk"
@@ -70,11 +72,15 @@ pgleaderchk_pkg_ident="chef/$PGLEADERCHK_PKG_NAME"
proxy_pkg_ident="chef/automate-backend-haproxy"
ELASTICSEARCH_PKG_NAME="automate-backend-elasticsearch"
elasticsearch_pkg_ident="chef/automate-backend-elasticsearch"
+# TODO: Enabled elasticsidecar when a build of it lands in the depot
+# elasticsidecar_pkg_ident="chef/automate-backend-elasticsidecar"
-HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${elasticsearch_pkg_ident}"
-HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${proxy_pkg_ident}"
-HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${pgleaderchk_pkg_ident}"
-HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${postgresql_pkg_ident}"
+HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${elasticsearch_pkg_ident}/${version}"
+HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${proxy_pkg_ident}/${version}"
+HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${pgleaderchk_pkg_ident}/${version}"
+HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${postgresql_pkg_ident}/${version}"
+# TODO: Enabled elasticsidecar when a build of it lands in the depot
+# HAB_LICENSE="accept-no-persist" hab pkg install --channel ${channel} "${elasticsidecar_pkg_ident}"
echo "Copying certs into place"
hostname=$(hostname)
@@ -138,4 +144,6 @@ echo "Starting HA Backend Habitat services"
HAB_LICENSE="accept-no-persist" hab svc load ${postgresql_pkg_ident} --topology leader --channel ${channel}
HAB_LICENSE="accept-no-persist" hab svc load ${pgleaderchk_pkg_ident} --topology leader --bind database:"$PG_PKG_NAME".default --binding-mode=relaxed --channel ${channel}
HAB_LICENSE="accept-no-persist" hab svc load ${proxy_pkg_ident} --topology leader --bind database:"$PG_PKG_NAME".default --bind pgleaderchk:"$PGLEADERCHK_PKG_NAME".default --binding-mode=relaxed --channel ${channel}
-HAB_LICENSE="accept-no-persist" hab svc load ${elasticsearch_pkg_ident} --topology leader --bind elasticsearch:"$ELASTICSEARCH_PKG_NAME".default --binding-mode=relaxed --channel ${channel}
+HAB_LICENSE="accept-no-persist" hab svc load ${elasticsearch_pkg_ident} --topology leader --channel ${channel}
+# TODO: Enabled elasticsidecar when a build of it lands in the depot
+# HAB_LICENSE="accept-no-persist" hab svc load ${elasticsidecar_pkg_ident} --topology leader --bind elasticsearch:"$ELASTICSEARCH_PKG_NAME".default --binding-mode=relaxed --channel ${channel}
