Skip to content

Commit

Permalink
support for version 2.8.1 (#362)
Browse files Browse the repository at this point in the history
support for version 2.8.1 (#362)
  • Loading branch information
mayushko26 authored Feb 26, 2024
1 parent 6bbbc46 commit 197b7f4
Show file tree
Hide file tree
Showing 12 changed files with 476 additions and 434 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
2.8.1
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ LABEL maintainer="amazon"

# Airflow
## Version specific ARGs
ARG AIRFLOW_VERSION=2.7.2
ARG WATCHTOWER_VERSION=2.0.1
ARG PROVIDER_AMAZON_VERSION=8.7.1
ARG AIRFLOW_VERSION=2.8.1
ARG WATCHTOWER_VERSION=3.0.1
ARG PROVIDER_AMAZON_VERSION=8.16.0

## General ARGs
ARG AIRFLOW_USER_HOME=/usr/local/airflow
Expand All @@ -19,8 +19,8 @@ ARG PYTHON_DEPS=""
ARG SYSTEM_DEPS=""
ARG INDEX_URL=""
ENV AIRFLOW_HOME=${AIRFLOW_USER_HOME}
ENV PATH="$PATH:/usr/local/airflow/.local/bin:/root/.local/bin:/usr/local/airflow/.local/lib/python3.10/site-packages"
ENV PYTHON_VERSION=3.11.6
ENV PATH="/usr/local/airflow/.local/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/airflow/.local/lib/python3.11/site-packages:/usr/local/airflow/.local/bin:/usr/local/airflow/.local/lib/python3.11/site-packages:/usr/local/airflow/.local/bin:/usr/local/airflow/.local/lib/python3.11/site-packages"
ENV PYTHON_VERSION=3.11.7

COPY script/bootstrap.sh /bootstrap.sh
COPY script/systemlibs.sh /systemlibs.sh
Expand Down
4 changes: 2 additions & 2 deletions docker/config/airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ simple_log_format = %%(asctime)s %%(levelname)s - %%(message)s
task_log_prefix_template =

# Formatting for how airflow generates file names/paths for each task run.
log_filename_template = {{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log
log_filename_template = dag_id={{ti.dag_id}}/run_id={{ti.run_id}}/task_id={{ti.task_id}}/{%% if ti.map_index >= 0 %%}map_index={{ti.map_index}}/{%% endif %%}attempt={{try_number}}.log

# Formatting for how airflow generates file names for log
log_processor_filename_template = {{ filename }}.log
Expand Down Expand Up @@ -628,7 +628,7 @@ kubernetes_queue = kubernetes
# This section only applies if you are using the CeleryExecutor in
# ``[core]`` section above
# The app name that will be used by celery
celery_app_name = airflow.executors.celery_executor
celery_app_name = airflow.providers.celery.executors.celery_executor

# The concurrency that will be used when starting workers with the
# ``airflow celery worker`` command. This defines the number of task instances that
Expand Down
Loading

0 comments on commit 197b7f4

Please sign in to comment.