File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 186186 {% set airflow_job_url = server_url ~ " /dags/" ~ job_id ~ " /grid?dag_run_id=" ~ job_run_id %}
187187 {% do return(airflow_job_url) %}
188188 {% elif orchestrator == ' dbt_cloud' %}
189- {% set account_id = elementary .get_var (' account_id' , [' DBT_ACCOUNT_ID ' ]) %}
189+ {% set account_id = elementary .get_var (' account_id' , [' DBT_CLOUD_ACCOUNT_ID ' ]) %}
190190 {% set dbt_cloud_project_id = elementary .get_first_env_var ([' DBT_CLOUD_PROJECT_ID' ]) %}
191191 {% set dbt_cloud_run_id = elementary .get_first_env_var ([' DBT_CLOUD_RUN_ID' ]) %}
192+ {% set dbt_cloud_domain = elementary .get_first_env_var ([' DBT_CLOUD_DOMAIN' ]) or " cloud.getdbt.com" %}
192193
193- {% set dbt_cloud_job_url = " https://cloud.getdbt.com /deploy/" ~ account_id ~ " /projects/" ~ dbt_cloud_project_id ~ " /runs/" ~ dbt_cloud_run_id %}
194+ {% set dbt_cloud_job_url = " https://" ~ dbt_cloud_domain ~ " /deploy/" ~ account_id ~ " /projects/" ~ dbt_cloud_project_id ~ " /runs/" ~ dbt_cloud_run_id %}
194195 {% do return(dbt_cloud_job_url) %}
195196 {% elif orchestrator == ' github_actions' %}
196197 {% set server_url = elementary .get_first_env_var ([" GITHUB_SERVER_URL" ]) %}
You can’t perform that action at this time.
0 commit comments