File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ ISOLATED_HOME="$(mktemp -d -t dot-e2e-home-XXXXXX)"
3535trap ' rm -rf "$ISOLATED_HOME"' EXIT
3636export HOME=" $ISOLATED_HOME "
3737
38+ # Bootstrap a fresh IPFS repo in the isolated HOME. The deploy tests shell
39+ # out to `ipfs add` (via bulletin-deploy's Kubo path), and IPFS resolves the
40+ # repo location from `$HOME/.ipfs` by default. Without this, the deploy
41+ # tests fail with "no IPFS repo found in <isolated home>/.ipfs". CI does
42+ # the same thing in the workflow's `ipfs init --profile=test` step.
43+ if command -v ipfs > /dev/null 2>&1 ; then
44+ ipfs init --profile=test > /dev/null 2>&1 || true
45+ fi
46+
3847echo " → TEST_TEMPLATE_DOMAIN $TEST_TEMPLATE_DOMAIN "
3948echo " → TEST_TEMPLATE_REPO $TEST_TEMPLATE_REPO "
4049echo " → DOT_DEPLOY_VERBOSE $DOT_DEPLOY_VERBOSE "
You can’t perform that action at this time.
0 commit comments