Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add conditional prod image build #45320

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 1, 2025

Prod image build sometimes (quite often) is not needed. When removing pull_request_target in #45266 wait-for=prod-images had the condition that prevented it from running (and the build-prod-images step depended on it) - but this condition is gone now.

Instead of preventing the whole composite workflow from running, we are adding it to "build-prod-packages" so that the whole workflow can complete as prerequisite to "finalize-tests" which should be executed regardless from prod-image-build being executed.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk requested a review from ashb as a code owner January 1, 2025 08:41
@potiuk potiuk changed the title Re-add conditianal prod image build Re-add conditional prod image build Jan 1, 2025
@potiuk potiuk force-pushed the re-add-conditional-prod-image-build branch from 1f59608 to 123078d Compare January 1, 2025 08:43
@potiuk
Copy link
Member Author

potiuk commented Jan 1, 2025

Realized that after #45319

Prod image build sometimes (quite often) is not needed. When
removing `pull_request_target` in apache#45266 `wait-for=prod-images`
had the condition that prevented it from running (and the
`build-prod-images` step depended on it) - but this condition
is gone now.

Instead of preventing the whole composite workflow from running,
we are adding it to "build-prod-packages" so that the whole
workflow can complete as prerequisite to "finalize-tests" which
should be executed regardless from `prod-image-build` being
executed.
@potiuk potiuk force-pushed the re-add-conditional-prod-image-build branch from 123078d to 83545c5 Compare January 1, 2025 08:45
@potiuk potiuk merged commit 0c92638 into apache:main Jan 1, 2025
86 checks passed
@potiuk potiuk deleted the re-add-conditional-prod-image-build branch January 1, 2025 09:10
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
Prod image build sometimes (quite often) is not needed. When
removing `pull_request_target` in apache#45266 `wait-for=prod-images`
had the condition that prevented it from running (and the
`build-prod-images` step depended on it) - but this condition
is gone now.

Instead of preventing the whole composite workflow from running,
we are adding it to "build-prod-packages" so that the whole
workflow can complete as prerequisite to "finalize-tests" which
should be executed regardless from `prod-image-build` being
executed.
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Jan 6, 2025
Prod image build sometimes (quite often) is not needed. When
removing `pull_request_target` in apache#45266 `wait-for=prod-images`
had the condition that prevented it from running (and the
`build-prod-images` step depended on it) - but this condition
is gone now.

Instead of preventing the whole composite workflow from running,
we are adding it to "build-prod-packages" so that the whole
workflow can complete as prerequisite to "finalize-tests" which
should be executed regardless from `prod-image-build` being
executed.
HariGS-DB pushed a commit to HariGS-DB/airflow that referenced this pull request Jan 16, 2025
Prod image build sometimes (quite often) is not needed. When
removing `pull_request_target` in apache#45266 `wait-for=prod-images`
had the condition that prevented it from running (and the
`build-prod-images` step depended on it) - but this condition
is gone now.

Instead of preventing the whole composite workflow from running,
we are adding it to "build-prod-packages" so that the whole
workflow can complete as prerequisite to "finalize-tests" which
should be executed regardless from `prod-image-build` being
executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants