Skip to content

Commit d88604a

Browse files
Merge pull request #2729 from Nordix/lentzi90/e2e-upgrade-irso
🌱 E2E: Use IrSO also in upgrade tests
2 parents 4068377 + 3867f7e commit d88604a

File tree

22 files changed

+86
-386
lines changed

22 files changed

+86
-386
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ GINKGO_FOCUS ?=
5252
GINKGO_SKIP ?=
5353
GINKGO_SKIP_LABELS ?=
5454
GINKGO_NODES ?= 2
55-
GINKGO_TIMEOUT ?= 2h
55+
GINKGO_TIMEOUT ?= 3h
5656
GINKGO_POLL_PROGRESS_AFTER ?= 60m
5757
GINKGO_POLL_PROGRESS_INTERVAL ?= 5m
5858
E2E_CONF_FILE ?= $(ROOT_DIR)/test/e2e/config/fixture.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel
22
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs
3-
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/
3+
IRONIC_ENDPOINT=https://192.168.222.2:6385/v1/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel
22
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs
3-
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/
3+
IRONIC_ENDPOINT=https://192.168.222.2:6385/v1/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
DEPLOY_KERNEL_URL=http://192.168.222.1:6180/images/ironic-python-agent.kernel
22
DEPLOY_RAMDISK_URL=http://192.168.222.1:6180/images/ironic-python-agent.initramfs
3-
IRONIC_ENDPOINT=https://192.168.222.1:6385/v1/
3+
IRONIC_ENDPOINT=https://192.168.222.2:6385/v1/

hack/ci-e2e.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,6 @@ BMO_OVERLAYS=(
193193
"${REPO_ROOT}/config/overlays/e2e-release-0.10"
194194
"${REPO_ROOT}/config/overlays/e2e-release-0.11"
195195
)
196-
IRONIC_OVERLAYS=(
197-
"${REPO_ROOT}/ironic-deployment/overlays/e2e"
198-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-26.0"
199-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-27.0"
200-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-28.0"
201-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-29.0"
202-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-30.0"
203-
"${REPO_ROOT}/ironic-deployment/overlays/e2e-release-31.0"
204-
)
205196

206197
IRONIC_USERNAME="$(uuidgen)"
207198
IRONIC_PASSWORD="$(uuidgen)"
@@ -215,13 +206,6 @@ for overlay in "${BMO_OVERLAYS[@]}"; do
215206
echo "${IRONIC_PASSWORD}" > "${overlay}/ironic-password"
216207
done
217208

218-
for overlay in "${IRONIC_OVERLAYS[@]}"; do
219-
echo "IRONIC_HTPASSWD=$(htpasswd -n -b -B "${IRONIC_USERNAME}" "${IRONIC_PASSWORD}")" > \
220-
"${overlay}/ironic-htpasswd"
221-
envsubst < "${REPO_ROOT}/ironic-deployment/components/basic-auth/ironic-auth-config-tpl" > \
222-
"${overlay}/ironic-auth-config"
223-
done
224-
225209
IRSO_IRONIC_AUTH_DIR="${REPO_ROOT}/test/e2e/data/ironic-standalone-operator/components/basic-auth"
226210
echo "${IRONIC_USERNAME}" > "${IRSO_IRONIC_AUTH_DIR}/ironic-username"
227211
echo "${IRONIC_PASSWORD}" > "${IRSO_IRONIC_AUTH_DIR}/ironic-password"

ironic-deployment/overlays/e2e-release-26.0/ironic_bmo_configmap.env

Lines changed: 0 additions & 10 deletions
This file was deleted.

ironic-deployment/overlays/e2e-release-26.0/kustomization.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

ironic-deployment/overlays/e2e-release-27.0/ironic_bmo_configmap.env

Lines changed: 0 additions & 10 deletions
This file was deleted.

ironic-deployment/overlays/e2e-release-27.0/kustomization.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

ironic-deployment/overlays/e2e-release-28.0/ironic_bmo_configmap.env

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)