Skip to content

Commit e334842

Browse files
Merge pull request #2760 from Nordix/lentzi90/e2e-ipa-cache
🌱 E2E: Pre-download IPA and serve from disk image server
2 parents cb60def + 0adaa13 commit e334842

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

hack/ci-e2e.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ if [[ ! -f "${IMAGE_DIR}/${IMAGE_FILE}" ]]; then
151151
wget --quiet -P "${IMAGE_DIR}/" https://artifactory.nordix.org/artifactory/metal3/images/sysrescue/systemrescue-11.00-amd64.iso
152152
fi
153153

154+
## Download IPA (Ironic Python Agent) image
155+
# Ironic IPA downloader is configured to use this local image in the tests.
156+
# This saves time, especially during ironic upgrade tests and also
157+
# gives us early failure in case there is some issue downloading it.
158+
IPA_FILE="ipa-centos9-master.tar.gz"
159+
IPA_BASEURI=https://artifactory.nordix.org/artifactory/openstack-remote-cache/ironic-python-agent/dib/
160+
if [[ ! -f "${IMAGE_DIR}/${IPA_FILE}" ]]; then
161+
wget --quiet -P "${IMAGE_DIR}/" "${IPA_BASEURI}/${IPA_FILE}"
162+
fi
163+
154164
## Start the image server
155165
docker start image-server-e2e || docker run --name image-server-e2e -d \
156166
-p 80:8080 \

test/e2e/data/ironic-standalone-operator/operator/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ generatorOptions:
1111
configMapGenerator:
1212
- name: ironic-operator-config
1313
literals:
14-
- IPA_BASEURI=https://artifactory.nordix.org/artifactory/openstack-remote-cache/ironic-python-agent/dib
14+
- IPA_BASEURI=http://192.168.222.1
1515

1616
patches:
1717
- target:

0 commit comments

Comments
 (0)