tic
tic copied to clipboard
GitLab CI support
Hi, Are there any plans to support GitLab CI? Intro to CI: https://docs.gitlab.com/ee/ci/ List of the defined environment variables: https://docs.gitlab.com/ee/ci/variables/#list-all-environment-variables
No immediate plans so far as most traffic runs on GHA nowadays. However, supporting GitLab CI would definitely be a great addition.
Porting all functionality (API auth calls, updating templates, etc.) is a big task. We would like to get the package on CRAN first before adding another provider.
If you are keen, we're open to PR / proposals.
Thank you for the quick reply. What exactly should we implement for this?
Also there's package on CRAN which provide access to the GitLab API: gitlabr
.
Thanks, I am aware of {gitlabr}.
- Templates following our current style for GHA (installing deps, caching R packages)
- Auth helpers for getting owner and repo information to set up deployments
- Deployment init support (SSH key pair creation), see
use_ghactions_deploy()
- Template update support as done by
tic::update_yml()
One could start with a template for GitLab CI, then add SSH key and template updating support.