rudder 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +1 -1
- data/README.md +9 -3
- data/docs/Rudder/DSL/Component.html +1 -1
- data/docs/Rudder/DSL/Group.html +1 -1
- data/docs/Rudder/DSL/Job.html +1 -1
- data/docs/Rudder/DSL/Pipeline.html +521 -243
- data/docs/Rudder/DSL/Resource.html +1 -1
- data/docs/Rudder/DSL/ResourceType.html +1 -1
- data/docs/Rudder/DSL/Util.html +73 -27
- data/docs/Rudder/DSL.html +1 -1
- data/docs/Rudder.html +2 -2
- data/docs/_index.html +1 -1
- data/docs/file.README.html +13 -4
- data/docs/index.html +13 -4
- data/docs/method_list.html +44 -28
- data/docs/top-level-namespace.html +1 -1
- data/examples/groups/groups_pipeline.rb +2 -2
- data/examples/groups/jobs/bash_stuff/date.rb +1 -1
- data/examples/groups/jobs/bash_stuff/hello.rb +1 -1
- data/examples/groups/jobs/git_stuff/log.rb +2 -2
- data/examples/groups/jobs/git_stuff/ls.rb +3 -3
- data/examples/includes/includes_pipeline.rb +2 -2
- data/examples/shared/borrows_pipeline.rb +1 -1
- data/examples/shared/wrapper_pipeline.rb +2 -3
- data/lib/rudder/dsl/pipeline.rb +130 -9
- data/lib/rudder/dsl/util.rb +15 -9
- data/lib/rudder/version.rb +1 -1
- data/rudder.gemspec +8 -0
- metadata +8 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d88b73843f357d2fbcb932a6001f29e6c19e8740f592f9442ec18a7f5418e5a6
|
|
4
|
+
data.tar.gz: f07cd0264b317dc201ae2730c59275cb018f95a6ce9f14999c5bedcadd21b8ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92b3ccc2602db50143a90b68edcafaee418313a0e316f470afcaef364781712b893050d59402ea46b877f3d9a2f9c4fc54b187052921f3ba9448a5dd94c50688
|
|
7
|
+
data.tar.gz: c5625a3bd60efa88b0a93a973281229f4d8b145fa67875535803f3fe7f66e641b999d2c8b54d0829fa2311d4b25589cc2dc62805c470b3085f4e5558f4e06ec6
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented here.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.2.0] - 2019-08-08
|
|
9
|
+
### Added
|
|
10
|
+
- Added helper methods `#merge_components` and `#include_pipeline`. Supports
|
|
11
|
+
various convenient methods to import external Pipelines and components
|
|
12
|
+
into the current definition.
|
|
13
|
+
|
|
14
|
+
### Breaking Changes
|
|
15
|
+
- `#load_component` helper method has been renamed `#include_component`.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [0.1.0] - 2019-01-08
|
|
19
|
+
### Added
|
|
20
|
+
- Initial implementation of Rudder DSL. Includes:
|
|
21
|
+
-- Support for pipeline primitives (resources, resource types, jobs, groups)
|
|
22
|
+
-- Pipeline definition support with various helper methods
|
|
23
|
+
-- Compiles to YAML
|
|
24
|
+
-- CLI
|
|
25
|
+
-- Examples
|
|
26
|
+
-- Docs
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# Rudder
|
|
2
2
|
|
|
3
|
+
[](https://badge.fury.io/rb/rudder)
|
|
4
|
+
[](http://rubydoc.org/gems/rudder/frames)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
|
|
3
7
|
This gem provides a DSL for building [Concourse CI](https://concourse-ci.org/) pipelines.
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
for the
|
|
9
|
+
Rubygems release docs can be found above, or head over to
|
|
10
|
+
[jhmcstanton.github.io/rudder](https://jhmcstanton.github.io/rudder) for the latest
|
|
11
|
+
docs from HEAD.
|
|
7
12
|
|
|
8
13
|
## Goals
|
|
9
14
|
|
|
@@ -28,7 +33,8 @@ the contents or borrowing only specific pieces.
|
|
|
28
33
|
|
|
29
34
|
TODOs:
|
|
30
35
|
|
|
31
|
-
-
|
|
36
|
+
- More tests & add a coverage tool
|
|
37
|
+
- Add CI
|
|
32
38
|
|
|
33
39
|
## Non-Goals
|
|
34
40
|
|
|
@@ -635,7 +635,7 @@ arguments are provided. Otherwise, <code>nil</code>.</p>
|
|
|
635
635
|
</div>
|
|
636
636
|
|
|
637
637
|
<div id="footer">
|
|
638
|
-
Generated on
|
|
638
|
+
Generated on Fri Aug 2 21:10:14 2019 by
|
|
639
639
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
640
640
|
0.9.20 (ruby-2.5.1).
|
|
641
641
|
</div>
|
data/docs/Rudder/DSL/Group.html
CHANGED
|
@@ -723,7 +723,7 @@ is nil.</p>
|
|
|
723
723
|
</div>
|
|
724
724
|
|
|
725
725
|
<div id="footer">
|
|
726
|
-
Generated on
|
|
726
|
+
Generated on Fri Aug 2 21:10:13 2019 by
|
|
727
727
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
728
728
|
0.9.20 (ruby-2.5.1).
|
|
729
729
|
</div>
|
data/docs/Rudder/DSL/Job.html
CHANGED
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
</div>
|
|
478
478
|
|
|
479
479
|
<div id="footer">
|
|
480
|
-
Generated on
|
|
480
|
+
Generated on Fri Aug 2 21:10:13 2019 by
|
|
481
481
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
482
482
|
0.9.20 (ruby-2.5.1).
|
|
483
483
|
</div>
|