mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00

It fixes the mysterious error when all cluster env build is failing when pip uninstall / pip install is written in 2 lines. The root cause will be fixed later
15 lines
537 B
YAML
15 lines
537 B
YAML
base_image: {{ env["RAY_IMAGE_NIGHTLY_CPU"] | default("anyscale/ray:nightly-py37") }}
|
|
env_vars: {}
|
|
debian_packages:
|
|
- curl
|
|
- unzip
|
|
|
|
python:
|
|
pip_packages: []
|
|
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'
|
|
- pip3 uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|
|
- pip install pytest
|