mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
[ci/release] Fix fetching logs from staging clusters (#26515)
Replaces a formerly hard-coded URI to anyscale prod with the respective env variable. Signed-off-by: Kai Fricke <kai@anyscale.com>
This commit is contained in:
parent
cf75cf7232
commit
e4a4f7de70
1 changed files with 7 additions and 2 deletions
|
@ -17,7 +17,12 @@ from ray_release.exception import (
|
|||
)
|
||||
from ray_release.file_manager.file_manager import FileManager
|
||||
from ray_release.logger import logger
|
||||
from ray_release.util import exponential_backoff_retry, format_link, get_anyscale_sdk
|
||||
from ray_release.util import (
|
||||
exponential_backoff_retry,
|
||||
format_link,
|
||||
get_anyscale_sdk,
|
||||
ANYSCALE_HOST,
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from anyscale.sdk.anyscale_client.sdk import AnyscaleSDK
|
||||
|
@ -153,7 +158,7 @@ class SDKRunner(CommandRunner):
|
|||
query_params={"start_line": -LAST_LOGS_LENGTH, "end_line": 0},
|
||||
header_params={},
|
||||
response_type=object,
|
||||
_host="https://console.anyscale.com",
|
||||
_host=str(ANYSCALE_HOST),
|
||||
_preload_content=True,
|
||||
_return_http_data_only=False,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue