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

Ruby: Add Ruby stack for GitLab #114

Open
joao10lima opened this issue Dec 17, 2021 · 0 comments
Open

Ruby: Add Ruby stack for GitLab #114

joao10lima opened this issue Dec 17, 2021 · 0 comments
Labels
A: Core Area: core module, where plugins and builtin templates lies A: Plugin - Stack Area: stack introspection and detection plugins S: Ruby Stack: Ruby T: Feature Type: a new feature

Comments

@joao10lima
Copy link
Contributor

joao10lima commented Dec 17, 2021

Context

According to the State of Developer Ecosystem 2021 survey by JetBrains, GitLab CI is the third most used CI system:
https://www.jetbrains.com/lp/devecosystem-2021/team-tools/#Which-Continuous-Integration-CI-systems-do-you-regularly-use

Following the Pipelinit roadmap to expand its supported platforms is necessary an implementation of all the current stacks on the GitLab platform.

Goal

Add Ruby stack for GitLab platform

Implementation

GitLab organizes its CI on different way from GitHub, first it uses a central file called .gitlab-ci.yml and other CIs must be linked to him.

  • Adapt the current GitHub implementation to the GitLab format:
    • Create template for the following stages (see this example):
      • lint.yaml
      • format.yaml
    • Then create an .gitlab-ci.yml and link those files in the include field as this example.

Reference:

To test

  • Create a free account on https://gitlab.com/
  • Create a new repository and push an Ruby project that you want to test Pipelinit
  • Push a commit to a branch and then open a Pull request with changes following the stack you're working.

Obs: You can check if the pipeline is correct before a commit using the tool https://pypi.org/project/gitlab-lint/ , install it with python3 -m pip install -g gitlab_lint

@joao10lima joao10lima added T: Feature Type: a new feature A: Core Area: core module, where plugins and builtin templates lies S: Ruby Stack: Ruby A: Plugin - Stack Area: stack introspection and detection plugins labels Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Core Area: core module, where plugins and builtin templates lies A: Plugin - Stack Area: stack introspection and detection plugins S: Ruby Stack: Ruby T: Feature Type: a new feature
Projects
None yet
Development

No branches or pull requests

1 participant