Modularize invoke tasks
What does this MR do?
Modularizes the tasks.py
file used by Invoke
to read task definitions.
- Tasks have been moved to
lib/tasks
- Tasks for running unit tests and listing Python have been added
- The default task that executes when running
invoke
in a shell will run both unit tests and Python linting
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Job definition example -
Vendored CI Templates (also in CE)
-
-
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer