#!/bin/bash -ex

cd $(dirname $0)/../../bits-service-deployment-manifest-generation-tools

export SPRUCE_FILE_BASE_PATH=../ci-tasks/manifests

./scripts/generate-test-standalone-manifest $BLOBSTORE_TYPE ../ci-tasks/manifests/bits-service-webdav-certs.yml

cp deployments/bits-service-release.yml ../manifests/manifest.yml

echo "Content of ../manifests/manifest.yml:"
cat ../manifests/manifest.yml

REPO_DIR=bits-service-private-config \
FILENAME=environments/softlayer/deployment-vars-${DEPLOYMENT_NAME}.yml \
COMMIT_MESSAGE="Update ${ENVIRONMENT_NAME} deployment vars for ${DEPLOYMENT_NAME}" \
../ci-tasks/scripts/commit-file-if-changed.sh

#!/bin/bash -ex

cd $(dirname $0)/../../bits-service-deployment-manifest-generation-tools

export SPRUCE_FILE_BASE_PATH=../ci-tasks/manifests

./scripts/generate-test-standalone-manifest $BLOBSTORE_TYPE ../ci-tasks/manifests/bits-service-webdav-certs.yml

cp deployments/bits-service-release.yml ../manifests/manifest.yml

echo "Content of ../manifests/manifest.yml:"
cat ../manifests/manifest.yml

REPO_DIR=../bits-service-private-config \
FILENAME=environments/softlayer/deployment-vars-${DEPLOYMENT_NAME}.yml \
COMMIT_MESSAGE="Update ${ENVIRONMENT_NAME} deployment vars for ${DEPLOYMENT_NAME}" \
../ci-tasks/scripts/commit-file-if-changed.sh

Fix one more path issue
Fix one more path issue

Signed-off-by: Norman Sutorius <c92e212d4253616268289a70bdbb216a97333b3e@de.ibm.com>
