Fix Secrets Schema Test compile bug (#59)

This commit is contained in:
Julius Remigio 2023-10-20 11:46:09 -07:00 committed by GitHub
parent 14264002d2
commit 31d5084cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -30,6 +30,8 @@ models:
+materialized: ephemeral
core:
+tags: core
secrets:
+enabled: '{{ true if env_var("ENABLE_SNOWFLAKE_SECRETS", "") else false }}'
evm:
+tags: evm
marketplace:
@ -44,7 +46,6 @@ tests:
# TODO: enable tests for blockpour once we get an API key
+enabled: false
on-run-start:
- "{{ create_sps() }}"
@ -66,7 +67,6 @@ vars:
STREAMLINE_INVOKE_STREAMS: False
STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES: False
STUDIO_TEST_USER_ID: '{{ env_var("STUDIO_TEST_USER_ID", "98d15c30-9fa5-43cd-9c69-3d4c0bb269f5") }}'
ENABLE_SNOWFLAKE_SECRETS: '{{ env_var("ENABLE_SNOWFLAKE_SECRETS", "") }}'
API_INTEGRATION: '{{ var("config")[target.name]["API_INTEGRATION"] }}'
EXTERNAL_FUNCTION_URI: '{{ var("config")[target.name]["EXTERNAL_FUNCTION_URI"] }}'

View File

@ -1,6 +1,4 @@
-- depends_on: {{ ref('_utils') }}
-- depends_on: {{ ref('live') }}
{% if var("ENABLE_SNOWFLAKE_SECRETS") %}
{% set config = config_core_secrets %}
{{ ephemeral_deploy_core(config) }}
{% endif %}
{% set config = config_core_secrets %}
{{ ephemeral_deploy_core(config) }}