concourse 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/CHANGELOG.md +10 -0
- data/lib/concourse.rb +4 -7
- data/lib/concourse/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7aa6e898dd3b88b02d9f6755083f0effc787773
|
|
4
|
+
data.tar.gz: bb8c2e483b80f5ddc1b975d1ff18c03bc05b70a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72bb933a0aa216dfb470a18a46bc02d67673c8a81886fc30f82014b3fab73dfa37c4868e40e023c55c11082117ddef92608356907af1907690fa161e826ac6b8
|
|
7
|
+
data.tar.gz: 531eb4b2d1b37035f4b7281d58c35f957a44ba98512eae962a855ee5b54a60fbae0f58460c1f15906927855bf810fab925c733da58b70eedda68501f0d88ff3f
|
data/CHANGELOG.md
ADDED
data/lib/concourse.rb
CHANGED
|
@@ -42,14 +42,11 @@ class Concourse
|
|
|
42
42
|
#
|
|
43
43
|
# pipeline commands
|
|
44
44
|
#
|
|
45
|
-
file
|
|
45
|
+
desc "generate and validate the pipeline file for #{project_name}"
|
|
46
|
+
task "generate" => pipeline_filename do |t|
|
|
46
47
|
File.open pipeline_filename, "w" do |f|
|
|
47
48
|
f.write ERB.new(File.read(pipeline_erb_filename)).result(binding)
|
|
48
49
|
end
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
desc "generate and validate the pipeline file for #{project_name}"
|
|
52
|
-
task "generate" => pipeline_filename do |t|
|
|
53
50
|
sh "fly validate-pipeline -c #{pipeline_filename}"
|
|
54
51
|
end
|
|
55
52
|
|
|
@@ -89,9 +86,9 @@ class Concourse
|
|
|
89
86
|
|
|
90
87
|
desc "fly execute the specified task"
|
|
91
88
|
task "task", [:fly_target, :task_name, :fly_execute_args] => "generate" do |t, args|
|
|
92
|
-
task_name = args[:task_name]
|
|
93
|
-
fly_execute_args = args[:fly_execute_args] || "--input=git-master=."
|
|
94
89
|
fly_target = Concourse.validate_fly_target t, args
|
|
90
|
+
task_name = args[:task_name]
|
|
91
|
+
fly_execute_args = args[:fly_execute_args] || "--input=git-master=."
|
|
95
92
|
|
|
96
93
|
unless task_name
|
|
97
94
|
raise "ERROR: must specify a task name, like `rake #{t.name}[taskname]`"
|
data/lib/concourse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: concourse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Dalessio
|
|
@@ -62,6 +62,7 @@ extra_rdoc_files: []
|
|
|
62
62
|
files:
|
|
63
63
|
- ".gitignore"
|
|
64
64
|
- ".rspec"
|
|
65
|
+
- CHANGELOG.md
|
|
65
66
|
- CODE_OF_CONDUCT.md
|
|
66
67
|
- Gemfile
|
|
67
68
|
- LICENSE.txt
|