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 40b9d2b85d Bring back source constraints generation for PROD image build (#35004) 40b9d2b85d is described below commit 40b9d2b85d05ad06c319a011300422df391f2e71 Author: Jarek Potiuk <ja...@potiuk.com> AuthorDate: Wed Oct 18 10:08:57 2023 +0200 Bring back source constraints generation for PROD image build (#35004) The PROD image uses source constraints to get built. The #34990 had moved the constraint generation to CI workflow which works for main builds, but for regular PRs we also need to upload them in the build-image workflow - otherwise PROD image build cannot find them as artifacts. This PR restores only source constraints upload as artifacts (this is very fast) --- .github/workflows/build-images.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 981f13abbd..d8fe6af8a0 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -233,6 +233,20 @@ jobs: PYTHON_VERSIONS: ${{needs.build-info.outputs.all-python-versions-list-as-string}} DEBUG_RESOURCES: ${{ needs.build-info.outputs.debug-resources }} BUILD_TIMEOUT_MINUTES: 70 + - name: "Source constraints" + shell: bash + run: > + breeze release-management generate-constraints --run-in-parallel + --airflow-constraints-mode constraints-source-providers + env: + PYTHON_VERSIONS: ${{needs.build-info.outputs.all-python-versions-list-as-string}} + DEBUG_RESOURCES: ${{ needs.build-info.outputs.debug-resources }} + - name: "Upload constraint artifacts" + uses: actions/upload-artifact@v3 + with: + name: constraints + path: ./files/constraints-*/constraints-*.txt + retention-days: 7 build-prod-images: permissions: