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 2022/08/05 12:51:06 UTC

[airflow] branch main updated: Copy build packages on non-main (#25546)

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

potiuk 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 55d0b9f45e Copy build packages on non-main (#25546)
55d0b9f45e is described below

commit 55d0b9f45e06d1bc579653c12b6a7be680fb08fa
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Fri Aug 5 14:50:53 2022 +0200

    Copy build packages on non-main (#25546)
    
    When non-main build is prepared (for example 2.3) we prepare
    just airflow package in CI but we do not prepare provider packages.
    We have not copied dist/files when building prod image but this means
    we did not copy the Airflow package either and the PROD build failed
    on non-main branch.
    
    This PR fixes it - packages are still copied after preparing in all
    branches (in non-main this is only airflow package)
---
 .github/workflows/ci.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4c7ca95fdf..23acb4068b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1767,7 +1767,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
         if: matrix.platform == 'linux/amd64'
       - name: "Move dist packages to docker-context files"
         run: mv -v ./dist/*.whl ./docker-context-files
-        if: needs.build-info.outputs.default-branch == 'main'
       - name: "Push PROD cache ${{ matrix.python-version }} ${{ matrix.platform }}"
         run: >
           breeze prod-image build