Due to charmed-kubernetes/pytest-operator#13 we need to switch to using the snaps for building charms, and this needs to ensure that those snaps are available. Additionally, the strict confinement of the charmcraft snap combined with the fact that the runners provided by GitHub automatically include git-lfs means that we have to work around the /etc/gitconfig access issue.
Due to charmed-kubernetes/pytest-operator#13 we need to switch to using the snaps for building charms, and this needs to ensure that those snaps are available. Additionally, the strict confinement of the
charmcraft
snap combined with the fact that the runners provided by GitHub automatically includegit-lfs
means that we have to work around the /etc/gitconfig access issue.Fixes #8