Skip to content

🍀 Proposal: github-action plugin #1195

Closed

Description

@steinliber

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

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

Design

  • support sonarqube
  • support multi language
  • support image repo
  • support notify (dingding)

Anything else

Activity

  1. daniel-hutao commented on Oct 27, 2022

    @daniel-hutao
    Member

    lgtm, but could you give some more detailed design here?

  2. steinliber commented on Oct 27, 2022

    @steinliber
    Author
    tools:
    - name: github-action
      instanceID: default
      dependsOn: [ ]
      options:
        scm:
          cloneURL: git@github.com/test/test-exmaple.git
          branch: YOUR_PROJECT_BRANCH
        action:
          actionFilePath: 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
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions