With the recent announcement of Apple macOS M1 and M2 resource class deprecation, I went in to update a pipeline.
The CCI VSCode extension is warning me that the m4 resource classes are not valid. I don’t know if these come from the plugin itself, or the language server it uses, but some sort of enum likely needs to be updated I’d guess?
The class is underlined:
resource_class: [u]m4pro.medium[/u]
And the popup error says,
executors.apple-ci-x86-medium.resource_class must be one of the following: “small”, “medium”, “medium+”, “large”, “xlarge”, “2xlarge”, “2xlarge+”, “arm.medium”, “arm.large”, “arm.xlarge”, “arm.2xlarge”, “gpu.nvidia.small”, “gpu.nvidia.medium”, “windows.gpu.nvidia.medium”, “macos.m1.medium.gen1”, "macos.m1.large.gen1"cci-language-server
Self-hosted runner
https://circleci.com/docs/reference/configuration-reference/#resourceclass
Resource class for the job. Can be either a predefined resource class (e.g.,
medium,large) or a self-hosted runner in the format<namespace>/<runner-name>.