Yaml 当我生成时,配置处理错误循环ci

Yaml 当我生成时,配置处理错误循环ci,yaml,circleci,Yaml,Circleci,我面临配置处理错误(circle ci)的问题 我使用的材料 Aws云锋 aws s3 圆词 形势 我在AWS上做了设置,并为环境变量(circle ci)添加了值。我确实在git上提交并在circle ci上构建,但出现了一个错误,我无法找出这个错误 这是我的 错误 bin/sh -eo pipefail ERROR IN CONFIG FILE: [#/jobs] 8 schema violations found Any string key is al

我面临配置处理错误(circle ci)的问题

我使用的材料

  • Aws云锋
  • aws s3
  • 圆词
形势

我在AWS上做了设置,并为环境变量(circle ci)添加了值。我确实在git上提交并在circle ci上构建,但出现了一个错误,我无法找出这个错误

这是我的

错误

 bin/sh -eo pipefail
     ERROR IN CONFIG FILE:
     [#/jobs] 8 schema violations found
     Any string key is allowed as job name.
     1. [#/jobs/deploy-to-aws-cloudfront] 0 subschemas matched instead of one
     |   1. [#/jobs/deploy-to-aws-cloudfront] only 1 subschema matches out of 2
     |   |   1. [#/jobs/deploy-to-aws-cloudfront] 3 schema violations found
     |   |   |   1. [#/jobs/deploy-to-aws-cloudfront] required key [steps] not found
     |   |   |   2. [#/jobs/deploy-to-aws-cloudfront/docker/0] 2 schema violations found
     |   |   |   |   1. [#/jobs/deploy-to-aws-cloudfront/docker/0] extraneous key [steps] is not permitted
     |   |   |   |   |   Permitted keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - name
     |   |   |   |   |     - entrypoint
     |   |   |   |   |     - command
     |   |   |   |   |     - user
     |   |   |   |   |     - environment
     |   |   |   |   |     - aws_auth
     |   |   |   |   |     - auth
     |   |   |   |   |   Passed keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - working_directory
     |   |   |   |   |     - steps
     |   |   |   |   2. [#/jobs/deploy-to-aws-cloudfront/docker/0] extraneous key [working_directory] is not permitted
     |   |   |   |   |   Permitted keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - name
     |   |   |   |   |     - entrypoint
     |   |   |   |   |     - command
     |   |   |   |   |     - user
     |   |   |   |   |     - environment
     |   |   |   |   |     - aws_auth
     |   |   |   |   |     - auth
     |   |   |   |   |   Passed keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - working_directory
     |   |   |   |   |     - steps
     |   2. [#/jobs/deploy-to-aws-cloudfront] expected type: String, found: Mapping
     |   |   Job may be a string reference to another job
     2. [#/jobs/deploy-to-aws-s3] 0 subschemas matched instead of one
     |   1. [#/jobs/deploy-to-aws-s3] only 1 subschema matches out of 2
     |   |   1. [#/jobs/deploy-to-aws-s3] 3 schema violations found
     |   |   |   1. [#/jobs/deploy-to-aws-s3] required key [steps] not found
     |   |   |   2. [#/jobs/deploy-to-aws-s3/docker/0] 2 schema violations found
     |   |   |   |   1. [#/jobs/deploy-to-aws-s3/docker/0] extraneous key [steps] is not permitted
     |   |   |   |   |   Permitted keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - name
     |   |   |   |   |     - entrypoint
     |   |   |   |   |     - command
     |   |   |   |   |     - user
     |   |   |   |   |     - environment
     |   |   |   |   |     - aws_auth
     |   |   |   |   |     - auth
     |   |   |   |   |   Passed keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - working_directory
     |   |   |   |   |     - steps
     |   |   |   |   2. [#/jobs/deploy-to-aws-s3/docker/0] extraneous key [working_directory] is not permitted
     |   |   |   |   |   Permitted keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - name
     |   |   |   |   |     - entrypoint
     |   |   |   |   |     - command
     |   |   |   |   |     - user
     |   |   |   |   |     - environment
     |   |   |   |   |     - aws_auth
     |   |   |   |   |     - auth
     |   |   |   |   |   Passed keys:
     |   |   |   |   |     - image
     |   |   |   |   |     - working_directory
     |   |   |   |   |     - steps
     |   2. [#/jobs/deploy-to-aws-s3] expected type: String, found: Mapping
     |   |   Job may be a string reference to another job
     
     -------
     Warning: This configuration was auto-generated to show you the message above.
     Don't rerun this job. Rerunning will have no effect.
    false

配置处理错误忽略圆ci上的架构的原因。 在我的例子中,这是一个缩进错误


这篇文章有助于解决我的错误。

配置处理错误忽略圆ci上的架构的原因。 在我的例子中,这是一个缩进错误

这篇文章有助于解决我的错误