[bitnami/airflow] Release airflow-2.10.3-debian-12-r2 (#74354)

Signed-off-by: Bitnami Bot <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-11-08 11:16:06 +01:00
committed by GitHub
parent 861fb1e74a
commit 1d3a59389e
2 changed files with 20 additions and 4 deletions

View File

@@ -8,11 +8,11 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-11-07T15:00:03Z" \
org.opencontainers.image.created="2024-11-08T08:53:51Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/airflow/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.10.3-debian-12-r1" \
org.opencontainers.image.ref.name="2.10.3-debian-12-r2" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/airflow" \
org.opencontainers.image.title="airflow" \
org.opencontainers.image.vendor="Broadcom, Inc." \

View File

@@ -166,7 +166,7 @@ airflow_initialize() {
fi
info "Trying to connect to the database server"
airflow_wait_for_postgresql_connection
airflow_wait_for_db_connection
case "$AIRFLOW_COMPONENT_TYPE" in
webserver)
@@ -529,13 +529,29 @@ airflow_configure_celery_executor() {
# Returns:
# true if the database connection succeeded, false otherwise
#########################
airflow_wait_for_postgresql_connection() {
airflow_wait_for_db_connection() {
if ! retry_while "airflow_execute db check"; then
error "Could not connect to the database"
return 1
fi
}
########################
# Wait until db migrations are done
# Globals:
# None
# Arguments:
# None
# Returns:
# true if the db migrations are ready, false otherwise
#########################
airflow_wait_for_db_migrations() {
if ! retry_while "airflow_execute db check-migrations"; then
error "DB migrations are not ready yet"
return 1
fi
}
########################
# Airflow create admin user
# Arguments: