[RELEASE] Add autoscaler env to fix nightly tests (#23345)

The product backend doesn't yet understand that nightly Ray uses GCS-Ray. (This will be fixed when the next time the product control plane is deployed.)
This PR introduces the env required to signal to the product backend that we're using GCS-Ray so that the autoscaler can startup correctly.
This commit is contained in:
Dmitri Gekhtman 2022-03-18 17:48:27 -07:00 committed by GitHub
parent 65cc877ad8
commit 561e7a9677
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ class ClusterManager(abc.ABC):
self.cluster_env["env_vars"]["RAY_gcs_storage"] = "memory"
self.cluster_env["env_vars"]["RAY_USAGE_STATS_ENABLED"] = "1"
self.cluster_env["env_vars"]["RAY_USAGE_STATS_SOURCE"] = "nightly-tests"
self.cluster_env["env_vars"]["RAY_bootstrap_with_gcs"] = "1"
self.cluster_env_name = (
f"{self.project_name}_{self.project_id[4:8]}"