mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 03:13:16 +00:00
ci: bind alloy smoke test to real port (clustering needs non-zero)
This commit is contained in:
1 parent
b1911c0538
commit
513f688ea0
1 file changed
+1
-1
Vendored
+1
-1
@@ -55,7 +55,7 @@ jobs:
|
||||
-v /tmp/empty-journal:/var/log/journal:ro \
|
||||
-v /etc/machine-id:/etc/machine-id:ro \
|
||||
grafana/alloy:v1.10.0 \
|
||||
run --server.http.listen-addr=127.0.0.1:0 /etc/alloy/config.alloy
|
||||
run --server.http.listen-addr=127.0.0.1:12345 --disable-reporting /etc/alloy/config.alloy
|
||||
sleep 10
|
||||
docker logs alloy-test 2>&1 | tee /tmp/alloy.log
|
||||
state=$(docker inspect -f '{{.State.Status}}' alloy-test 2>/dev/null || echo missing)
|
||||
|
||||
Reference in new issue
Block a user