Unverified Commit 88aaf51e authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

upgrade to next-gen CircleCI convenience images (#5712)

* upgrade to next-gen CircleCI convenience images

* [DEBUG] try latest Android NDK convenience image

* [DEBUG] try earliest next-gen android image
parent 93104c16
...@@ -266,7 +266,7 @@ smoke_test_common: &smoke_test_common ...@@ -266,7 +266,7 @@ smoke_test_common: &smoke_test_common
jobs: jobs:
circleci_consistency: circleci_consistency:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- pip_install: - pip_install:
...@@ -279,7 +279,7 @@ jobs: ...@@ -279,7 +279,7 @@ jobs:
lint_python_and_config: lint_python_and_config:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- pip_install: - pip_install:
...@@ -298,7 +298,7 @@ jobs: ...@@ -298,7 +298,7 @@ jobs:
lint_c: lint_c:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- apt_install: - apt_install:
args: libtinfo5 args: libtinfo5
...@@ -320,7 +320,7 @@ jobs: ...@@ -320,7 +320,7 @@ jobs:
type_check_python: type_check_python:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- apt_install: - apt_install:
args: libturbojpeg-dev args: libturbojpeg-dev
...@@ -338,7 +338,7 @@ jobs: ...@@ -338,7 +338,7 @@ jobs:
unittest_torchhub: unittest_torchhub:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- install_torchvision - install_torchvision
...@@ -347,7 +347,7 @@ jobs: ...@@ -347,7 +347,7 @@ jobs:
unittest_onnx: unittest_onnx:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- install_torchvision - install_torchvision
...@@ -359,7 +359,7 @@ jobs: ...@@ -359,7 +359,7 @@ jobs:
unittest_prototype: unittest_prototype:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
...@@ -373,7 +373,7 @@ jobs: ...@@ -373,7 +373,7 @@ jobs:
unittest_extended: unittest_extended:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
...@@ -535,7 +535,7 @@ jobs: ...@@ -535,7 +535,7 @@ jobs:
binary_android_build: binary_android_build:
<<: *torchvision_android_params <<: *torchvision_android_params
docker: docker:
- image: circleci/android:api-29-ndk - image: cimg/android:2021.08-ndk
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
...@@ -554,7 +554,7 @@ jobs: ...@@ -554,7 +554,7 @@ jobs:
binary_android_upload: binary_android_upload:
<<: *torchvision_android_params <<: *torchvision_android_params
docker: docker:
- image: circleci/android:api-29-ndk - image: cimg/android:2021.08-ndk
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
...@@ -613,7 +613,7 @@ jobs: ...@@ -613,7 +613,7 @@ jobs:
description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)" description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)"
type: string type: string
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- attach_workspace: - attach_workspace:
at: ~/workspace at: ~/workspace
...@@ -1037,7 +1037,7 @@ jobs: ...@@ -1037,7 +1037,7 @@ jobs:
build_docs: build_docs:
<<: *binary_common <<: *binary_common
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: 2xlarge+ resource_class: 2xlarge+
steps: steps:
- attach_workspace: - attach_workspace:
......
...@@ -266,7 +266,7 @@ smoke_test_common: &smoke_test_common ...@@ -266,7 +266,7 @@ smoke_test_common: &smoke_test_common
jobs: jobs:
circleci_consistency: circleci_consistency:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- pip_install: - pip_install:
...@@ -279,7 +279,7 @@ jobs: ...@@ -279,7 +279,7 @@ jobs:
lint_python_and_config: lint_python_and_config:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- pip_install: - pip_install:
...@@ -298,7 +298,7 @@ jobs: ...@@ -298,7 +298,7 @@ jobs:
lint_c: lint_c:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- apt_install: - apt_install:
args: libtinfo5 args: libtinfo5
...@@ -320,7 +320,7 @@ jobs: ...@@ -320,7 +320,7 @@ jobs:
type_check_python: type_check_python:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- apt_install: - apt_install:
args: libturbojpeg-dev args: libturbojpeg-dev
...@@ -338,7 +338,7 @@ jobs: ...@@ -338,7 +338,7 @@ jobs:
unittest_torchhub: unittest_torchhub:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- install_torchvision - install_torchvision
...@@ -347,7 +347,7 @@ jobs: ...@@ -347,7 +347,7 @@ jobs:
unittest_onnx: unittest_onnx:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- checkout - checkout
- install_torchvision - install_torchvision
...@@ -359,7 +359,7 @@ jobs: ...@@ -359,7 +359,7 @@ jobs:
unittest_prototype: unittest_prototype:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
...@@ -373,7 +373,7 @@ jobs: ...@@ -373,7 +373,7 @@ jobs:
unittest_extended: unittest_extended:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
...@@ -535,7 +535,7 @@ jobs: ...@@ -535,7 +535,7 @@ jobs:
binary_android_build: binary_android_build:
<<: *torchvision_android_params <<: *torchvision_android_params
docker: docker:
- image: circleci/android:api-29-ndk - image: cimg/android:2021.08-ndk
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
...@@ -554,7 +554,7 @@ jobs: ...@@ -554,7 +554,7 @@ jobs:
binary_android_upload: binary_android_upload:
<<: *torchvision_android_params <<: *torchvision_android_params
docker: docker:
- image: circleci/android:api-29-ndk - image: cimg/android:2021.08-ndk
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
...@@ -613,7 +613,7 @@ jobs: ...@@ -613,7 +613,7 @@ jobs:
description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)" description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)"
type: string type: string
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
steps: steps:
- attach_workspace: - attach_workspace:
at: ~/workspace at: ~/workspace
...@@ -1037,7 +1037,7 @@ jobs: ...@@ -1037,7 +1037,7 @@ jobs:
build_docs: build_docs:
<<: *binary_common <<: *binary_common
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
resource_class: 2xlarge+ resource_class: 2xlarge+
steps: steps:
- attach_workspace: - attach_workspace:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment