Skip to content

Commit 604f774

Browse files
committed
adding logging
1 parent 556ba19 commit 604f774

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

azure/templates/deploy-service.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ steps:
122122
- bash: |
123123
set -euo pipefail
124124
125+
echo "Setting variables"
125126
export SERVICE_NAME="${{ parameters.service_name }}"
126127
export PROXIES_DIR="$(SERVICE_DIR)/proxies"
127128
export SERVICE_BASE_PATH="${{ parameters.service_base_path }}"
@@ -131,21 +132,25 @@ steps:
131132
export SOURCE_COMMIT_ID=$(Build.SourceVersion)
132133
export RELEASE_RELEASEID=$(Build.BuildId)
133134
135+
echo "Setting version"
134136
ASSUMED_VERSION=$(echo $SERVICE_ARTIFACT_NAME | grep -E -o "v[0-9]+\.[0-9]+\.[0-9]+-?[a-z]*" | tail -1)
135137
if [[ ! -z $ASSUMED_VERSION ]]; then
136138
export DEPLOYED_VERSION=$ASSUMED_VERSION
137139
else
138140
export DEPLOYED_VERSION="${{ parameters.fully_qualified_service_name }}"
139141
fi
140142
143+
echo "Sourcing build vars"
141144
if [ -f $(SERVICE_DIR)/.build_env_vars ]; then
142145
source $(SERVICE_DIR)/.build_env_vars
143146
fi
144147
148+
echo "Templating proxies"
145149
cd $(UTILS_DIR)
146150
ANSIBLE_FORCE_COLOR=yes \
147151
make --no-print-directory -C ansible template-proxies
148152
153+
echo "Adding GUIDS policy"
149154
if [ -f $(SERVICE_DIR)/manifest.yml ]; then
150155
DIST_DIR=$(SERVICE_DIR) \
151156
PROXY_DIR=${{ parameters.proxy_path }} \

0 commit comments

Comments
 (0)