# tmt reproducer | https://docs.testing-farm.io/Testing%20Farm/0.1/test-results.html#_reproducer
git clone --recurse-submodules https://github.com/Honny1/podman testcode
git -C testcode config --add remote.origin.fetch +refs/merge-requests/*:refs/remotes/origin/merge-requests/*
git -C testcode config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pull/*
git -C testcode fetch https://github.com/Honny1/podman 860549b47ce566fb9519b915a1499f9feac4108b:gluetool/860549b47ce566fb9519b915a1499f9feac4108b
git -C testcode checkout --no-recurse-submodules gluetool/860549b47ce566fb9519b915a1499f9feac4108b
git -C testcode submodule update --init --recursive
cd testcode
curl -o guest-setup-0.sh -L https://artifacts.dev.testing-farm.io/2e1dcd26-d5e6-484d-854a-233494c648e2/guest-setup-9f61a515-cd6f-4359-93cf-706b3eac0d69/artifact-installation-9f61a515-cd6f-4359-93cf-706b3eac0d69/sut_install_commands.sh
curl -o guest-setup-1.sh -L https://artifacts.dev.testing-farm.io/2e1dcd26-d5e6-484d-854a-233494c648e2/guest-setup-9f61a515-cd6f-4359-93cf-706b3eac0d69/artifact-installation-9f61a515-cd6f-4359-93cf-706b3eac0d69/sut_install_commands.sh
curl -LO https://artifacts.dev.testing-farm.io/2e1dcd26-d5e6-484d-854a-233494c648e2/git-860549b47ce566fb9519b915a1499f9feac4108b14063a6z/tmt-environment-plans-system-local-rootless.yaml
tmt --root . -c arch=x86_64 -c distro=fedora-rawhide -c initiator=packit -c trigger=commit run --until provision --verbose -e @tmt-environment-plans-system-local-rootless.yaml provision --how virtual --image Fedora-Rawhide plan --name ^/plans/system/local\-rootless$
tmt --root . run --last login < guest-setup-0.sh
tmt --root . run --last --since prepare
tmt --root . run --last login < guest-setup-1.sh
tmt --root . run --last --since prepare