Skip to content

Commit db031ec

Browse files
committed
fix IPA git commit/branch refference
This commit: - Fixes an icorrect value assignment for IPA repository refference This bug was causing the build tooling to not check out the specified IPA branch instead it was checking out the mian - Adds missing IPA repository address variable Signed-off-by: Adam Rozman <[email protected]>
1 parent 49f6512 commit db031ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jenkins/scripts/dynamic_worker_workflow/build_ipa.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ METADATA_PATH="/tmp/metadata.txt"
6666

6767
sudo rm -rf "${IPA_BUILD_WORKSPACE}"
6868
# Update apt packages
69-
sudo apt-get update -y
69+
sudo apt-get update -y
7070

7171
# Install required packages
7272
sudo apt-get install --yes python3-pip python3-virtualenv qemu-utils
@@ -114,7 +114,8 @@ python3 -m pip install "./${IPA_BUILDER_PATH}"
114114
# Configure the IPA builder to pull the IPA source from Nordix fork
115115
export DIB_REPOLOCATION_ironic_python_agent="${IPA_BUILD_WORKSPACE}/ironic-python-agent"
116116
export DIB_REPOREF_requirements="${OPENSTACK_REQUIREMENTS_REF}"
117-
export DIB_REPOREF_ironic_python_agent="${IPA_REF}"
117+
export DIB_REPOREF_ironic_python_agent="${IPA_BRANCH}"
118+
export DIB_REPOLOCATION_ironic_python_agent="${IPA_REPO}"
118119
export DIB_DEV_USER_USERNAME=metal3
119120
if [ "${ENABLE_DEV_USER_PASS}" == "true" ]; then
120121
export DIB_DEV_USER_PWDLESS_SUDO=yes

0 commit comments

Comments
 (0)