[OCI] Set default image to ubuntu LTS 22.04 #4517
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Set the default image for both GPU and CPU to ubuntu 22.04.
Please also help review the catalog PR skypilot-org/skypilot-catalog#107
All images are validated with the following passed tests:
test1: sky launch -c gpu-2204 examples/oci/gpu-ubuntu-2204.yaml (GPU ubuntu 22.04)
test2: sky launch -c gpu-ol9 examples/oci/gpu-oraclelinux9.yaml (GPU oraclelinux9)
test3: sky launch -c gpu-ol8 hysun_sky.yaml --image-id skypilot:gpu-oraclelinux8 (GPU oraclelinux8)
test4: sky launch -c gpu-2204 examples/oci/gpu-ubuntu-2204.yaml (comment out the image_id for testing the gpu default image)
test5: sky launch -c cputest --cloud oci --region us-sanjose-1 uptime (CPU default image: ubuntu 22.04)
test6: sky launch -c cputest --cloud oci --region us-sanjose-1 --image-id skypilot:cpu-oraclelinux8 "cat /etc/os-release" (CPU oraclelinux8)
test7: sky launch -c cputest --cloud oci --region us-sanjose-1 --image-id skypilot:cpu-oraclelinux9 "cat /etc/os-release" (CPU oraclelinux9)
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh