This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch add-back-back-reference-calculation
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git

commit 0fbd2a1a9daae2b794c6e886497a39f660c8a486
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri May 16 17:18:54 2025 -0400

    Add back "back-reference" calculation
    
    I've removed back-reference calculation from airflow "Push docs to S3"
    workflow - because it is not really possible to add back-references
    there - as they are added in the "other" versions of the distribution
    not in the current one - so when we release latest "3.0.2", back
    references should be added in all other versions. This - therefore
    should be done whenever we perform s3-to-github push from main in
    the `airflow-site-archive` - because this is the place where we update
    github based on s3 content and where we locally have all past
    versions of the packages we work on.
---
 .github/workflows/s3-to-github.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.github/workflows/s3-to-github.yml 
b/.github/workflows/s3-to-github.yml
index db3c8f6017..704fa3c587 100644
--- a/.github/workflows/s3-to-github.yml
+++ b/.github/workflows/s3-to-github.yml
@@ -52,6 +52,8 @@ jobs:
       DOCUMENT_PACKAGES: ${{ inputs.document-packages }}
       COMMIT_CHANGES: ${{ inputs.commit-changes }}
       PROCESSES: ${{ inputs.processes }}
+      AIRFLOW_SITE_DIRECTORY:  /mnt/cloned-airflow-site-archive/docs-archive
+
     steps:
       - name: Summarize parameters
         id: parameters
@@ -160,6 +162,33 @@ jobs:
             --processes "${PROCESSES}"
         working-directory: /mnt/cloned-airflow-site-archive
 
+      - uses: actions/checkout@v4
+        # Checkout airflow to run breeze
+        with:
+          repository: 'apache/airflow'
+          path: airflow
+          fetch-depth: 1
+
+      - name: "Install breeze"
+        run: uv tool install -e ./dev/breeze
+        working-directory: airflow
+
+      - name: "Generate back references for providers"
+        run: breeze release-management add-back-references all-providers
+        working-directory: airflow
+
+      - name: "Generate back references for apache-airflow"
+        run: breeze release-management add-back-references apache-airflow
+        working-directory: airflow
+
+      - name: "Generate back references for docker-stack"
+        run: breeze release-management add-back-references docker-stack
+        working-directory: airflow
+
+      - name: "Generate back references for helm-chart"
+        run: breeze release-management add-back-references helm-chart
+        working-directory: airflow
+
       - name: Show files that will be committed
         run : git add --dry-run .
         working-directory: /mnt/cloned-airflow-site-archive

Reply via email to