File tree 3 files changed +121
-103
lines changed
3 files changed +121
-103
lines changed Original file line number Diff line number Diff line change 2
2
CHANGELOG
3
3
=========
4
4
5
- 1.16.3
6
- ======
5
+ 1.16.3.dev
6
+ ==========
7
7
8
+ * bug-fix: Append retry id to default Airflow job name to avoid name collisions in retry
8
9
* bug-fix: Local Mode: No longer requires s3 permissions to run local entry point file
9
10
10
11
1.16.2
Original file line number Diff line number Diff line change 27
27
import six
28
28
29
29
30
- AIRFLOW_TIME_MACRO = "{{ execution_date.strftime('%Y-%m-%d-%H-%M-%S') }}"
31
- AIRFLOW_TIME_MACRO_LEN = 19
32
- AIRFLOW_TIME_MACRO_SHORT = "{{ execution_date.strftime('%y%m%d-%H%M') }}"
33
- AIRFLOW_TIME_MACRO_SHORT_LEN = 11
30
+ AIRFLOW_RETRY_MACRO = "{{ task_instance.try_number }}"
31
+ AIRFLOW_TIME_MACRO = "{{ execution_date.strftime('%Y-%m-%d-%H-%M-%S') }}" + "-{}" .format (AIRFLOW_RETRY_MACRO )
32
+ AIRFLOW_TIME_MACRO_LEN = 22
33
+ AIRFLOW_TIME_MACRO_SHORT = "{{ execution_date.strftime('%y%m%d-%H%M') }}" + "-{}" .format (AIRFLOW_RETRY_MACRO )
34
+ AIRFLOW_TIME_MACRO_SHORT_LEN = 14
34
35
35
36
36
37
# Use the base name of the image as the job name if the user doesn't give us one
You can’t perform that action at this time.
0 commit comments