Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

fru-io/repo-chat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDEV-Live Repo Chat Bot Library

DDEV-Live logo

This repository provides common functionality for GitHub and GitLab bot which enables DDEV-Live users to communicate with the platform using comments on PRs or MRs formatted as commands.

The library works in conjunction with ddev-live-sdk and expects the DDEV-Live platform to be deployed on a kubernetes cluster.

Usage

This is currently used by github-operator and gitlab-webhook-server. They both serve as webhook servers watching on events from respective git providers and respond back with information to the user.

Currently supported commands are:

Command Explanation
/ddev-live-preview-site Provision new preview site or report back the most current status of the preview site.
/ddev-live-delete-preview-site Manually trigger deletion of the preview site when you no longer require it.
/ddev-live-help Display usage and help message how to interact with DDEV-Live bot.

There are also automatic triggers built in:

  • New PRs created, that can be used for preview site creation - triggers /ddev-live-help to provide basic information for the user
  • PR is closed both by merge or without merging, the preview site is automatically deleted as if user called /ddev-live-delete-preview-site

About

Common functionality for GitHub and GitLab bot for DDEV-Live

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages