HomeSoftware Heritage

Add an assertion rather than an unused global for SWH_IMAGE_TAG

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add an assertion rather than an unused global for SWH_IMAGE_TAG

The SWH_IMAGE_TAG environment variable is used by Docker via
definition in mirror.yml used by docker stack deploy. The variable
itself is not used by the Python code and the eponymous global variable
was indeed unused.

Instead, it’s probably worth logging its value after a small assertion.
Not setting the variable would result in using latest image tag,
leading to weird results as Docker generally handles this tag pretty
inconsistently.

Details

Provenance
lunarAuthored on Oct 12 2022, 4:22 PM
lunarPushed on Nov 7 2022, 1:38 PM
Differential Revision
D8634: Prepare the tests to run in Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.