Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLab CI support #288

Open
artemklevtsov opened this issue Sep 11, 2020 · 3 comments
Open

GitLab CI support #288

artemklevtsov opened this issue Sep 11, 2020 · 3 comments
Labels

Comments

@artemklevtsov
Copy link

artemklevtsov commented Sep 11, 2020

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

@pat-s pat-s added the feature label Sep 11, 2020
@pat-s
Copy link
Member

pat-s commented Sep 11, 2020

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.

@artemklevtsov
Copy link
Author

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.

@pat-s
Copy link
Member

pat-s commented Sep 11, 2020

Thanks, I am aware of {gitlabr}.

  1. Templates following our current style for GHA (installing deps, caching R packages)
  2. Auth helpers for getting owner and repo information to set up deployments
  3. Deployment init support (SSH key pair creation), see use_ghactions_deploy()
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants