Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Sean Rose 94b190e3d7
feat: Upgrade Airflow from 2.7.3 to 2.8.2 (#1935)
* Upgrade Airflow from 2.7.3 to 2.8.2.

* Update CircleCI Docker orb from 2.2.0 to 2.5.0.

* Update Ruff config for version 0.2.

* fix dockerfile URL scheme to use https for gcloud CLI

* Restore `google-auth` extra, with its built-in dependency on `authlib`.

* Add missing Airflow state colors for "restarting", "deferred", and "removed".

* Explain the difference between our configured Airflow state colors and the defaults.

---------

Co-authored-by: mikaeld <mducharme@mozilla.com>
2024-03-07 14:01:07 -08:00
Mikaël Ducharme 50455cc0c1
feat: Upgrade to Airflow 2.7.3 (#1854) 2023-11-29 09:38:18 -05:00
Mikaël Ducharme 63beb2f23f
feat: Move utils, operators and glam_subdags out of dags directory (#1807) 2023-10-17 12:36:51 -04:00
Mikaël Ducharme 4a0419fb93
feat: Upgrade to 2.6.3 (#1789) 2023-09-07 14:04:40 -04:00
Mikaël Ducharme 3e3acc0f69
feat: Update Airflow to 2.5.3 (#1742) 2023-06-28 12:41:31 -04:00
Mikaël Ducharme a34971d6e6
chore: use PostgreSQL for local environment and update README.md (#1729) 2023-06-21 15:03:39 -04:00
Mikaël Ducharme b51ab0a143
feat!: Use Dockerfile based on upstream [DSRE-1116] (#1638)
* CI runtime decreased by 70-80%

* docker-compose setup time decreased significantly. **Local use: takes a few seconds as opposed to a few minutes before**. Airflow Variables and Connections are loaded via `import` CLI command; replaces `bin/run` script using Airflow CLI.

* Improved dev secrets security by dynamically generating a Fernet key in makefile
  * `.env` file is generated from `make up`, contains UID and Fernet key. `.env` is automatically loaded into environment variables by `docker-compose`

* Retire shell scripts to use builtin features in our stack
  * `bin/run` replaced by docker-compose and CI
  * `bin/test-dag-tags` replaced by pytest unit tests
  * `bin/test-parse` replaced by pytest unit tests
2023-02-22 12:52:41 -05:00
kik-kik 8162470e6e
added platform key for mysql container in docker-compose for m1 compatibility + test-environment ubuntu image bumpred up (#1444)
Co-authored-by: = <=>
2022-01-10 15:40:54 +01:00
Harold Woo e1518a5ff5 [DSRE-6] Upgrade Airflow (wtmo) to 2.1.1 2021-10-18 12:00:34 -07:00
Jeff Klukas 86309cd28e
Bug 1729524 Add adm_export weekly DAG (#1364)
* Bug 1729524 Add adm_export weekly DAG

See https://bugzilla.mozilla.org/show_bug.cgi?id=1729524

Uses new docker image from https://github.com/mozilla/docker-etl/pull/28

Depends on https://github.com/mozilla/bigquery-etl/pull/2373

* Add env var for new connection in tests

* fixup imports

* timedelta import fix

* Update project_id and quoting

* Don't use quotes around yaml connection string
2021-09-29 14:15:39 -04:00
Harold Woo 956832aba0 [DSRE-159] Build new wtmo 1.10.15 container for addressing IAP and google oauth issue (bug 1728197) 2021-09-14 09:35:17 -07:00
Anthony Miyaguchi 17a87679dc
Remove Dockerfile.dev (#1244)
* Remove Dockerfile.dev and move configuration into docker-compose

* Mount credentials to tmp instead
2021-02-01 14:03:06 -08:00
Anthony Miyaguchi ab3d31b548
Prune unused Airflow code related to AWS EMR and Databricks (#1240)
* Remove mozetl and mozdatabricks

* Remove moz_emr

* Remove emr_spark_operator

* Remove tox.ini and unused docker variables

* Remove email on schema change operator

* Add utility script for exporting AWS credentials into env

* Fix broken imports

* Fix docker-compose.yml file with invalid values
2021-02-01 09:59:39 -08:00
Frank Bertsch 1e45850fc1 Make missing credentials more obvious 2020-04-20 09:44:55 -04:00
Anthony Miyaguchi b9d7c135a0
Bug 1572115 - Add dataproc version aggregates job that writes to a dev database (#727)
* Bug 1572115 - Add dataproc version aggregates job that writes to a dev database

* Add bigquery source and project-id

* Expose storage_bucket and artifact_bucket for local testing

* Add GOOGLE_APPLICATION_CREDENTIALS to docker-compose for local testing

* Update prerelease aggregates to run locally

* Minimize mozaggregator runner

* Use default service account on production

* Use n1-standard-8 on mozaggregator job
2019-11-14 17:29:45 -08:00
Anthony Miyaguchi 4cf48e031c
Move mozaggregator jobs to Databricks (#593)
* Move telemetry_aggregates_parquet to databricks

* Move telemetry aggregates to databricks

* Update mobile aggregates to use databricks

* Propagate DB_TOKEN properly

* Use python2 by default for mozaggregator jobs

* Up dev instance count for prerelease aggregate view
2019-10-09 12:35:17 -07:00
Frank Bertsch 3469a52f5b Move Airflow connections to DB rather than Environ
Airflow has two issues:
  - Dags are broken if connections are undefined
  - It checks for env connections before db

To alleviate these issues, we initially set the connections
via the UI; however that meant they never overrode the
environment connections.

This change will fix the dags, but still let the connections
be defined via the UI.
2019-07-17 15:34:04 -04:00
Anthony Miyaguchi 337a3f9b62
Bug 1564937 - Add dummy prio credentials (#544) 2019-07-11 14:17:31 -07:00
Anthony Miyaguchi 2e4d63e778
Add bgbb jobs to airflow (#437)
* Add bgbb jobs to airflow

* Update bgbb jobs

* Update the environment to use the external module runner

* Change submission date to use iso8601

* Add environment to docker-compose for databricks and gcp

* Update naming, comment on dependencies, and use ds_next
2019-05-16 16:50:30 -07:00
Harold Woo 0886818e43 Upgrade airflow to 1.10 2019-04-03 14:06:31 -07:00
Harold Woo 3b9bea785f Modifying dev container to use mysql to match gke env rm migrate make target, migrate would keep spawning web and app containers that do infinite restarts 2019-03-27 12:41:53 -07:00
Jannis Leidel d9fe940a9b Bug 1309622 - Updated dockerflow code following code review by cloudops 2017-05-01 13:26:57 -07:00
Jannis Leidel 76abcec3a9 Bug 1309622 - Remove Ansible in favor of dockerflow patterns. 2017-05-01 13:26:57 -07:00