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

🐛 improve upper constraints handling #590

Merged

Conversation

Rozzii
Copy link
Member

@Rozzii Rozzii commented Nov 6, 2024

This commit:

  • Provides a default value for the UPPER_CONSTRAINT docker file argument
  • Changes the prepare-image.sh logic to check the actual size of the upper constraint file and not the presence of it.

Background of this change is that it has been noticed that on release branches during image building the "pinned" upper constraint file is not picked up rather pulled from upstream OpenStack because of a lack of default argument value during image building.

This commit:
 - Provides a default value for the UPPER_CONSTRAINT docker file argument
 - Changes the prepare-image.sh logic to check the actual size of the
   upper constraint file and not the presence of it.

Background of this change is that it has been noticed that on release branches
during image building the "pinned" upper constraint file is not picked up
rather pulled from upstream OpenStack because of a lack of default argument
value during image building.

Signed-off-by: Adam Rozman <adam.rozman@est.tech>
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 6, 2024
@Rozzii
Copy link
Member Author

Rozzii commented Nov 6, 2024

/cc @tuminoid @elfosardo

@elfosardo
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elfosardo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 6, 2024
@tuminoid
Copy link
Member

tuminoid commented Nov 6, 2024

For reference: this is manual cherry-pick of #584

@tuminoid
Copy link
Member

tuminoid commented Nov 6, 2024

/test metal3-centos-e2e-integration-test-release-1-7 metal3-ubuntu-e2e-integration-test-release-1-

@tuminoid
Copy link
Member

tuminoid commented Nov 6, 2024

/test metal3-centos-e2e-integration-test-release-1-7 metal3-ubuntu-e2e-integration-test-release-1-7

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2024
@tuminoid
Copy link
Member

tuminoid commented Nov 6, 2024

/retitle 🐛 improve upper constraints handling

@metal3-io-bot metal3-io-bot changed the title 🐛 improve upper constraint handling relese-24.1 🐛 improve upper constraints handling Nov 6, 2024
@tuminoid
Copy link
Member

tuminoid commented Nov 6, 2024

/retest

iurygregory added a commit to iurygregory/ironic-image that referenced this pull request Nov 6, 2024
@lentzi90
Copy link
Member

lentzi90 commented Nov 7, 2024

/retest

@Rozzii
Copy link
Member Author

Rozzii commented Nov 8, 2024

/test metal3-centos-e2e-integration-test-release-1-7 metal3-ubuntu-e2e-integration-test-release-1-7

@metal3-io-bot metal3-io-bot merged commit f2749db into metal3-io:release-24.1 Nov 8, 2024
9 checks passed
@metal3-io-bot metal3-io-bot deleted the cp-fix-constraint-24.1 branch November 8, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants