Skip to content

Commit

Permalink
Bump versions too
Browse files Browse the repository at this point in the history
  • Loading branch information
krisgeus committed May 16, 2024
1 parent 23fddbb commit 52c9c9e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/whirl-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
max-parallel: 4
matrix:
example_dir: ${{ fromJson(needs.directories.outputs.dir) }}
python_version: ["3.8", "3.9"]
airflow_version: ["2.2.5", "2.7.2"]
python_version: ["3.8", "3.12"]
airflow_version: ["2.2.5", "2.9.1"]
exclude:
# Needs more memory than available on the runner
- example_dir: ./examples/dbt-spark-example
Expand All @@ -75,8 +75,8 @@ jobs:
max-parallel: 4
matrix:
example: ${{ fromJson(needs.examples.outputs.example) }}
python_version: ["3.8", "3.9"]
airflow_version: ["2.2.5", "2.7.2"]
python_version: ["3.8", "3.12"]
airflow_version: ["2.2.5", "2.9.1"]
exclude:
# Needs more memory than available on the runner
- example: dbt-spark-example
Expand All @@ -100,8 +100,8 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
python_version: ["3.8", "3.9"]
airflow_version: ["2.2.5", "2.7.2"]
python_version: ["3.8", "3.12"]
airflow_version: ["2.2.5", "2.9.1"]
env:
PYTHON_VERSION: ${{ matrix.python_version }}
AIRFLOW_VERSION: ${{ matrix.airflow_version }}
Expand All @@ -128,8 +128,8 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
python_version: ["3.8", "3.9"]
airflow_version: ["2.2.5", "2.7.2"]
python_version: ["3.8", "3.12"]
airflow_version: ["2.2.5", "2.9.1"]
runs-on: ubuntu-latest
env:
PYTHON_VERSION: ${{ matrix.python_version }}
Expand All @@ -147,8 +147,8 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
python_version: ["3.8", "3.9"]
airflow_version: ["2.2.5", "2.7.2"]
python_version: ["3.8", "3.12"]
airflow_version: ["2.2.5", "2.9.1"]
runs-on: ubuntu-latest
env:
PYTHON_VERSION: ${{ matrix.python_version }}
Expand Down
3 changes: 1 addition & 2 deletions docker/airflow-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ EXPOSE 5000

COPY --chown=airflow:root entrypoint.sh /entrypoint-whirl.sh
COPY includes /etc/airflow/functions
COPY pip.conf /home/airflow/.config/pip/pip.conf

ENV PATH="${PATH}:/home/airflow/.local/bin"
ENTRYPOINT ["/entrypoint-whirl.sh"]
CMD ["airflow", "--help"]
CMD ["airflow", "--help"]
2 changes: 0 additions & 2 deletions docker/airflow-python/pip.conf

This file was deleted.

2 changes: 2 additions & 0 deletions envs/just-airflow/.whirl.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
AIRFLOW_VERSION=2.9.1

# Airflow variables
AIRFLOW__CORE__EXPOSE_CONFIG=True
AIRFLOW__WEBSERVER__EXPOSE_CONFIG=True
Expand Down
3 changes: 3 additions & 0 deletions examples/airflow-datasets/.whirl.env
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
AIRFLOW_VERSION=2.9.1
PYTHON_VERSION=3.11

WHIRL_ENVIRONMENT=api-s3-dataset
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ echo "==============================="
echo "== Install timetable plugins =="
echo "==============================="

pip install ${WHIRL_SETUP_FOLDER}/dag.d/plugins
mkdir -p /tmp/custom_build
pip install ${WHIRL_SETUP_FOLDER}/dag.d/plugins

0 comments on commit 52c9c9e

Please sign in to comment.