A service to run PR as a service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Lunny Xiao 97a0cf06ab
Use logger middleware
2 years ago
cmd Support build tag 2 years ago
docs init project 2 years ago
models Use logger middleware 2 years ago
pkgs Use logger middleware 2 years ago
public/js Update Commit status success 2 years ago
routers Use logger middleware 2 years ago
templates Update Commit status success 2 years ago
.gitignore Support build tag 2 years ago
Makefile Use logger middleware 2 years ago
README.md Remove OAuth2ServerURL 2 years ago
bindata_dynamic.go Support build tag 2 years ago
bindata_embed.go Support build tag 2 years ago
config.example.yaml Update config example file 2 years ago
docker-compose.yml Support build tag 2 years ago
go.mod Use logger middleware 2 years ago
go.sum Use logger middleware 2 years ago
main.go Support build tag 2 years ago

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