mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 14:08:07 +08:00
[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:
@@ -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." \
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user