Use dedicated pool for bqetl_public_data_json

This commit is contained in:
Anna Scholtz 2021-05-26 11:45:01 -07:00
Родитель 84817d8d21
Коммит 63517fad94
3 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -45,6 +45,7 @@ with DAG('{{ name }}', default_args=default_args{%+ if schedule_interval != None
+ ["--parameter={{ task.date_partition_parameter }}:DATE:{% raw %}{{ds}}{% endraw -%}"]
{%- endif -%},
image=docker_image,
queue="dedicated",
dag=dag
)
{% endfor -%}
@ -75,6 +76,7 @@ with DAG('{{ name }}', default_args=default_args{%+ if schedule_interval != None
task_id="public_data_gcs_metadata",
command=["script/publish_public_data_gcs_metadata"],
docker_image=docker_image,
queue="dedicated",
dag=dag
)

Просмотреть файл

@ -56,6 +56,7 @@ with DAG(
+ ["--project_id=moz-fx-data-shared-prod"]
+ ["--parameter=submission_date:DATE:{{ds}}"],
image=docker_image,
queue="dedicated",
dag=dag,
)
@ -71,6 +72,7 @@ with DAG(
+ ["--project_id=moz-fx-data-shared-prod"]
+ ["--parameter=submission_date:DATE:{{ds}}"],
image=docker_image,
queue="dedicated",
dag=dag,
)
@ -106,6 +108,7 @@ with DAG(
task_id="public_data_gcs_metadata",
command=["script/publish_public_data_gcs_metadata"],
docker_image=docker_image,
queue="dedicated",
dag=dag,
)

Просмотреть файл

@ -49,6 +49,7 @@ with DAG(
+ ["--project_id=moz-fx-data-test-project"]
+ ["--parameter=submission_date:DATE:{{ds}}"],
image=docker_image,
queue="dedicated",
dag=dag,
)
@ -69,6 +70,7 @@ with DAG(
task_id="public_data_gcs_metadata",
command=["script/publish_public_data_gcs_metadata"],
docker_image=docker_image,
queue="dedicated",
dag=dag,
)