0

I am brand new to the concourse and trying to set up a pipeline through the pipeline but why am I getting this error on my very first pipeline, can anyone help out?

''' jobs:

  • name: update-library-cache serial: true plan:

    • get: library_cache
    • get: infra trigger: true
    • in_parallel:
      • {task: update-library-cache, file:infra/ci/tasks/update-preprod-library-cache.yml}
    • {put: library_cache, params: {file: updated_cache/infra-cache-*.tgz}}
  • name: build serial: true plan:

    • {get: api, trigger: true}
    • get: infra
    • get: library_cache
    • in_parallel: -steps:
      • {task: js, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: js}, attempts:2}
      • {task: api, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: api}, attempts:2}
      • {task: worker, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: worker}, attempts:2}

When Executing pipeline:

the task: js , api and worker are not populating in the pipeline.

Is the syntax is correct for:

- in_parallel:
          -steps:
          - {task: js, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: js}, attempts:2}
          - {task: api, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: api}, attempts:2}
          - {task: worker, file: infra/ci/tasks/build-service.yml, privileged: true, params: {TARGET_CFG: ((alpha)), SERVICE: worker}, attempts:2}
Sanju
  • 1
  • 2

0 Answers0