Open Jookia opened 1 week ago
I just realized this runs the following code:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Oof, this overwrote my git username... Might be worth adding a check there or setting distrobox to not share the home directory.
This seems to be the best instructions so far:
git worktree add wt_ci
cd wt_ci
distrobox create --image ubuntu:20.04 --name catboat-ci --additional-packages "git" --home "$PWD/dbx_home"
distrobox enter catboat-ci -- "./scripts/ci-install.sh"
distrobox enter catboat-ci -- "./scripts/ci-build.sh 2>&1"
I've managed to run tests locally using this in my shell:
This seems to work well enough.