harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
32.09k stars 2.8k forks source link

Gitness repository extension #3410

Open rainfall-tejaswini opened 11 months ago

rainfall-tejaswini commented 11 months ago

Github provide a discussions which we usually used for documentation and the review co-ordination purpose, does Gitness have same things or any plan for adding new feature. Can any one share steps to write our own custom plugin for comments and discussion using Drone and Gitness.

johannesHarness commented 10 months ago

Hey @rainfall-tejaswini, I'm not sure I understand the first part of your question regarding the github discussions, could you elaborate?

rainfall-tejaswini commented 10 months ago

Can we access Gitness local repository using Plugin and can you send me the format of it...

vistaarjuneja commented 10 months ago

hey @rainfall-tejaswini , not sure I got exactly what you meant but we do have custom plugins which perform some action given some input. You can look at all the env variables which are exposed to build steps using printenv in a step. You can write a plugin implementation (a docker container which performs some task given some input) and integrate that into your pipeline. But sounds like what you are describing here would probably be a new feature for adding support for discussions on gitness.

rainfall-datta commented 10 months ago

HI, How to write your own custom plugin and integrate in gitness? I am also looking for the same solution

rainfall-datta commented 10 months ago

implementation

Writing custom plugin create image push that on docker hub and utilize same in plugin.. that I have tried but not working. If anyone has specific working example that will help

bradrydzewski commented 10 months ago

I think there may be some confusion in this thread. As I understand, the ask is to provide a feature similar to GitHub Discussions (screenshot below for reference). Plugins can only be used to add features to pipelines (a Gitness plugin is equivalent to a GitHub Action or CircleCI orb); plugins cannot be used to add core functionality and screens to the product.

(please correct me if I am misunderstanding the feature request)

github discussions screenshot