Bug 1713631 - Use bigquery_etl image from private GCR repository

This commit is contained in:
Arkadiusz Komarzewski 2021-06-08 14:26:28 +02:00 коммит произвёл akkomar
Родитель 907ef931be
Коммит 8c82b48e87
10 изменённых файлов: 25 добавлений и 25 удалений

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

@ -38,7 +38,7 @@ with DAG('{{ name }}', default_args=default_args{%+ if schedule_interval != None
'python',
'sql/{{ task.project }}/{{ task.dataset }}/{{ task.table }}_{{ task.version }}/query.py',
] + {{ task.arguments }},
docker_image='mozilla/bigquery-etl:latest',
docker_image='gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest',
owner='{{ task.owner }}',
email={{ task.email | sort }},
)

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

@ -31,7 +31,7 @@ default_args = {{
}}
with DAG('{{ name }}', default_args=default_args{%+ if schedule_interval != None -%}, schedule_interval={{ schedule_interval | format_timedelta | format_schedule_interval }}{%+ endif -%}, doc_md = docs) as dag:
docker_image = "mozilla/bigquery-etl:latest"
docker_image = "gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest"
{% for task in tasks | sort(attribute='task_name') %}
{{ task.task_name }} = GKEPodOperator(
task_id="{{ task.task_name }}",

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

@ -45,7 +45,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/org_mozilla_ios_firefox/unified_metrics_v1/query.py",
]
+ [],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=["amiyaguchi@mozilla.com", "telemetry-alerts@mozilla.com"],
)

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

@ -47,7 +47,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/average_ping_sizes_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com"],
)
@ -59,7 +59,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/bigquery_etl_scheduled_queries_cost_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com"],
)
@ -71,7 +71,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/bigquery_etl_scheduled_query_usage_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com"],
)
@ -83,7 +83,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/column_size_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com"],
)
@ -107,7 +107,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/stable_table_sizes_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com"],
)
@ -119,7 +119,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/structured_distinct_docids_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="bewu@mozilla.com",
email=["ascholtz@mozilla.com", "bewu@mozilla.com"],
)
@ -131,7 +131,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/monitoring_derived/structured_missing_columns_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=["amiyaguchi@mozilla.com", "ascholtz@mozilla.com"],
)

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

@ -171,7 +171,7 @@ with DAG(
"--destination_table",
"moz-fx-data-shared-prod.mozilla_vpn_derived.survey_cancellation_of_service_v1",
],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=[
"amiyaguchi@mozilla.com",
@ -198,7 +198,7 @@ with DAG(
"--destination_table",
"moz-fx-data-shared-prod.mozilla_vpn_derived.survey_intercept_q3_v1",
],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=[
"amiyaguchi@mozilla.com",
@ -225,7 +225,7 @@ with DAG(
"--destination_table",
"moz-fx-data-shared-prod.mozilla_vpn_derived.survey_market_fit_v1",
],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=[
"amiyaguchi@mozilla.com",
@ -252,7 +252,7 @@ with DAG(
"--destination_table",
"moz-fx-data-shared-prod.mozilla_vpn_derived.survey_product_quality_v1",
],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=[
"amiyaguchi@mozilla.com",
@ -279,7 +279,7 @@ with DAG(
"--destination_table",
"moz-fx-data-shared-prod.mozilla_vpn_derived.survey_recommend_v1",
],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="amiyaguchi@mozilla.com",
email=[
"amiyaguchi@mozilla.com",

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

@ -62,7 +62,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/pocket_derived/rolling_monthly_active_user_counts_history_v1/query.py",
]
+ ["--date", "{{ ds }}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="jklukas@mozilla.com",
email=["jklukas@mozilla.com", "telemetry-alerts@mozilla.com"],
)

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

@ -42,7 +42,7 @@ with DAG(
schedule_interval="0 5 * * *",
doc_md=docs,
) as dag:
docker_image = "mozilla/bigquery-etl:latest"
docker_image = "gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest"
export_public_data_json_mozregression_aggregates__v1 = GKEPodOperator(
task_id="export_public_data_json_mozregression_aggregates__v1",

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

@ -49,7 +49,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/org_mozilla_fenix_derived/releases_v1/query.py",
]
+ [],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com", "telemetry-alerts@mozilla.com"],
)
@ -61,7 +61,7 @@ with DAG(
"sql/moz-fx-data-shared-prod/telemetry_derived/releases_v1/query.py",
]
+ [],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="ascholtz@mozilla.com",
email=["ascholtz@mozilla.com", "telemetry-alerts@mozilla.com"],
)

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

@ -39,7 +39,7 @@ with DAG(
"sql/moz-fx-data-test-project/test/python_script_query_v1/query.py",
]
+ ["--date", "{{ds}}"],
docker_image="mozilla/bigquery-etl:latest",
docker_image="gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest",
owner="test@example.com",
email=["test@example.com"],
)

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

@ -35,7 +35,7 @@ with DAG(
schedule_interval="@daily",
doc_md=docs,
) as dag:
docker_image = "mozilla/bigquery-etl:latest"
docker_image = "gcr.io/moz-fx-data-airflow-prod-88e0/bigquery-etl:latest"
export_public_data_json_test__non_incremental_query__v1 = GKEPodOperator(
task_id="export_public_data_json_test__non_incremental_query__v1",