A service to run PR as a service.
Go to file
Lunny Xiao 97a0cf06ab
Use logger middleware
2021-11-15 21:27:14 +08:00
cmd Support build tag 2021-11-01 13:23:41 +08:00
docs init project 2021-10-26 16:19:08 +08:00
models Use logger middleware 2021-11-15 21:27:14 +08:00
pkgs Use logger middleware 2021-11-15 21:27:14 +08:00
public/js Update Commit status success 2021-10-28 23:40:41 +08:00
routers Use logger middleware 2021-11-15 21:27:14 +08:00
templates Update Commit status success 2021-10-28 23:40:41 +08:00
.gitignore Support build tag 2021-11-01 13:23:41 +08:00
Makefile Use logger middleware 2021-11-15 21:27:14 +08:00
README.md Remove OAuth2ServerURL 2021-10-27 15:28:41 +08:00
bindata_dynamic.go Support build tag 2021-11-01 13:23:41 +08:00
bindata_embed.go Support build tag 2021-11-01 13:23:41 +08:00
config.example.yaml Update config example file 2021-11-01 13:30:11 +08:00
docker-compose.yml Support build tag 2021-11-01 13:23:41 +08:00
go.mod Use logger middleware 2021-11-15 21:27:14 +08:00
go.sum Use logger middleware 2021-11-15 21:27:14 +08:00
main.go Support build tag 2021-11-01 13:23: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