Shell to Python - One Liners
Background
The following shell scripts require minor updates/changes:
- local_import.sh
- no need to rewrite, exports env vars and is for local use only
- Add comments for purpose
- post-build-clamav.sh
- No longer used? Scanning within Anchore
- Move to scripts directory
- Add comment in script "From post-build stage originally. Now ClamAV is ran within Anchore"
- create-tar.sh
- import-run.sh
Acceptance Criteria
-
Comments added to local_import.sh -
post-buid-clamav.sh moved to scripts dir and comment added -
create-tar.sh converted to python script -
import-run.sh converted to python script
Definition of Done
-
Write or update any unit or integration tests -
Project pipeline runs successfully -
Add any applicable checkboxes for testing e.g. Ran pipeline in staging env or pipeline-test-project pipeline run -
Solution is captured as code and/or documentation and merge requests have been submitted -
Code review completed and merge request approved/merged -
All Acceptance Criteria have been completed
Edited by Cody Miller