Skip to content

Mark image as refreshed when pulled on CI#23410

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:avoid-extra-image-building
May 2, 2022
Merged

Mark image as refreshed when pulled on CI#23410
potiuk merged 1 commit intoapache:mainfrom
potiuk:avoid-extra-image-building

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented May 2, 2022

One of the recent changes in Breeze (#23395) caused unnecessary
rebuilding of image when "build-docs" is run. On CI we build
image once and reuse it. However in case of Buld docs we missed
information that the image is "fresh" and we started rebuilding
it. This change marks the image as "refreshed" when it is pulled
with --tag-as-latest flag (which happens in CI).


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 newsfragement file, named {pr_number}.significant.rst, in newsfragments.

One of the recent changes in Breeze (apache#23395) caused unnecessary
rebuilding of image when "build-docs" is run. On CI we build
image once and reuse it. However in case of Buld docs we missed
information that the image is "fresh" and we started rebuilding
it. This change marks the image as "refreshed" when it is pulled
with `--tag-as-latest` flag (which happens in CI).
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label May 2, 2022
@github-actions
Copy link
Copy Markdown

github-actions bot commented May 2, 2022

The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk merged commit ce4a60c into apache:main May 2, 2022
@potiuk potiuk deleted the avoid-extra-image-building branch May 2, 2022 16:13
@potiuk
Copy link
Copy Markdown
Member Author

potiuk commented May 2, 2022

6 minutes per docs-build saved :)

potiuk added a commit that referenced this pull request May 7, 2022
One of the recent changes in Breeze (#23395) caused unnecessary
rebuilding of image when "build-docs" is run. On CI we build
image once and reuse it. However in case of Buld docs we missed
information that the image is "fresh" and we started rebuilding
it. This change marks the image as "refreshed" when it is pulled
with `--tag-as-latest` flag (which happens in CI).

(cherry picked from commit ce4a60c)
potiuk added a commit that referenced this pull request May 12, 2022
One of the recent changes in Breeze (#23395) caused unnecessary
rebuilding of image when "build-docs" is run. On CI we build
image once and reuse it. However in case of Buld docs we missed
information that the image is "fresh" and we started rebuilding
it. This change marks the image as "refreshed" when it is pulled
with `--tag-as-latest` flag (which happens in CI).

(cherry picked from commit ce4a60c)
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.1 milestone May 19, 2022
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label May 19, 2022
ephraimbuddy pushed a commit that referenced this pull request May 21, 2022
One of the recent changes in Breeze (#23395) caused unnecessary
rebuilding of image when "build-docs" is run. On CI we build
image once and reuse it. However in case of Buld docs we missed
information that the image is "fresh" and we started rebuilding
it. This change marks the image as "refreshed" when it is pulled
with `--tag-as-latest` flag (which happens in CI).

(cherry picked from commit ce4a60c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants