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

Docker: Add Docker stack for GitLab #119

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

Docker: Add Docker stack for GitLab #119

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: Docker Stack: Docker 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 Docker 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
    • 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 a Docker 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 A: Plugin - Stack Area: stack introspection and detection plugins T: Feature Type: a new feature A: Core Area: core module, where plugins and builtin templates lies S: Docker Stack: Docker 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: Docker Stack: Docker T: Feature Type: a new feature
Projects
None yet
Development

No branches or pull requests

1 participant