concourse 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/concourse.rb +3 -3
- data/lib/concourse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee85690e2cce2d85793daef276bdeb5414374e88
|
4
|
+
data.tar.gz: 39aedca58ff45e15261c79338eb865762db466f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b538ca79abc181a43f5d0b9e6cfa81a867ca6ebbff301b3679222f90301ce9360a9c958686d7b1dcdfb010eb80fac87c61fe6a52293000833c0fd4feb36d84f
|
7
|
+
data.tar.gz: 54e97a66e38414343ee06b6cd2c6896d2ba58bfca504e67de7c1cfc0418b4e0d4b9cd5526c164b8252974dde51f5b24e2b778927ef4219575d73358f58e97842
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ rake concourse:tasks # list all the avail
|
|
54
54
|
rake concourse:task[fly_target,task_name,fly_execute_args] # fly execute the specified task
|
55
55
|
```
|
56
56
|
|
57
|
-
where `fly_execute_args` will default to `--input=
|
57
|
+
where `fly_execute_args` will default to use the project name, e.g. `--input=myproject=.`, so your pipeline should name the input resource appropriately.
|
58
58
|
|
59
59
|
|
60
60
|
|
data/lib/concourse.rb
CHANGED
@@ -43,7 +43,7 @@ class Concourse
|
|
43
43
|
# pipeline commands
|
44
44
|
#
|
45
45
|
desc "generate and validate the pipeline file for #{project_name}"
|
46
|
-
task "generate"
|
46
|
+
task "generate" do |t|
|
47
47
|
File.open pipeline_filename, "w" do |f|
|
48
48
|
f.write ERB.new(File.read(pipeline_erb_filename)).result(binding)
|
49
49
|
end
|
@@ -88,10 +88,10 @@ class Concourse
|
|
88
88
|
task "task", [:fly_target, :task_name, :fly_execute_args] => "generate" do |t, args|
|
89
89
|
fly_target = Concourse.validate_fly_target t, args
|
90
90
|
task_name = args[:task_name]
|
91
|
-
fly_execute_args = args[:fly_execute_args] || "--input
|
91
|
+
fly_execute_args = args[:fly_execute_args] || "--input=#{project_name}=."
|
92
92
|
|
93
93
|
unless task_name
|
94
|
-
raise "ERROR: must specify a task name, like `rake #{t.name}[taskname]`"
|
94
|
+
raise "ERROR: must specify a task name, like `rake #{t.name}[target,taskname]`"
|
95
95
|
end
|
96
96
|
|
97
97
|
concourse_task = find_task task_name
|
data/lib/concourse/version.rb
CHANGED