You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not allow that though - instead it wants a pre-defined (via an "exectors:" stanza) executor, and no longer allows the "machine:" key directly under a job definition.
jobs:
build: # name of your job
machine: # executor type
image: ubuntu-2004:202010-01 # # recommended linux image - includes Ubuntu 20.04, docker 19.03.13, docker-compose 1.27.4
steps:
# Commands run in a Linux virtual machine environment
Consequently, I'm getting complaints from PyCharm, which is following the schema defined in this repo.
❌ Actual Behavior
PyCharm is flagging my CircleCI config as invalid, but it's working just fine at CircleCI.
YAML or JSON file that does not work.
Minimal example .circleci/config.yaml illustrating the problem:
Actually this started failing for me again at some point after the issue was closed. I haven't tracked down the offending change. I'm using Pycharm, but I suspect that the IDE doesn't matter, it's the schema that has regressed.
Area with issue?
JSON Schema
✔️ Expected Behavior
I have a CircleCI config file in which I have jobs defined (in part) like:
The current version of the CircleCI schema served at:
https://json.schemastore.org/circleciconfig.json
Does not allow that though - instead it wants a pre-defined (via an "exectors:" stanza) executor, and no longer allows the "machine:" key directly under a job definition.
This is in conflict with the current CircleCI docs, specifically the example shown here: https://circleci.com/docs/executor-intro/#linux-vm
and copied here:
Consequently, I'm getting complaints from PyCharm, which is following the schema defined in this repo.
❌ Actual Behavior
PyCharm is flagging my CircleCI config as invalid, but it's working just fine at CircleCI.
YAML or JSON file that does not work.
Minimal example
.circleci/config.yaml
illustrating the problem:IDE or code editor.
IntelliJ and it's derivatives
Are you making a PR for this?
No, someone else must create the PR.
The text was updated successfully, but these errors were encountered: