Add distro/release inferring from koji_tag
ClosedPublic

Authored by jskladan on May 3 2016, 12:19 PM.

Details

Summary

The same idea of inferring distro/release as in D778 just applied to koji_tag.
This will make sure that all our current tests actually run on the "best" available image.
At the moment, upgradepath/depcheck run on "default fallback", which proved to be counter-intuitive

Test Plan

Added unittests

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jskladan retitled this revision from to Add distro/release inferring from koji_tag.May 3 2016, 12:19 PM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added a reviewer: libtaskotron.

Overall, looks pretty good to me. Just some questions before approving

libtaskotron/taskformula.py
197

Have these env vars been documented somewhere?

198

If I'm correctly remembering the use case for the distro envvar, wouldn't this log message be better as something like "Environment/distro overriden with ENVVAR from %r:%r to %r"?

Other than the questions from @tflink, LGTM.

kparal accepted this revision.Jul 8 2016, 10:39 AM
kparal added a reviewer: kparal.
kparal added a subscriber: kparal.

Apart from the missing docs, looks OK.

libtaskotron/taskformula.py
197
This revision is now accepted and ready to land.Jul 8 2016, 10:39 AM
jskladan updated this revision to Diff 2388.Jul 19 2016, 2:24 PM
  • Added docs

Docs look reasonable, one typo.

docs/source/taskyaml.rst
92

affects

Closed by commit rLTRNca0a1ad94665: Add distro/release inferring from koji_tag (authored by Josef Skladanka <jskladan@redhat.com>). · Explain WhyJul 19 2016, 2:46 PM
This revision was automatically updated to reflect the committed changes.