diff --git a/bldr.env.sample b/bldr.env.sample index dd60428..ad97c7d 100644 --- a/bldr.env.sample +++ b/bldr.env.sample @@ -5,4 +5,5 @@ export GITHUB_API_URL=https://api.github.com export GITHUB_WEB_URL=https://github.com export GITHUB_CLIENT_ID=Iv1.04b78696442708f6 export GITHUB_CLIENT_SECRET=b4acf029896e9c7fb6613390124e8ae3c35889aa -export GITHUB_APP_ID=8053 \ No newline at end of file +export GITHUB_APP_ID=8053 +export BLDR_CHANNEL=stable \ No newline at end of file diff --git a/scripts/provision.sh b/scripts/provision.sh index 3d7fe77..0ec5014 100755 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -348,27 +348,27 @@ EOT } start-api() { - hab svc load habitat/builder-api --bind router:builder-router.default --force + hab svc load habitat/builder-api --bind router:builder-router.default --channel "${BLDR_CHANNEL}" --force } start-api-proxy() { - hab svc load habitat/builder-api-proxy --bind http:builder-api.default --force + hab svc load habitat/builder-api-proxy --bind http:builder-api.default --channel "${BLDR_CHANNEL}" --force } start-datastore() { - hab svc load habitat/builder-datastore --force + hab svc load habitat/builder-datastore --channel "${BLDR_CHANNEL}" --force } start-originsrv() { - hab svc load habitat/builder-originsrv --bind router:builder-router.default --bind datastore:builder-datastore.default --force + hab svc load habitat/builder-originsrv --bind router:builder-router.default --bind datastore:builder-datastore.default --channel "${BLDR_CHANNEL}" --force } start-router() { - hab svc load habitat/builder-router --force + hab svc load habitat/builder-router --channel "${BLDR_CHANNEL}" --force } start-sessionsrv() { - hab svc load habitat/builder-sessionsrv --bind router:builder-router.default --bind datastore:builder-datastore.default --force + hab svc load habitat/builder-sessionsrv --bind router:builder-router.default --bind datastore:builder-datastore.default --channel "${BLDR_CHANNEL}" --force } generate_bldr_keys() {