Skip to content

Commit 2a4b09e

Browse files
committed
install libs required by dbt project
1 parent 1f10571 commit 2a4b09e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
19+
set -e pipefail
20+
21+
REQUIREMENTS_LOCAL="/opt/airflow/docker/requirements-local.txt"
22+
#
23+
# Make sure we have dev requirements installed
24+
#
25+
if [ -f "${REQUIREMENTS_LOCAL}" ]; then
26+
echo "Installing local overrides at ${REQUIREMENTS_LOCAL}"
27+
pip install --upgrade pip
28+
pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
29+
else
30+
echo "Skipping local overrides"
31+
fi
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dbt-core==1.5.5
2+
dbt-duckdb==1.5.2
3+
dbt-fal==1.5.9
4+
slack_sdk==3.22.0

0 commit comments

Comments
 (0)