Skip to content

🍀 Proposal: More general CI plugin #907

Closed

Description

@steinliber

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

Since we now have gitlabci, githubaction, and jenkinsPipeline. All the CI operation has the following two configs:

  • Config project-related info, including trigger branch, corresponding CI script, and more.
  • Config detailed CI script and push this script to the project repo.

I think we can design a more general CI plugin for all these CI scenes instead of different languages and different platforms.

Design

Separate project config and Script config

With this design, we can have multi projects have the same ci config.

Put all CI templates in one repo

Since different platforms have different config files, we can put all CI files in one repo, like below, All our code logic is just to get a template and render it then push it to the code repo.

golang
  - .gitlab.ci
  - .github/workflow/
  - Jenkinsfile

Activity

  1. steinliber commented on Jul 27, 2022

    @steinliber
    Author

    This generical CI plugin will not replace all ci plugin,It will be a option to run ci

  2. daniel-hutao commented on Jul 28, 2022

    @daniel-hutao
    Member

    I suggest that:

    1. keep the simplicity of each ci-related plugins, such as githubactions-golang etc;
    2. add a ci-generic plugin is ok, similar to the logic of the helm-generic plugin, but do not use this plugin to replace the existing ci plugins.

    In short, from the user's point of view, it is important that the plugins are simple and easy to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions