chore: expose support integration errors during deploy
Deploy olons-server production / deploy (push) Successful in 1m9s
Deploy olons-server production / deploy (push) Successful in 1m9s
This commit is contained in:
@@ -81,6 +81,11 @@ jobs:
|
|||||||
internal_secret="$(docker inspect "$im_container" --format '"'"'{{range .Config.Env}}{{println .}}{{end}}'"'"' | sed -n '"'"'s/^INTERNAL_API_HOTGO_SECRET=//p'"'"' | head -n 1)"
|
internal_secret="$(docker inspect "$im_container" --format '"'"'{{range .Config.Env}}{{println .}}{{end}}'"'"' | sed -n '"'"'s/^INTERNAL_API_HOTGO_SECRET=//p'"'"' | head -n 1)"
|
||||||
test -n "$internal_secret"
|
test -n "$internal_secret"
|
||||||
|
|
||||||
|
olons_container="$(docker compose -f "$base_file" ps -q olons-server)"
|
||||||
|
if [ -n "$olons_container" ]; then
|
||||||
|
docker logs "$olons_container" --since 30m 2>&1 | grep "customer service session failed" | tail -n 20 || true
|
||||||
|
fi
|
||||||
|
|
||||||
umask 077
|
umask 077
|
||||||
{
|
{
|
||||||
printf "OLONS_IM_INTERNAL_SECRET=%s\n" "$internal_secret"
|
printf "OLONS_IM_INTERNAL_SECRET=%s\n" "$internal_secret"
|
||||||
|
|||||||
Reference in New Issue
Block a user