Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 821 Bytes

Test-Pull-Requests.md

File metadata and controls

28 lines (16 loc) · 821 Bytes

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:

v2.x.x

docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=<PR REPO, YOU CAN COPY>' louislam/uptime-kuma:pr-test2

v1.23.x

docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=<PR REPO, YOU CAN COPY>' louislam/uptime-kuma:pr-test

Example: UPTIME_KUMA_GH_REPO=chakflying:fix/beat-schedule-delay

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