From 664efdbf58c60c522d16165bca0f18694d91d410 Mon Sep 17 00:00:00 2001 From: Jiao Date: Tue, 20 Jul 2021 17:03:14 -0700 Subject: [PATCH] [Release] change default expiration to 2 days in order to prevent custodian kill it early morning (#17215) Co-authored-by: Jiao Dong (cherry picked from commit f4f702c595521ced800baeca2beaba8bda1cd6fa) --- release/long_running_tests/app_config.yaml | 2 +- release/long_running_tests/tpl_cpu_1.yaml | 2 +- release/long_running_tests/tpl_cpu_2.yaml | 2 +- release/long_running_tests/tpl_cpu_3.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release/long_running_tests/app_config.yaml b/release/long_running_tests/app_config.yaml index 0184afa9d..4a7a6bc54 100755 --- a/release/long_running_tests/app_config.yaml +++ b/release/long_running_tests/app_config.yaml @@ -9,9 +9,9 @@ python: conda_packages: [] post_build_cmds: + - 'rm -r wrk || true && git clone https://github.com/wg/wrk.git /tmp/wrk && cd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin' - pip uninstall -y numpy ray || true - sudo rm -rf /home/ray/anaconda3/lib/python3.7/site-packages/numpy - pip3 install numpy || true - pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }} - pip3 install -U ray[all] gym[atari] - - 'rm -r wrk || true && git clone https://github.com/wg/wrk.git /tmp/wrk && cd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin' diff --git a/release/long_running_tests/tpl_cpu_1.yaml b/release/long_running_tests/tpl_cpu_1.yaml index 965fc0016..1045aa894 100644 --- a/release/long_running_tests/tpl_cpu_1.yaml +++ b/release/long_running_tests/tpl_cpu_1.yaml @@ -21,4 +21,4 @@ aws: - Key: anyscale-user Value: '{{env["ANYSCALE_USER"]}}' - Key: anyscale-expiration - Value: '{{env["EXPIRATION_1D"]}}' + Value: '{{env["EXPIRATION_2D"]}}' diff --git a/release/long_running_tests/tpl_cpu_2.yaml b/release/long_running_tests/tpl_cpu_2.yaml index 683b701c3..515fd5826 100644 --- a/release/long_running_tests/tpl_cpu_2.yaml +++ b/release/long_running_tests/tpl_cpu_2.yaml @@ -21,4 +21,4 @@ aws: - Key: anyscale-user Value: '{{env["ANYSCALE_USER"]}}' - Key: anyscale-expiration - Value: '{{env["EXPIRATION_1D"]}}' + Value: '{{env["EXPIRATION_2D"]}}' diff --git a/release/long_running_tests/tpl_cpu_3.yaml b/release/long_running_tests/tpl_cpu_3.yaml index b2817c9b2..b0a49ffc4 100644 --- a/release/long_running_tests/tpl_cpu_3.yaml +++ b/release/long_running_tests/tpl_cpu_3.yaml @@ -21,4 +21,4 @@ aws: - Key: anyscale-user Value: '{{env["ANYSCALE_USER"]}}' - Key: anyscale-expiration - Value: '{{env["EXPIRATION_1D"]}}' + Value: '{{env["EXPIRATION_2D"]}}'