don't rollback to a random point for zuul-pinned tags

This Ansible role tries to figure out how the repo looked like "before
this commit", and prepare that on-disk. It isn't fool-proof, for example
it cannot really know about Zuul's override-checkout, but it tries to do
the right thing, most of the time. In particular, it is currently a
no-op for all these git repos which are pinned to a specific branch
name, which is fine.

However, when a module is pinned to a tag via Zuul's override-checkout,
then `git rev-parse --abbrev-ref HEAD` won't be able to find the
corresponding branch name. We're doing this for trompeloeil, and it
started failing horribly by going all the way to the previous tag, which
is a wrong thing to do.

Change-Id: I14355da9b7b43e16a391bb17f401bf5fb74e781e
1 file changed
tree: 9ef5c6f8b2d96c6d58d61df8f9278f88e1e4d4be
  1. README.md
  2. playbooks/
  3. roles/
  4. zuul.yaml
README.md

Zuul jobs specific to CESNET