diff --git a/Test-Pull-Requests.md b/Test-Pull-Requests.md index 307b8a8..b6bfe0a 100644 --- a/Test-Pull-Requests.md +++ b/Test-Pull-Requests.md @@ -1,19 +1,20 @@ Now you can test pull requests without setting up any development environment. -You just need to use this docker image with specified pr repo name: +You just need to use this docker image with specified pr repo name. -v2.x.x +(2025-06-23) New shorten command: + +```bash +npx kuma-pr +# Example: npx kuma-pr Ionys320:fix/maintenance_drift +``` + +If you don't have Node.js (`npx`) installed, you can use the following command to run the docker container directly. ```bash docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=' louislam/uptime-kuma:pr-test2 ``` -v1.23.x - -```bash -docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=' louislam/uptime-kuma:pr-test -``` - Example: UPTIME_KUMA_GH_REPO=`chakflying:fix/beat-schedule-delay` You can copy the name from here easily: @@ -23,3 +24,9 @@ You can copy the name from here easily: Add `-v uptime-kuma-pr-test:/app/data` if you need a persistent storage. After started, go to http://localhost:3000 + +### Test v1.X PRs + +```bash +docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=' louislam/uptime-kuma:pr-test +```