Browse Source

Update set-pipeline example

The first job should update the pipeline that the job belongs to. If
this doesn't happen then any changes to the pipeline won't take affect
until a second build is triggered

Signed-off-by: Taylor Silva <tsilva@pivotal.io>
pull/3/head
Taylor Silva 6 years ago
parent
commit
c027d7467b
  1. 9
      pipelines/set-pipelines.yml

9
pipelines/set-pipelines.yml

@ -7,13 +7,20 @@ resources:
uri: https://github.com/concourse/examples
jobs:
- name: set-example-pipelines
# update this pipeline before updating child pipelines
- name: set-self
public: true
plan:
- get: concourse-examples
trigger: true
- set_pipeline: set-pipelines
file: concourse-examples/pipelines/set-pipelines.yml
- name: set-example-pipelines
public: true
plan:
- get: concourse-examples
trigger: true
passed: [set-self]
- set_pipeline: job
file: concourse-examples/pipelines/hello-world.yml
- set_pipeline: separate-task-config

Loading…
Cancel
Save