Skip to content

Commit f6cb4df

Browse files
authored
Merge pull request #59 from cloudera/dev
modified upgrade for composable AMPs
2 parents 233aaad + 7673fd1 commit f6cb4df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,9 +1083,10 @@ async def perform_upgrade():
10831083

10841084
# 3. Run build_client.sh
10851085
try:
1086-
script_path = "build/build_client.py"
1087-
#script_path = path_manager.get_str_path(script_path)
1088-
subprocess.run(["python", script_path], check=True)
1086+
# script_path = "build/build_client.py"
1087+
# #script_path = path_manager.get_str_path(script_path)
1088+
# subprocess.run(["python", script_path], check=True)
1089+
subprocess.run(["bash build/shell_scripts/build_client.sh"], shell=True, check=True)
10891090
frontend_rebuilt = True
10901091
messages.append("Frontend rebuilt successfully")
10911092
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)