Skip to content

test: Add airflow 2.10.5 #625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
- Add support for airflow `2.10.5` ([#625]).

### Changed

Expand All @@ -22,6 +23,7 @@
of having the operator write it to the vector config ([#600]).
- test: Bump to Vector 0.46.1 ([#620]).
- test: Bump OPA to `1.4.2` ([#624]).
- Deprecate airflow `2.10.4` ([#625]).

### Fixed

Expand All @@ -36,6 +38,7 @@
[#613]: https://github.com/stackabletech/airflow-operator/pull/613
[#620]: https://github.com/stackabletech/airflow-operator/pull/620
[#624]: https://github.com/stackabletech/airflow-operator/pull/624
[#625]: https://github.com/stackabletech/airflow-operator/pull/625

## [25.3.0] - 2025-03-21

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/airflow/examples/example-airflow-gitsync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: "2.10.4"
productVersion: "2.10.5"
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig: {}
webservers:
envOverrides: &envOverrides
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig: {}
webservers:
envOverrides: &envOverrides
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: true
exposeConfig: false
Expand Down
14 changes: 3 additions & 11 deletions docs/modules/airflow/pages/required-external-components.adoc
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
= Required external components
:description: Airflow requires PostgreSQL, MySQL, or SQLite for database support, and Redis for Celery executors. MSSQL has experimental support.
:description: Airflow requires PostgreSQL or MySQL for database support, and Redis for Celery executors.
:airflow-prerequisites: https://airflow.apache.org/docs/apache-airflow/stable/installation/prerequisites.html

Airflow requires an SQL database to operate.
The {airflow-prerequisites}[Airflow documentation] specifies:

Fully supported for production usage:

* PostgreSQL: 11, 12, 13, 14, 15
* MySQL: 5.7, 8

Supported for development and testing purposes:

* SQLite: 3.15.0+

Experimental support:

* MSSQL: 2017, 2019
* PostgreSQL: 12, 13, 14, 15, 16
* MySQL: 8.0, Innovation

The Celery exectutor also requires:

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/airflow/pages/usage-guide/security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
name: airflow-with-ldap
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
authentication:
- authenticationClass: ldap # <1>
Expand Down Expand Up @@ -71,7 +71,7 @@ metadata:
name: airflow-with-oidc
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
authentication:
- authenticationClass: keycloak # <1>
Expand Down
3 changes: 2 additions & 1 deletion docs/modules/airflow/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
// This is a separate file, since it is used by both the direct Airflow-Operator documentation, and the overarching
// Stackable Platform documentation.

- 2.10.4
- 2.10.5
- 2.10.4 (deprecated)
- 2.9.3 (LTS)
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-dags-cmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ metadata:
name: airflow-dags-cmap
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-ldap-insecure-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ metadata:
name: airflow-insecure-tls
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: true
exposeConfig: true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-ldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ metadata:
name: airflow-with-ldap-server-veri-tls
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: true
exposeConfig: true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: true
exposeConfig: false
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/crd/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
credentialsSecret: airflow-credentials
webservers:
Expand Down Expand Up @@ -163,7 +163,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
credentialsSecret: airflow-credentials
webservers:
Expand Down
6 changes: 3 additions & 3 deletions rust/operator-binary/src/crd/git_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down Expand Up @@ -208,7 +208,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down Expand Up @@ -288,7 +288,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/crd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.10.4
productVersion: 2.10.5
clusterConfig:
loadExamples: true
exposeConfig: true
Expand All @@ -968,7 +968,7 @@ mod tests {
let resolved_airflow_image: ResolvedProductImage =
cluster.spec.image.resolve("airflow", "0.0.0-dev");

assert_eq!("2.10.4", &resolved_airflow_image.product_version);
assert_eq!("2.10.5", &resolved_airflow_image.product_version);

assert_eq!("KubernetesExecutor", cluster.spec.executor.to_string());
assert!(cluster.spec.cluster_config.load_examples);
Expand Down
3 changes: 2 additions & 1 deletion tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ dimensions:
values:
- 2.9.3
- 2.10.4
- 2.10.5
# To use a custom image, add a comma and the full name after the product version
# - 2.9.3,oci.stackable.tech/sandbox/airflow:2.9.3-stackable0.0.0-dev
- name: airflow-latest
values:
- 2.10.4
- 2.10.5
# To use a custom image, add a comma and the full name after the product version
# - 2.9.3,oci.stackable.tech/sandbox/airflow:2.9.3-stackable0.0.0-dev
- name: opa-latest
Expand Down