Skip to content

Commit 94b190e

Browse files
sean-rosemikaeld
andauthored
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>
1 parent e593faf commit 94b190e

8 files changed

Lines changed: 634 additions & 619 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
version: 2.1
1313
orbs:
14-
docker: circleci/docker@2.2.0
14+
docker: circleci/docker@2.5.0
1515
python: circleci/python@2.1.1
1616

1717
jobs:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apache/airflow:slim-2.7.3-python3.10
1+
FROM apache/airflow:slim-2.8.2-python3.10
22

33
ARG PROJECT_DIR="/opt/airflow"
44

config/airflow_local_settings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
STATE_COLORS = {
22
"queued": "gray",
33
"running": "lime",
4-
"success": "#0000FF",
4+
"success": "#0000FF", # Rather than "green".
5+
"restarting": "violet",
56
"failed": "red",
67
"up_for_retry": "gold",
78
"up_for_reschedule": "turquoise",
89
"upstream_failed": "orange",
9-
"skipped": "pink",
10+
"skipped": "pink", # Rather than "hotpink".
11+
"deferred": "mediumpurple",
12+
"removed": "lightgrey",
1013
"scheduled": "tan",
1114
}

0 commit comments

Comments
 (0)