A service to run PR as a service.
Go to file
Lunny Xiao df4bfd8517
Update Commit status success
2021-10-28 23:40:41 +08:00
cmd Update Commit status success 2021-10-28 23:40:41 +08:00
docs init project 2021-10-26 16:19:08 +08:00
models Update Commit status success 2021-10-28 23:40:41 +08:00
pkgs Update Commit status success 2021-10-28 23:40:41 +08:00
public/js Update Commit status success 2021-10-28 23:40:41 +08:00
routers Update Commit status success 2021-10-28 23:40:41 +08:00
templates Update Commit status success 2021-10-28 23:40:41 +08:00
.gitignore Update Commit status success 2021-10-28 23:40:41 +08:00
README.md Remove OAuth2ServerURL 2021-10-27 15:28:41 +08:00
config.example.yaml Remove OAuth2ServerURL 2021-10-27 15:28:41 +08:00
go.mod Update Commit status success 2021-10-28 23:40:41 +08:00
go.sum Update Commit status success 2021-10-28 23:40:41 +08:00
main.go Update Commit status success 2021-10-28 23:40:41 +08:00

README.md

PR-Deployer help Gitea to run some PR as a gitea instance for easier testing.

Since sometiems we need to check if the PR is like what expected in the UI and don't want to run it locally, We can deployer the PR as a service as https://try-pr-{index}.gitea.io. If the process is almost automatically, it will help all contributors.

The project aims to do that. It will allow the users who has write permission to the repository to start or stop a PR service via a web interface. (If the web interface supports mobile that's awesome.)

Flow

Flow of the deployment

Requirement

  • OAuth2 Application client code and token for Github or Gitea
  • A personal access token for Github or Gitea
  • A token to visit cloudflare API

Installation

go install gitea.com/gitea/pr-deployer

Running

pr-deployer