Skip to content

Commit

Permalink
Merge pull request #589 from Nordix/cp-fix-constraint-24.0
Browse files Browse the repository at this point in the history
🐛 improve upper constraints handling
  • Loading branch information
metal3-io-bot authored Dec 11, 2024
2 parents b347a7d + 3c611b1 commit 78537b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ ARG PATCH_LIST
ARG INSTALL_TYPE=source

# build arguments for source build customization
ARG UPPER_CONSTRAINTS_FILE
ARG IRONIC_SOURCE=bugfix/24.0
ARG IRONIC_INSPECTOR_SOURCE=bugfix/12.0
ARG UPPER_CONSTRAINTS_FILE=upper-constraints.txt
ARG IRONIC_LIB_SOURCE
ARG SUSHY_SOURCE

Expand Down
2 changes: 1 addition & 1 deletion prepare-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [[ "$INSTALL_TYPE" == "source" ]]; then

# NOTE(elfosardo): if the content of the upper-constraints file is empty,
# we give as assumed that we're on the master branch
if [[ ! -f "${UPPER_CONSTRAINTS_PATH}" ]]; then
if [[ ! -s "${UPPER_CONSTRAINTS_PATH}" ]]; then
UPPER_CONSTRAINTS_PATH="/tmp/upper-constraints.txt"
curl -L https://releases.openstack.org/constraints/upper/master -o "${UPPER_CONSTRAINTS_PATH}"
fi
Expand Down
4 changes: 2 additions & 2 deletions upper-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ oslotest===4.5.0
jsonpointer===2.3
defusedxml===0.7.1
opentelemetry-sdk===1.17.0
netaddr===0.8.0
netaddr===0.9.0
pyghmi===1.5.61
sphinxcontrib-blockdiag===3.0.0
thrift===0.16.0
Expand Down Expand Up @@ -377,7 +377,7 @@ idna===3.4
yamlloader===1.2.2
protobuf===4.22.3
pyhcl===0.4.4
sushy===4.5.2
sushy===4.7.0
python-neutronclient===11.0.0
pika===1.3.1
oslo.cache===3.5.0
Expand Down

0 comments on commit 78537b2

Please sign in to comment.