This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 494ece0e754 Run schema generation jobs in Breeze containers (#69512)
494ece0e754 is described below
commit 494ece0e754ed1f89ab8ac1685c62222d06fc709
Author: Tzu-ping Chung <[email protected]>
AuthorDate: Tue Jul 7 13:03:33 2026 +0800
Run schema generation jobs in Breeze containers (#69512)
Co-authored-by: TP <[email protected]>
---
.github/workflows/publish-docs-to-s3.yml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/publish-docs-to-s3.yml
b/.github/workflows/publish-docs-to-s3.yml
index dd43f9c0218..5523743725a 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -358,20 +358,21 @@ jobs:
retention-days: '2'
- name: "Generate Execution API schema artifact"
if: needs.build-info.outputs.publish-execution-api-schema == 'true'
- env:
- # Building the in-process app runs its lifespan, which constructs the
- # JWT validator and requires a secret. The value is never used.
- AIRFLOW__API_AUTH__JWT_SECRET: "schema-generation-not-a-real-secret"
+ # Building the in-process app runs its lifespan, which constructs the
+ # JWT validator and requires a secret. The value is never used.
run: |
mkdir -p schemas
- uv run --frozen --project airflow-core -s \
- scripts/ci/prek/generate_execution_api_schema.py >
schemas/execution-api.json
+ breeze shell --quiet --backend=none \
+ "AIRFLOW__API_AUTH__JWT_SECRET=schema-generation-not-a-real-secret
\
+ python scripts/ci/prek/generate_execution_api_schema.py >
/files/execution-api.json"
+ cp files/execution-api.json schemas/execution-api.json
- name: "Generate Supervisor schema artifact"
if: needs.build-info.outputs.publish-supervisor-schema == 'true'
run: |
mkdir -p schemas
- uv run --frozen --project task-sdk -s \
- scripts/ci/prek/dump_supervisor_schemas.py >
schemas/supervisor-schema.json
+ breeze shell --quiet --backend=none \
+ "python scripts/ci/prek/dump_supervisor_schemas.py >
/files/supervisor-schema.json"
+ cp files/supervisor-schema.json schemas/supervisor-schema.json
- name: "Upload schema artifacts"
if: needs.build-info.outputs.publish-execution-api-schema == 'true' ||
needs.build-info.outputs.publish-supervisor-schema == 'true'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
# v7.0.1