Add artifacts_upload step.

This adds the implementation of the artifacts_upload.py step along with
unit tests. Adds the postbuild.py main function. Adds a new step to
yaml configuration file calling postbuild.py.

Tested: I ran unit tests with pytest to test for function behaviors
of git_metadata step. All test cases passed. I also ran an end-to-end
test with the sstate-cache, build was successful.

Signed-off-by: Simon-Lii <thesimonli@google.com>
Change-Id: I8d2b85bb3a07176f334f9811d0d5dd519bfd8814
5 files changed
tree: 22134e46cc77c9766333c1fe9e1dcf57e7d47fe5
  1. steps/
  2. unit_tests/
  3. build.py
  4. cloudbuild.yaml
  5. postbuild.py
  6. prebuild.py
  7. Python.gitignore
  8. readme.md
readme.md

openbmc cloudbuild ci