Skip to content

Commit

Permalink
debug if clusterctl generate generate bmh created with the template
Browse files Browse the repository at this point in the history
  • Loading branch information
mboukhalfa committed Feb 8, 2024
1 parent debb869 commit 31849b3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ make
popd || exit 1
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
kubectl krew update; kubectl krew install split-yaml
cat ${WORKING_DIR}/bmhosts_crs.yaml | kubectl split-yaml -t {{.name}}.yaml -p ${REPO_ROOT}/test/e2e/data/infrastructure-metal3/bases/bmhs/
cat "${WORKING_DIR}/bmhosts_crs.yaml" | kubectl split-yaml -t "{{.name}}.yaml" -p "${REPO_ROOT}/test/e2e/data/infrastructure-metal3/bases/bmhs/"
kubectl delete -f ${WORKING_DIR}/bmhosts_crs.yaml -n metal3

# Binaries checked below should have been installed by metal3-dev-env make.
Expand Down Expand Up @@ -135,3 +135,9 @@ export LIVE_ISO_IMAGE="https://artifactory.nordix.org/artifactory/metal3/images/

# run e2e tests
make e2e-tests

# Clean devenv
pushd "${M3_DEV_ENV_PATH}" || exit 1
make clean
popd || exit 1

0 comments on commit 31849b3

Please sign in to comment.