Replace shell scripts with python
Need to continue working the effort of converting the existing shell scripts in our pipeline to python scripts. This will help us remove duplication, simplify scripts, and make better use of the modules we're adding.
Current List as of 9/16:
-
build-run.sh -
csv-output.sh -
base_image_type.sh -
oscap-compliance-run.sh -- we should wait to rewrite this until we can find a solution to install the required python dependencieswe have a path forward in the comments below -
create-tar.sh -
import-run.sh -
vat-run-api.sh -
post-build-clamav.sh -
search_pod_logs.sh -
mattermost-failure-webhook.sh -- we should talk to CHT security, because they may not need this anymore -
write-json-docs-run.sh -- we should evaluate if we need to export these artifact anymoreblocked by #739 -
ib-manifest-run.sh -- we should evaluate if we need to export these artifact anymoreblocked by #739 -
upload-to-s3-run.sh -- not sure if we need to continue uploading to S3 now that we have the same materials uploaded as attestationsblocked by #740 -
repo_map_vars.sh -- need to evaluate need since IBFE doesn't use the repo map anymoreblocked by #740 -
local_import.sh -- no need to rewrite, exports env vars and is for local use only
-
Shell scripts updated -
Unit tests written (or tickets created) -
Follow on tickets created
Edited by Kenneth Maguire