Skip to content

Commit c4d6551

Browse files
removed not required changes
1 parent 841ef5e commit c4d6551

5 files changed

Lines changed: 7 additions & 2220 deletions

File tree

azure.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ environment:
22
name: document-generation
33
location: eastus
44

5-
# name: document-generation
6-
# metadata:
7-
# template: document-generation@1.0
5+
name: document-generation
6+
metadata:
7+
template: document-generation@1.0
88

99
requiredVersions:
1010
azd: '>= 1.18.0'

infra/scripts/run_create_index_scripts.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fi
146146
# Determine the correct Python command
147147
if command -v python3 && python3 --version &> /dev/null; then
148148
PYTHON_CMD="python3"
149-
elif command -v python && py --version &> /dev/null; then
149+
elif command -v python && python --version &> /dev/null; then
150150
PYTHON_CMD="python"
151151
else
152152
echo "Python is not installed on this system. Or it is not added in the PATH."
@@ -182,15 +182,15 @@ error_flag=false
182182
# Run the scripts
183183
echo "Running the python scripts"
184184
echo "Creating the search index"
185-
py infra/scripts/index_scripts/01_create_search_index.py
185+
python infra/scripts/index_scripts/01_create_search_index.py
186186
if [ $? -ne 0 ]; then
187187
echo "Error: 01_create_search_index.py failed."
188188
error_flag=true
189189
fi
190190

191191
if [ "$error_flag" = false ]; then
192192
echo "Processing the data"
193-
py infra/scripts/index_scripts/02_process_data.py
193+
python infra/scripts/index_scripts/02_process_data.py
194194
if [ $? -ne 0 ]; then
195195
echo "Error: 02_process_data.py failed."
196196
error_flag=true

logs/tests.log

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)