KBVE / kbve

KBVE Monorepo
https://kbve.com/
11 stars 11 forks source link

[Concept] : GitLab + Github Integration #781

Closed h0lybyte closed 4 months ago

h0lybyte commented 8 months ago

SCOPE:

Core Concept/Theory

A clear and concise description of what the concept is. Ex. It would be cool if [...]

The core concept involves synchronizing a repository between GitHub and GitLab. All code changes and version control activities are performed on GitHub, which serves as the central code repository. GitLab, on the other hand, is used for its advanced CI/CD pipelines, issue tracking, and private repository features. This integration aims to combine GitHub's widespread adoption and user-friendly interface with GitLab's comprehensive DevOps toolchain, providing a robust environment for software development, testing, and deployment. The synchronization ensures that any update made on GitHub is automatically reflected on GitLab, enabling seamless workflow across both platforms.

Alternative Ideas

  1. Mirror Repository: Instead of a full integration, set up a mirror of the GitHub repository in GitLab, where GitLab only reflects the current state of the GitHub repo without the need for back-and-forth synchronization.
  2. Dedicated CI/CD Pipeline: Use GitLab exclusively for running CI/CD pipelines for projects hosted on GitHub, by pushing only the necessary branches or tags to GitLab for testing and deployment.
  3. Cross-Platform Issue Tracking: Utilize GitLab for issue tracking and project management while keeping the code on GitHub, benefiting from GitLab's advanced project management features.

Alternative Examples/Sources

Additional Information

When integrating GitHub with GitLab, consider the following:

This hybrid approach allows teams to leverage the specific advantages of both GitHub and GitLab, ensuring a flexible, powerful, and efficient development process. By keeping the code on GitHub for its collaborative features and using GitLab for private repositories, CI/CD, and custom actions, teams can create a best-of-both-worlds scenario for software development and deployment.

h0lybyte commented 4 months ago

We can close this issue ticket out and move it into this one: https://github.com/KBVE/kbve/issues/1955