]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
readthedocs: fix 'The configuration key "build.image" is deprecated' 1894/head
authorVallari Agrawal <val.agl002@gmail.com>
Tue, 17 Oct 2023 09:16:42 +0000 (14:46 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Tue, 17 Oct 2023 13:39:00 +0000 (19:09 +0530)
builds are failing because support for deprecated “build.image” is
fully removed by readthedocs, need to use "build.os" instead.

ref: https://blog.readthedocs.com/use-build-os-config/
error: https://readthedocs.org/projects/teuthology/builds/22250705/

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
.readthedocs.yml

index 66f140c890183e2b4e294d18e8241e0d6669cdc8..99eab70f5982b6522da977b5b5f6ba57a4dbf41a 100644 (file)
@@ -5,9 +5,10 @@
 version: 2
 formats: []
 build:
-  image: latest
+  os: ubuntu-22.04
+  tools:
+    python: "3.7"
 python:
-  version: 3.7
   install:
     - method: pip
       path: .