Skip to content

🍀 Proposal: gitlab-ci general plugins #1215

@steinliber

Description

@steinliber

What Would You Like to Add? Why Is This Needed?

we should add a plugin for gitlab-ci with a more generic function. we have java, python, nodejs for now, But their design is too simple. We can create a new gitlab-ci plugin for more generic usage.

Design

  • support sonarqube
  • support multi language
  • support image repo
  • support notify (dingding)
  • support gitlab-runner

Anything else

  • example config
tools:
- name: gitlab-ci
  instanceID: default
  dependsOn: [ ]
  options:
    scm:
      cloneURL: git@gitlab.com/test/test-exmaple.git
      branch: YOUR_PROJECT_BRANCH
    ci:
      configLocation: git@github.com:devstream-io/devstream.git//.github/workflows
      imageRepo:
        url: http://harbor.example.com:80
        user: admin
      dingTalk:
        name: YOUR_DINGTALK_ROBOT_NAME
        webhook: https://oapi.dingtalk.com/robot/send?access_token=changemeByConfig
        securityType: YOUR_DINGTALK_SECRET_TYPE
        securityValue: YOUR_DINGTALK_SECRET_VALUE
      sonarqube:
        url: http://sonar.example.com
        token: YOUR_SONAR_TOKEN
        name: sonar_test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions