phase1: workaround gitverify 1st build failures on fresh workers v4
authorPetr Štetiar <ynezz@true.cz>
Tue, 16 May 2023 18:41:05 +0000 (20:41 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 17 May 2023 09:27:23 +0000 (11:27 +0200)
commitd47fd60cde0df5103add3402f76e5d2b84013a83
tree1063851a27216a4ccb3e66d0243223cf06b3e22b
parent6b145dbf190c52caa1829f6dcfdc9e304552bd5a
phase1: workaround gitverify 1st build failures on fresh workers

Currently every 1st build on ephemeral build worker results in the
failure of the `gitverify` build step as the stock buildbot Git() build
step for some reasons just clones the Git repository into detached HEAD
state.

On the 2nd build using the same build worker Git() checkouts the branch
and thus makes `gitverify` step happy and the builds then continues
normally.

This needs to be fixed properly, either by adjusting the `gitverify`
check or adding suitable `mode` into Git() build step, but this needs
more time and testing.

So for now, lets simply workaround that issue by running Git() step two
times.

References: #5
Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg