File tree Expand file tree Collapse file tree
test/e2e/data/ironic-standalone-operator/ironic/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ build/_test
55_artifacts
66artifacts * .tar.gz
77test /e2e /images
8+ test /e2e /data /ironic-standalone-operator /ironic /base /ironic.yaml
89out
910
1011# Created by https://www.gitignore.io/api/go
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export PATH="/usr/local/go/bin:${PATH}"
5858" ${REPO_ROOT} /hack/e2e/ensure_yq.sh"
5959
6060sudo apt-get update
61- sudo apt-get install -y libvirt-dev pkg-config
61+ sudo apt-get install -y libvirt-dev pkg-config gettext-base
6262
6363# Increase inotify limits to prevent "too many open files" errors.
6464# Kind nodes (Docker containers running systemd) consume inotify resources heavily.
@@ -225,7 +225,10 @@ IRSO_IRONIC_AUTH_DIR="${REPO_ROOT}/test/e2e/data/ironic-standalone-operator/comp
225225echo " ${IRONIC_USERNAME} " > " ${IRSO_IRONIC_AUTH_DIR} /ironic-username"
226226echo " ${IRONIC_PASSWORD} " > " ${IRSO_IRONIC_AUTH_DIR} /ironic-password"
227227
228- sed -i " s|SSH_PUB_KEY_CONTENT|${pub_ssh_key} |" " ${REPO_ROOT} " /test/e2e/data/ironic-standalone-operator/ironic/base/ironic.yaml
228+ # shellcheck disable=SC2016
229+ SSH_PUB_KEY_CONTENT=" ${pub_ssh_key} " envsubst ' ${SSH_PUB_KEY_CONTENT}' < \
230+ " ${REPO_ROOT} /test/e2e/data/ironic-standalone-operator/ironic/base/ironic.yaml.tmpl" > \
231+ " ${REPO_ROOT} /test/e2e/data/ironic-standalone-operator/ironic/base/ironic.yaml"
229232
230233# We need to gather artifacts/logs before exiting also if there are errors
231234set +e
Original file line number Diff line number Diff line change 1818 ipAddress: " 192.168.222.2"
1919 ipAddressManager: " keepalived"
2020 deployRamdisk:
21- sshKey : " SSH_PUB_KEY_CONTENT"
21+ sshKey: " ${ SSH_PUB_KEY_CONTENT} "
2222 extraKernelParams: " console=ttyS0"
You can’t perform that action at this time.
0 commit comments