You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/02/16 23:48:43 UTC

(airflow) branch run-scripts-from-current-version updated (a271e5000f5 -> 519c195da9e)

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

potiuk pushed a change to branch run-scripts-from-current-version
in repository https://gitbox.apache.org/repos/asf/airflow.git


 discard a271e5000f5 Publish docs to s3 uses current version of workflows/scripts
     new 519c195da9e Publish docs to s3 uses current version of workflows/scripts

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a271e5000f5)
            \
             N -- N -- N   refs/heads/run-scripts-from-current-version (519c195da9e)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/publish-docs-to-s3.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)


(airflow) 01/01: Publish docs to s3 uses current version of workflows/scripts

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch run-scripts-from-current-version
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 519c195da9e13e5692f2146843ffe45e3cfb0b09
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Feb 17 00:17:31 2026 +0100

    Publish docs to s3 uses current version of workflows/scripts
    
    In case we built docs for past version of airflow we checkout
    both - current (main) version of code to use latest environment
    and tag version of code to build the documentation. The workflow
    mixed sub-workflows and run them from the "tag" version of workflow
    rather than from current.
    
    This PR fixes it.
---
 .github/workflows/publish-docs-to-s3.yml | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/publish-docs-to-s3.yml b/.github/workflows/publish-docs-to-s3.yml
index 2f5f30b07bc..a52c4794b5f 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -182,6 +182,13 @@ jobs:
         with:
           persist-credentials: false
           path: current-version
+      - name: "Free up disk space"
+        shell: bash
+        run: ./current-version/scripts/tools/free_up_disk_space.sh
+      - name: "Make /mnt writeable"
+        run: ./current-version/scripts/ci/make_mnt_writeable.sh
+      - name: "Move docker to /mnt"
+        run: ./current-version/scripts/ci/move_docker_to_mnt.sh
       # We are checking repo for both - breeze and docs from the ref provided as input
       # This will take longer as we need to rebuild CI image and it will not use cache
       # but it will build the CI image from the version of Airflow that is used to check out things
@@ -192,13 +199,6 @@ jobs:
           ref: ${{ inputs.ref }}
           fetch-depth: 0
           fetch-tags: true
-      - name: "Free up disk space"
-        shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
-      - name: "Make /mnt writeable"
-        run: ./scripts/ci/make_mnt_writeable.sh
-      - name: "Move docker to /mnt"
-        run: ./scripts/ci/move_docker_to_mnt.sh
       - name: "Apply patch commits if provided"
         run: |
           if [[ "${APPLY_COMMITS}" != "" ]]; then
@@ -248,13 +248,11 @@ jobs:
           persist-credentials: false
           fetch-depth: 0
           fetch-tags: true
-          path: current-version
-        if: inputs.build-sboms
-      - name: "Reinstall breeze from the current version"
-        run: |
-          breeze setup self-upgrade --use-current-airflow-sources
         if: inputs.build-sboms
-        working-directory: current-version
+      - name: "Install Breeze from the current version"
+        uses: ./.github/actions/breeze
+        with:
+          python-version: "${{ needs.build-info.outputs.default-python-version }}"
       - name: "Make sure SBOM dir exists and has the right permissions"
         run: |
           sudo mkdir -vp ./files/sbom