From abde4179ba5cc590c3cd1ebe3831f9c1073c2623 Mon Sep 17 00:00:00 2001 From: PARYA JAFARI Date: Thu, 14 Nov 2024 14:02:23 -0500 Subject: [PATCH] make manifest field conditional on cli version>3.2.0 --- app_basic/snowflake.yml | 5 +++-- app_spcs_basic/snowflake.yml | 4 +++- app_streamlit_java/snowflake.yml | 4 +++- app_streamlit_js/snowflake.yml | 4 +++- app_streamlit_python/snowflake.yml | 4 +++- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/app_basic/snowflake.yml b/app_basic/snowflake.yml index 4942ec9..4a392f0 100644 --- a/app_basic/snowflake.yml +++ b/app_basic/snowflake.yml @@ -13,11 +13,12 @@ entities: pkg: type: application package identifier: <% fn.concat_ids('_pkg', ctx.env.suffix) %> - manifest: app/manifest.yml artifacts: - src: app/* dest: ./ - + + manifest: app/manifest.yml + app: type: application from: diff --git a/app_spcs_basic/snowflake.yml b/app_spcs_basic/snowflake.yml index 4942ec9..b07e611 100644 --- a/app_spcs_basic/snowflake.yml +++ b/app_spcs_basic/snowflake.yml @@ -13,10 +13,12 @@ entities: pkg: type: application package identifier: <% fn.concat_ids('_pkg', ctx.env.suffix) %> - manifest: app/manifest.yml artifacts: - src: app/* dest: ./ + + manifest: app/manifest.yml + app: type: application diff --git a/app_streamlit_java/snowflake.yml b/app_streamlit_java/snowflake.yml index 7f44fc8..bfa6f48 100644 --- a/app_streamlit_java/snowflake.yml +++ b/app_streamlit_java/snowflake.yml @@ -17,7 +17,6 @@ entities: pkg: type: application package identifier: <% fn.concat_ids('_pkg', ctx.env.suffix) %> - manifest: app/manifest.yml artifacts: - src: app/* dest: ./ @@ -25,6 +24,9 @@ entities: dest: module-add/add-1.0-SNAPSHOT.jar - src: src/module-ui/src/* dest: streamlit/ + + manifest: app/manifest.yml + app: type: application diff --git a/app_streamlit_js/snowflake.yml b/app_streamlit_js/snowflake.yml index e457818..0d2975d 100644 --- a/app_streamlit_js/snowflake.yml +++ b/app_streamlit_js/snowflake.yml @@ -15,12 +15,14 @@ entities: pkg: type: application package identifier: <% fn.concat_ids('_pkg', ctx.env.suffix) %> - manifest: app/manifest.yml artifacts: - src: app/* dest: ./ - src: src/module-ui/src/* dest: streamlit/ + + manifest: app/manifest.yml + app: type: application diff --git a/app_streamlit_python/snowflake.yml b/app_streamlit_python/snowflake.yml index 72110e4..d6d3b73 100644 --- a/app_streamlit_python/snowflake.yml +++ b/app_streamlit_python/snowflake.yml @@ -17,7 +17,6 @@ entities: pkg: type: application package identifier: <% fn.concat_ids('_pkg', ctx.env.suffix) %> - manifest: app/manifest.yml artifacts: - src: app/* dest: ./ @@ -25,6 +24,9 @@ entities: dest: module-add/add.py - src: src/module-ui/src/* dest: streamlit/ + + manifest: app/manifest.yml + app: type: application