Add also a GitHub Action to accelerate the start of the GitLab CI. We use the official GitHub mirror to Gitlab CI feature of gitlab.com.
This feature works quit well, but it has a big disadvantage. gitlab.com is looking from time to time, if something changed in your GitHub repository and if yes, it triggers the mirror process. The check interval depends on the server utilization of gitlab.com. Therefore a CI start can vary from a few seconds until some minutes.
We solved the problem, with a GitHub Action jobs. The job starts directly after pushing a commit or open a pull request and simply push the changes to gitlab.com. This triggers the CI and gitlab creates the CI link in the pull request. With the GitHub action the CI startup time is constant about some seconds.
A positive side effect is also, that we have a GitHub Action job, which represent the GitLab CI. With this job, we can also configure a execution order between GitHub Action jobs and GitLab CI.
Add also a GitHub Action to accelerate the start of the GitLab CI. We use the official GitHub mirror to Gitlab CI feature of gitlab.com.
This feature works quit well, but it has a big disadvantage. gitlab.com is looking from time to time, if something changed in your GitHub repository and if yes, it triggers the mirror process. The check interval depends on the server utilization of gitlab.com. Therefore a CI start can vary from a few seconds until some minutes.
We solved the problem, with a GitHub Action jobs. The job starts directly after pushing a commit or open a pull request and simply push the changes to gitlab.com. This triggers the CI and gitlab creates the CI link in the pull request. With the GitHub action the CI startup time is constant about some seconds.
A positive side effect is also, that we have a GitHub Action job, which represent the GitLab CI. With this job, we can also configure a execution order between GitHub Action jobs and GitLab CI.