Skip to content

[Version-unspecific] Display Midgard commit hash in THORNode smoke test

Multipartite requested to merge Multi/display-midgard-commit into develop

[Version-unspecific]

Intended to close #1483 (closed)
'THORNode smoke tests don't display Midgard commit hashes'.

An example of this MR's commit output in a different branch (having a paired Midgard branch):
https://gitlab.com/thorchain/thornode/-/jobs/3778859302

0ac18ae0977c8a4fe0a1d42770cae3baea0fbd00	refs/heads/cleanup-native-unrefunded
Cloning into 'midgard'...
docker pull registry.gitlab.com/thorchain/midgard:develop || true
develop: Pulling from thorchain/midgard

My current impression is that this is easier to find before the build rather than after it, thus the positioning in the list of commands directly above.

An example of this MR's commit output from its own branch (having no paired Midgard branch):
https://gitlab.com/thorchain/thornode/-/jobs/3776223027

Cloning into 'midgard'...
warning: Could not find remote branch Multi/display-midgard-commit to clone.
fatal: Remote branch Multi/display-midgard-commit not found in upstream origin
99623a3fd4a194e3b01e328f73c9f5648e09a53c	refs/heads/develop
Cloning into 'midgard'...
develop: Pulling from thorchain/midgard

https://gitlab.com/thorchain/midgard/-/commits/99623a3fd4a194e3b01e328f73c9f5648e09a53c

Edited by Multipartite

Merge request reports