gitlab_ci.py 497 B

12345678910111213141516
  1. from ..core.module import Module
  2. from ..core.registry import register_module
  3. @register_module(
  4. name="gitlab-ci",
  5. description="Manage GitLab CI/CD pipelines",
  6. files=[".gitlab-ci.yml", ".gitlab-ci.yaml", "gitlab-ci.yml", "gitlab-ci.yaml"]
  7. )
  8. class GitLabCIModule(Module):
  9. """Module for managing GitLab CI/CD pipelines."""
  10. def __init__(self):
  11. super().__init__(name=self.name, description=self.description, files=self.files)
  12. def register(self, app):
  13. return super().register(app)