| commit | ee3c9eeb293302b3245fc9ae7c56e00883a792d5 | [log] [tgz] |
|---|---|---|
| author | Patrick Williams <patrick@stwcx.xyz> | Fri Feb 12 20:56:01 2021 -0600 |
| committer | Patrick Williams <patrick@stwcx.xyz> | Tue Feb 16 12:04:45 2021 -0600 |
| tree | 986edf24da1f5a5492a63b0049b685092b019381 | |
| parent | 0eedeeda0af9e6ffa6024dce3135d8d9ad3580ba [diff] |
build-unit-test-docker: pythonic refactoring
Do a bunch of clean-up to the script to better / modern Python
practices.
* Document the PackageDef dictionary.
* Add type hinting so that 'mypy' static analysis passes (and
code self-documents better).
* Create a Package class to encapsulate everything related to
package stage builds and a Docker namespace to encapsulate
Docker operations.
* Overall better documentation.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I841d844aa9401889d428ed55c10bee6c1b0a7109
Build script for CI jobs in Jenkins.