Skip to content

Commit

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

# build arguments for source build customization
ARG UPPER_CONSTRAINTS_FILE
ARG IRONIC_SOURCE=bugfix/25.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 @@ -47,7 +47,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

0 comments on commit c0147fd

Please sign in to comment.