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

34 Коммитов

Автор SHA1 Сообщение Дата
Mikaël Ducharme 33370d8f4b
chore: Replace Black with Ruff and remove diff-based CI. (#2052) 2024-07-29 11:57:46 -04:00
Anna Scholtz 867d452cbc
feat:Add POC dags for triggering data observability checks (#1999)
* feat: Add POC dags for triggering data observability checks

* Bump keyring constraint

* Add observability connections

* Add requirements-override.txt

* Update Dockerfile

Co-authored-by: Mikaël Ducharme <mducharme@mozilla.com>

* Update requirements-override.txt

* Update .circleci/config.yml

Co-authored-by: Mikaël Ducharme <mducharme@mozilla.com>

* pip-install-local overrides

* Update dags/bigeye_poc.py

Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>

---------

Co-authored-by: Mikaël Ducharme <mducharme@mozilla.com>
Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>
2024-05-28 10:32:20 -07:00
Mikaël Ducharme 0b4755a383
fix(ci): Actually exit with error when `manual-publish` runs from main. (#1998) 2024-05-27 13:08:39 -04:00
Mikaël Ducharme 0eff7b7ccc
chore(ci): Filter manual-publish workflows. (#1997) 2024-05-27 11:50:17 -04:00
Mikaël Ducharme f17fa691c9
chore(ci): Prepare CI for CD proposal implementation. (#1993) 2024-05-24 14:14:22 -04:00
Sean Rose 4752c5d846
fix: Remove dev requirements from Docker image and improve `Makefile` (#1953)
* Define dev requirements in `requirements-dev.in`.

* Add `pip-tools` as a dev requirement.

* Remove `pip-compile` as a prerequisite for `pip-install-local`.

To avoid the bootstrapping issue in a fresh Python environment where `pip-compile` isn't installed yet.

* Update `.PHONY` config in `Makefile` to include all non-file targets.

* Update `help` target in `Makefile` to include all available commands.

* Replace tabs in `Makefile` strings with spaces.

* Update CI instructions for fixing lint errors.
2024-03-19 11:49:23 -07:00
kik-kik 7d9927edc7
feat: Upgrade Python to 3.11.8 and remove trailing whitespaces (#1942) 2024-03-14 11:07:53 +01:00
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 ff3a2fa82f
chore(plugins): Remove unused plugins and dependencies. (#1911) 2024-02-09 12:31:02 -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 cba4eeb23f
feat: Update to Python 3.10 (#1737) 2023-06-22 09:32:19 -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 6602f66202
fix(ci): pin docker-compose version (#1704) 2023-05-16 12:05:38 -07:00
Mikaël Ducharme c0c91b4da7
chore(ci): push image to GAR (#1665) 2023-03-21 12:57:30 -04:00
Mikaël Ducharme 02ae68079a
chore(ci): add integration test to validate local environment (#1659) 2023-03-02 13:54:25 -05:00
Mikaël Ducharme ac5f33b427
chore(ci): diff based linting (#1658) 2023-03-01 14:47:21 -05: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
Mikaël Ducharme 1fe46f19f0
chore(ci): refine new workflow using orbs (#1625) 2022-12-20 15:45:34 -05:00
Mikaël Ducharme e555ca12d2
chore(ci): use circleci orbs (#1619) 2022-12-20 14:51:41 -05:00
Harold Woo d2505e9ef3 update requirements, introduce constraints file and clean up for 2.3.3 2022-12-12 13:24:03 -05:00
Mikaël Ducharme 0b4b4eb418
Revert "feat(airflow): upgrade airflow from 2.1.4 to 2.3.3 [DSRE-1039] " (#1612)
* Revert "update airflow config for 2.3.3"

This reverts commit d19cc711aa.

* Revert "fix deprecation warnings, clean up and update for 2.3.3"

This reverts commit e80472ab9a.

* Revert "update requirements, introduce constraints file and clean up for 2.3.3"

This reverts commit 8e60dba783.
2022-12-07 18:25:40 -05:00
Harold Woo 8e60dba783 update requirements, introduce constraints file and clean up for 2.3.3 2022-12-07 13:30:42 -05:00
kik-kik 1dbfb6ad5c
Step to validate airflow dags as part of CI (#1446)
* script to validate dag tags and step to circle ci

* trying out dag tagg validation through parsing

* added missing tag so that tag check does not fail

* Using SQL approach for validation, added extra logging and clean up

* added check to make sure all DAGs have tags

* fixed 3 DAGs missing tags

* implemented suggestions by @haroldwoo in #1446

Co-authored-by: = <=>
2022-01-14 13:04:32 +01: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
kik-kik df796f6105
Airflow tags (#1430)
* Airflow tags added + tests + pytest to requirements

* added pytest execution to test stage in circleci pipeline

* moved tests out of dags/

Co-authored-by: = <=>
2022-01-06 19:13:55 +01:00
Wesley Dawson 0d35ca3770 Rename bqetl default branch to main 2021-04-06 14:13:03 -07:00
Harold Woo e991816a62 Modifying googles cloud-sdk image to be pulled from gcr repo since they will deprecate dockerhub in 3/21 and the current image may have broken our sync gcs ci step 2021-01-19 14:25:38 -08:00
Anthony Miyaguchi ee61a2f7d2
Remove plugin tests (#1180) 2020-11-09 11:57:55 -08:00
Anthony Miyaguchi 4fb86a1d2d
Bug 1570368 - Update airflow from python2 to python3 (#1008)
* Upgrade to 1.10.10 and pip-compile using python3.8

* pip-compile with python3.7

* Update Dockerfile from 2.7-slim to 3.7-slim

* Remove deprecated option from config

* Update relative imports in backported operators

* Replace urlparse to new location

* Replace iteritems with items

* Add instructions for pip-compile and cut out old material

* Update unittests for plugins

* Update README.md

Co-authored-by: Daniel Thorn <dthorn@mozilla.com>

* Update README.md

Co-authored-by: Daniel Thorn <dthorn@mozilla.com>

* Compile requirements using explicit source

* Add CI for checking requirements are generated correctly

* Leave off requirements.in from pip-compile call

* Recompile requirements.txt

* Pin kombu to 4.6.3

Co-authored-by: Daniel Thorn <dthorn@mozilla.com>
2020-07-22 10:09:07 -07:00
Anthony Miyaguchi 5408fd62d1
Add testing script to parse dags in CI (#804)
* Add testing script to parse dags in CI

* [testing] Add a broken dag to test CI changes

* [testing] Remove testing file for CI

* Update .circleci/config.yml

Co-Authored-By: Sunah Suh <github@sunahsuh.com>

* Address review comments

Use docker caching layer and a more recent ubuntu image for the machine
executor
2019-12-18 15:33:09 -08:00
Harold Woo 3488e70bfa Fix circleci gsutil sync for bootstrap and job files 2019-09-11 15:04:13 -07:00
Harold Woo 178edd1bb4 Adding gcs sync for circleci to sync bootstrap and job files 2019-09-11 14:47:47 -07:00
Anthony Miyaguchi b90b2bb4a5
Bug 1502235 - Add a statuspage operator to telemetry-airflow plugins (#356)
* Add initial statuspage operator to plugins

* Make DatasetStatusOperator operational

* [example] DatasetStatusOperator usage

* Format code with black

* Add tests for the DatasetStatusOperator

* Add tests for DatasetStatusHook

* Do not use relative importing with plugins

* Add tests for dags.utils.status

* Add register_status to utils

* Add tox for running pytests

* Add tox to CircleCI

* Separate dataset and status page clients

* Comment on fixing sys.module path

* Raise on non-200 status

* Add comments to the airflow operator

* Add a default on_success=False option to register_status
2018-11-09 12:54:23 -08:00
Harold Woo c6d7775cfb [Bug 1473090] Migrate telemetry-airflow to circle 2.0 2018-07-09 10:53:32 -07:00