mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-11 12:34:04 +02:00
Update pr
parent
701c80d92a
commit
ce4ea3a388
1 changed files with 15 additions and 8 deletions
|
@ -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 <PR REPO, YOU CAN COPY>
|
||||
# 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=<PR REPO, YOU CAN COPY>' 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=<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:
|
||||
|
@ -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=<PR REPO, YOU CAN COPY>' louislam/uptime-kuma:pr-test
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue