File tree Expand file tree Collapse file tree 3 files changed +14
-16
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 3 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -242,23 +242,19 @@ def prepare_flows(flows: "List[FlowLike]") -> None:
242
242
for flow in flows :
243
243
if isinstance (flow , dict ):
244
244
# Add any extra labels to the flow
245
- if flow .get ("environment" ):
246
- new_labels = set (flow ["environment" ].get ("labels" ) or []).union (labels )
247
- flow ["environment" ]["labels" ] = sorted (new_labels )
248
- else :
249
- new_labels = set (flow ["run_config" ].get ("labels" ) or []).union (labels )
250
- flow ["run_config" ]["labels" ] = sorted (new_labels )
245
+ new_labels = set (flow ["run_config" ].get ("labels" ) or []).union (labels )
246
+ flow ["run_config" ]["labels" ] = sorted (new_labels )
251
247
else :
252
248
# Set the default flow result if not specified
253
249
if not flow .result :
254
250
flow .result = flow .storage .result
255
251
256
252
# Add a `run_config` if not configured explicitly
257
- if flow .run_config is None and flow . environment is None :
253
+ if flow .run_config is None :
258
254
flow .run_config = UniversalRun ()
259
255
# Add any extra labels to the flow (either specified via the CLI,
260
256
# or from the storage object).
261
- obj = flow .run_config or flow . environment
257
+ obj = flow .run_config
262
258
obj .labels .update (labels )
263
259
obj .labels .update (flow .storage .labels )
264
260
Original file line number Diff line number Diff line change @@ -6,15 +6,20 @@ FROM python:${PYTHON_VERSION} as base
6
6
7
7
# Install git and other dependencies
8
8
# hadolint ignore=DL3008
9
+ # Install git and other dependencies
9
10
RUN apt-get update && \
10
11
apt-get install -y --no-install-recommends \
11
- git \
12
- ffmpeg \
13
- libsm6 \
14
- libxext6 && \
12
+ ffmpeg=7:4.1.11-0+deb10u1 \
13
+ git=1:2.20.1-2+deb10u9 \
14
+ libsm6=2:1.2.3-1 \
15
+ libxext6=2:1.3.3-1+b2 && \
15
16
apt-get clean && \
16
17
rm -rf /var/lib/apt/lists/*
17
18
19
+ # Setting environment variables for libgdal
20
+ ENV CPLUS_INCLUDE_PATH /usr/include/gdal
21
+ ENV C_INCLUDE_PATH=/usr/include/gdal
22
+
18
23
# Setting environment with prefect version
19
24
ARG PREFECT_VERSION=1.4.1
20
25
ENV PREFECT_VERSION $PREFECT_VERSION
Original file line number Diff line number Diff line change 41
41
image = constants .DOCKER_IMAGE .value ,
42
42
labels = [constants .RJ_COR_AGENT_LABEL .value ],
43
43
)
44
- cet_telegram_flow .schedule = bot_schedule
45
-
46
-
47
- x = 2
44
+ cet_telegram_flow .schedule = bot_schedule
You can’t perform that action at this time.
0 commit comments