potiuk commented on code in PR #50115:
URL: https://github.com/apache/airflow/pull/50115#discussion_r2071299715
##########
.github/workflows/prod-image-build.yml:
##########
@@ -143,14 +139,22 @@ jobs:
with:
use-uv: ${{ inputs.use-uv }}
if: inputs.upload-package-artifact == 'true'
- - name: "Prepare providers packages"
+ - name: "Prepare providers packages - all providers built from sources"
shell: bash
run: >
breeze release-management prepare-provider-distributions
--distributions-list-file ./prod_image_installed_providers.txt
--distribution-format wheel --include-not-ready-providers
--skip-tag-check
if: >
- inputs.upload-package-artifact == 'true' &&
inputs.build-provider-distributions == 'true'
+ inputs.upload-package-artifact == 'true' && inputs.branch == 'main'
+ - name: "Prepare providers packages with only new versions of providers"
+ shell: bash
+ run: >
+ breeze release-management prepare-provider-distributions
+ --distributions-list-file ./prod_image_installed_providers.txt
+ --distribution-format wheel --include-not-ready-providers
Review Comment:
That's the only difference - in `non main` we do not add `--skip-tag-check`
which means that we will generally use packages from `PyPI` and locally we only
build packages that have not been released yet. That's the magic :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]