docker docs: improve bash and python example scripts
ClosedPublic

Authored by kparal on Jul 8 2016, 12:45 PM.

Details

Summary

Make the first bash example closer to what docker uses (set -e). Make
the second bash example use checkname to distinguish tests rather than
note. Use long arguments for taskotron_result to make it easier to
read. Use subprocess directly in the Python example.

This took the changes from D927 and extended it with some further improvements.

Test Plan

examples not tested

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.
kparal retitled this revision from to docker docs: improve bash and python example scripts.Jul 8 2016, 12:45 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added reviewers: lbrabec, jskladan.
This revision is now accepted and ready to land.Jul 8 2016, 12:52 PM
This revision was automatically updated to reflect the committed changes.