fix: make support IM delivery recoverable
Deploy olons-server production / deploy (push) Successful in 3m38s
Deploy olons-server production / deploy (push) Successful in 3m38s
This commit is contained in:
@@ -89,10 +89,10 @@ jobs:
|
||||
umask 077
|
||||
{
|
||||
printf "OLONS_IM_INTERNAL_SECRET=%s\n" "$internal_secret"
|
||||
printf "OLONS_IM_BASE_URL=https://im-api.yuexuan.shop\n"
|
||||
printf "OLONS_IM_HTTP_API_URL=https://im-api.yuexuan.shop/v1/im\n"
|
||||
printf "OLONS_IM_WS_URL=wss://im-api.yuexuan.shop/v0/channels\n"
|
||||
printf "OLONS_IM_FILE_URL=https://im-api.yuexuan.shop/v0/file\n"
|
||||
printf "OLONS_IM_BASE_URL=http://im-server:6060\n"
|
||||
printf "OLONS_IM_HTTP_API_URL=http://im-server:6060/v1/im\n"
|
||||
printf "OLONS_IM_WS_URL=ws://im-server:6060/v0/channels\n"
|
||||
printf "OLONS_IM_FILE_URL=http://im-server:6060/v0/file\n"
|
||||
printf "OLONS_IM_TENANT_CODE=default\n"
|
||||
printf "OLONS_IM_API_KEY=AQAAAAABAAAnbYhUP5GAkexs5qlwQ8fR\n"
|
||||
printf "OLONS_IM_INTERNAL_SERVICE=olons-server\n"
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
docker compose -f "$base_file" -f compose.olons-server-secret.yaml up -d --no-deps --wait olons-server
|
||||
docker compose -f "$base_file" -f compose.olons-server-secret.yaml exec -T olons-server sh -c '"'"'
|
||||
test -n "$OLONS_IM_INTERNAL_SECRET"
|
||||
test "$OLONS_IM_BASE_URL" = "https://im-api.yuexuan.shop"
|
||||
test "$OLONS_IM_HTTP_API_URL" = "https://im-api.yuexuan.shop/v1/im"
|
||||
test "$OLONS_IM_BASE_URL" = "http://im-server:6060"
|
||||
test "$OLONS_IM_HTTP_API_URL" = "http://im-server:6060/v1/im"
|
||||
'"'"'
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user