A service to run PR as a service.
Go to file
Lunny Xiao fdf53dd4be
Remove OAuth2ServerURL
2021-10-27 15:28:41 +08:00
cmd init project 2021-10-26 16:19:08 +08:00
docs init project 2021-10-26 16:19:08 +08:00
pkgs Remove OAuth2ServerURL 2021-10-27 15:28:41 +08:00
routers login with oauth2 & update commit status 2021-10-27 15:26:00 +08:00
templates login with oauth2 & update commit status 2021-10-27 15:26:00 +08:00
.gitignore login with oauth2 & update commit status 2021-10-27 15:26:00 +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 login with oauth2 & update commit status 2021-10-27 15:26:00 +08:00
go.sum login with oauth2 & update commit status 2021-10-27 15:26:00 +08:00
main.go login with oauth2 & update commit status 2021-10-27 15:26:00 +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