Skip to content

Commit 44c9200

Browse files
Merge pull request #47 from sfc-gh-adelauw/main
Update deploy_snowpark_apps.py
2 parents 5946805 + 8cb11e3 commit 44c9200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy_snowpark_apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@
4747
os.chdir(f"{directory_path}")
4848
# Make sure all 6 SNOWFLAKE_ environment variables are set
4949
# SnowCLI accesses the passowrd directly from the SNOWFLAKE_PASSWORD environmnet variable
50-
os.system(f"snow snowpark build")
50+
os.system(f"snow snowpark build --temporary-connection --account $SNOWFLAKE_ACCOUNT --user $SNOWFLAKE_USER --role $SNOWFLAKE_ROLE --warehouse $SNOWFLAKE_WAREHOUSE --database $SNOWFLAKE_DATABASE")
5151
os.system(f"snow snowpark deploy --replace --temporary-connection --account $SNOWFLAKE_ACCOUNT --user $SNOWFLAKE_USER --role $SNOWFLAKE_ROLE --warehouse $SNOWFLAKE_WAREHOUSE --database $SNOWFLAKE_DATABASE")

0 commit comments

Comments
 (0)