Sha256: 0b005a340907f70283ea0322580e81e79e44c4906b24a1641fd19d64fffc905c

Contents?: true

Size: 949 Bytes

Versions: 6

Compression:

Stored size: 949 Bytes

Contents

# Shared Example

This example is a bit contrived, but serves to illustrate how joining pipelines works.

[`common_pipeline.rb`](./common_pipeline.rb) is a full, standalone pipeline with resources
and several jobs that is fully flyable.

![Common Pipeline](../images/shared/common.png)

[`wrapper_pipeline.rb`](./wrapper_pipeline.rb) is another full pipeline that incorporates
the entirety of `common_pipeline.rb` and augments it with an additional timer, one new
job that requires the final job from `common_pipeline.rb`, and its own job that only
depends on a single resource from the common pipeline.

![Wrapper Pipeline](../images/shared/wrapper.png)

[`borrows_pipeline.rb`](./borrows_pipeline.rb) is a single job pipeline that borrows
the git resource from the `common_pipeline.rb` (actually, it would borrow any git
resource from that pipeline, there just happens to be only one right now).

![Borrows Pipeline](../images/shared/borrows.png)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rudder-0.3.1 examples/shared/README.md
rudder-0.3.0 examples/shared/README.md
rudder-0.2.2 examples/shared/README.md
rudder-0.2.1 examples/shared/README.md
rudder-0.2.0 examples/shared/README.md
rudder-0.1.0 examples/shared/README.md