Skip to content

Commit

Permalink
Updated version on dockerfile (#586)
Browse files Browse the repository at this point in the history
* Updated version on dockerfile

* Update GitHub Actions workflow to support Python 3.12 and upgrade action versions

* Update Airflow version in GitHub Actions workflow from 2.7.1 to 2.9.1
  • Loading branch information
ggsdc authored Dec 10, 2024
1 parent 15b28be commit 968699d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_cornflow_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
max-parallel: 21
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
os: [ubuntu-latest]

services:
Expand All @@ -48,9 +48,9 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Copy DAG files
Expand All @@ -73,7 +73,7 @@ jobs:
run: |
python -m venv afvenv
source afvenv/bin/activate
AIRFLOW_VERSION=2.7.1
AIRFLOW_VERSION=2.9.1
PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
CLIENT_BRANCH="${{ github.head_ref || github.ref_name }}"
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
Expand Down
2 changes: 1 addition & 1 deletion cornflow-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux

# CORNFLOW vars
ARG CORNFLOW_VERSION=1.1.2
ARG CORNFLOW_VERSION=1.1.4

# install linux pkg
RUN apt update -y && apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit 968699d

Please sign in to comment.