correct version to run against

This commit is contained in:
TheFox0x7 2024-04-01 01:21:59 +02:00
parent fbe3c3c59c
commit 5a5b461453
No known key found for this signature in database
GPG key ID: 6CA33903484AF7C2

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT
function test_upload_profiles() {
FORGEJO_URL="http://0.0.0.0:6060"
FORGEJO_URL="http://${IP}:6060"
PROFILECLI_URL="http://0.0.0.0:4040"
endpoints=("/debug/pprof/allocs" "/debug/pprof/block" "/debug/pprof/goroutine" "/debug/pprof/mutex" "/debug/pprof/profile?seconds=5")
@ -24,9 +24,9 @@ function test_forgejo_pprof() {
stop
docker run --name test_pyroscope --rm -d -p 4040:4040 docker.io/grafana/pyroscope
log_info "run 7.0.0"
log_info "run 8.0-dev"
start 7.0.0
start 8.0-dev
test_upload_profiles
stop