Skip to content

Commit 5f9c162

Browse files
authored
Merge pull request #225 from bcgov/chore/224-update-airflow
Chore/224 update airflow
2 parents 139d41a + 2610275 commit 5f9c162

6 files changed

Lines changed: 19 additions & 29 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
context: .
5353
dockerfile_path: Dockerfile
5454
github_token: ${{ secrets.GITHUB_TOKEN }}
55-
chart_version: 3.1.0
55+
chart_version: 3.1.1
5656
is_chart_release: true
5757
cas-airflow-dag-trigger-build:
5858
needs: [release]

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apache/airflow:3.1.2
1+
FROM apache/airflow:3.1.8
22

33
# Install the standard providers for Airflow 2 -- can be removed when we upgrade to Airflow 3
44
RUN pip install --no-cache-dir "apache-airflow==${AIRFLOW_VERSION}" apache-airflow-providers-standard

helm/cas-airflow/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dependencies:
22
- name: airflow
33
repository: https://airflow.apache.org/
4-
version: 1.18.0
4+
version: 1.19.0
55
- name: terraform-bucket-provision
66
repository: https://bcgov.github.io/cas-pipeline/
77
version: 0.1.3
8-
digest: sha256:98240d16977d7eabf4897ef0be279c4e85c7f8ae6ec389376b7c28212d513798
9-
generated: "2025-09-09T14:12:54.100483261-06:00"
8+
digest: sha256:325c0d60c55e7a2e792aa30f238399e65a2015e26ba993f85037c95910a316a0
9+
generated: "2026-03-19T14:03:21.67381925-06:00"

helm/cas-airflow/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: cas-airflow
33
type: application
4-
version: 3.1.0 # Changing this requires updating the image tag in .github/workflows/release.yaml
5-
appVersion: 3.1.2 # The airflow version
4+
version: 3.1.1 # Changing this requires updating the image tag in .github/workflows/release.yaml
5+
appVersion: 3.1.8 # The airflow version
66
description: Helm chart to deploy cas' flavour of airflow, compatible with OpenShift 4. This chart uses the vanilla airflow chart and adds cas' own templates and values.
77
icon: https://www.astronomer.io/static/airflowNewA.png
88
keywords:
@@ -12,7 +12,7 @@ keywords:
1212
- bcgov
1313
dependencies:
1414
- name: airflow
15-
version: "1.18.0"
15+
version: "1.19.0"
1616
repository: "https://airflow.apache.org/"
1717
- name: terraform-bucket-provision
1818
version: "0.1.3"

helm/cas-airflow/values.yaml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ airflow:
2626
# Will be overridden by the git commit sha
2727
defaultAirflowTag: "to_override"
2828

29-
airflowVersion: "3.1.2"
29+
airflowVersion: "3.1.8"
3030

3131
# Enable RBAC (default on most clusters these days)
3232
rbac:
@@ -116,29 +116,19 @@ airflow:
116116
requests:
117117
cpu: 50m
118118
memory: 400Mi
119-
defaultUser:
120-
enabled: true
121-
role: Admin
122-
username: cas-airflow-admin
123-
email: admin@example.com
124-
firstName: admin
125-
lastName: user
126-
password: "$(DEFAULT_USER_PASS)"
127119
startupProbe:
128120
timeoutSeconds: 120
129121
periodSeconds: 60
130122

131-
# createUserJob.args param uses the webserver.defaultUser values as of Airflow 3.1.2,
132-
# So we need to override them here instead of in apiServer.defaultUser
133-
webserver:
134-
defaultUser:
135-
enabled: true
136-
role: Admin
137-
username: cas-airflow-admin
138-
email: admin@example.com
139-
firstName: admin
140-
lastName: user
141-
password: "$(DEFAULT_USER_PASS)"
123+
jobs:
124+
createUserJob:
125+
defaultUser:
126+
email: admin@example.com
127+
firstName: admin
128+
lastName: user
129+
password: "$(DEFAULT_USER_PASS)"
130+
role: Admin
131+
username: cas-airflow-admin
142132

143133
# Airflow scheduler settings
144134
scheduler:

run_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
export AIRFLOW_HOME=.
88
export DYNAMIC_DAGS_PATH=./dags/dynamic
99

10-
AIRFLOW_VERSION=3.1.2
10+
AIRFLOW_VERSION=3.1.8
1111
PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
1212
# For example: 3.6
1313
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"

0 commit comments

Comments
 (0)