Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 30, 2024

The "UPGRADE_TO_NEWER_DEPENDENCIES" build arg was a bit misleading
as it was not a true/false value but rather "random hash"/"false".

This PR makes it a bit more explicit:

  • the arg is named UPGRADE_INVALIDATION_STRING now
  • it's default is "" not false and all conditions are set to check
    for != or == "".

The inputs/outputs in CI job remain as they were - "true/false" but
this PR makes it clearer.


^ 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.

@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes kind:documentation labels Mar 30, 2024
@potiuk potiuk requested review from Lee-W, aritra24 and o-nikolas March 30, 2024 20:49
@potiuk potiuk force-pushed the rename-docker-build-param-to-include-hash branch from bb720d0 to 345d312 Compare March 30, 2024 20:55
@potiuk potiuk force-pushed the rename-docker-build-param-to-include-hash branch from 345d312 to 778ac5a Compare March 30, 2024 21:51
@potiuk potiuk force-pushed the rename-docker-build-param-to-include-hash branch 3 times, most recently from 57a5743 to 504a67e Compare April 1, 2024 22:29
@potiuk potiuk requested review from Lee-W and hussein-awala April 1, 2024 22:34
@potiuk potiuk added this to the Airflow 2.9.0 milestone Apr 1, 2024
@potiuk potiuk force-pushed the rename-docker-build-param-to-include-hash branch from 504a67e to eb98b6d Compare April 1, 2024 22:41
The "UPGRADE_TO_NEWER_DEPENDENCIES" build arg was a bit misleading
as it was not a true/false value but rather "random hash"/"false".

This PR makes it a bit more explicit:

* the arg is named UPGRADE_INVALIDATION_STRING now
* it's default is "" not false and all conditions are set to check
  for != or == "".

The inputs/outputs in CI job remain as they were - "true/false" but
this PR makes it clearer.
@potiuk potiuk force-pushed the rename-docker-build-param-to-include-hash branch from eb98b6d to 8f19358 Compare April 2, 2024 07:19
@potiuk
Copy link
Member Author

potiuk commented Apr 2, 2024

I shortened the name a bit :)

@potiuk potiuk changed the title Rename build arg for upgrade-to-newer-dependencies to include hash Rename build arg for upgrade-to-newer-dependencies Apr 2, 2024
@potiuk potiuk merged commit 1934c8b into apache:main Apr 2, 2024
@potiuk potiuk deleted the rename-docker-build-param-to-include-hash branch April 2, 2024 08:26
ephraimbuddy pushed a commit that referenced this pull request Apr 2, 2024
The "UPGRADE_TO_NEWER_DEPENDENCIES" build arg was a bit misleading
as it was not a true/false value but rather "random hash"/"false".

This PR makes it a bit more explicit:

* the arg is named UPGRADE_INVALIDATION_STRING now
* it's default is "" not false and all conditions are set to check
  for != or == "".

The inputs/outputs in CI job remain as they were - "true/false" but
this PR makes it clearer.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants