Post modularization lint stage updates
As we continue to work through modularizing the pipeline, we should consider going back to the lint stage to make sure our design makes sense and make updates based on discoveries we make when working through the rest of the pipeline.
Some items to consider:
-
Add unit tests -
Update READMEsOpen a ticket to rethink our readme structure -
Should we update any modules based on discoveries from further modularization of the pipeline? - Not needed at this time
-
Refactor -
Need to move modules outside of scripts -
Need to group files by folder in modules -
Refactor lint_jobs.pyOpen a ticket to refactor lint jobs
-
-
Remove deprecated functions/methodsnot needed yet -
Remove artifact creation and env var creation where possiblemostly done, can be handled later -
Consider making new modules (i.e. would we benefit from Dockerfile, Trufflehog, Skopeo, Image, other modules?)- Docker -- create DockerParser class that inherits from FileParser
- Trufflehog -- only run in this stage. Works locally.
- Skopeo -- will not be addressed until harbor stage modularization. Might want to create modules for other container tools as well
- Image -- don't need this yet
- Other modules -- none noted
Edited by Kenneth Maguire