Skip to content

Commit

Permalink
CI: fix path in deploy-zookeeper script
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Dec 6, 2024
1 parent a350457 commit 208f4f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/tasks/deploy-zookeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

set -e

script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ci_dir="${script_dir}/.."
bosh_repo_dir="$(realpath "$(cd "$(dirname "${BASH_SOURCE[0]}")/../../" && pwd)")"

state_path() { bosh-cli int director-state/director.yml --path="$1" ; }

Expand All @@ -28,5 +27,5 @@ bosh-cli update-cloud-config "bosh-deployment/${CPI}/cloud-config.yml" \
--vars-file director-state/director-vars.json

bosh-cli upload-stemcell stemcell/*.tgz
bosh-cli -d zookeeper deploy --recreate "${ci_dir}/ci/tasks/deploy-zookeeper/zookeeper-manifest.yml"
bosh-cli -d zookeeper deploy --recreate "${bosh_repo_dir}/ci/tasks/deploy-zookeeper/zookeeper-manifest.yml"
bosh-cli -d zookeeper run-errand smoke-tests

0 comments on commit 208f4f2

Please sign in to comment.