copy-iuks-to-rsync-server-and-verify: needs adjustment for Jenkins-built shasums
d99ae41d was written with “to_${VERSION}.sha256sum
is going to be built by Jenkins as well” in mind. Reality disagrees though, as the $VERSION
variable is only available in the upstream job (parallel_build_IUKs
) and not in the downstream job (parallel_collect_IUKs
); so I've patched the latter to produce an hardcoded to_new-version.sha256sum
file for now (instead of to_.sha256sum
which would be obtained otherwise, because of the empty variable).
It would be probably be best (if feasible/easy/maintainable) to either carry over the variable from the upstream job to the downstream job, or to deduce the target version from the IUK filenames (all Tails-amd64-X_to_Y.iuk
→ Y
). But until then, it might make sense to simply tweak copy-iuks-to-rsync-server-and-verify
to look at the hardcoded name.
This would buy us an extra check performed automatically, instead of having to manually look at the produced checksums file and compare with the local one.
Spoiler alert: I think we might need to tweak some environment anyway, as my locally-generated .sha256sum
file and the Jenkins-built one had some lines swapped anyway…