concourse 0.34.0 → 0.35.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 +5 -0
- data/README.md +2 -0
- data/lib/concourse.rb +1 -8
- data/lib/concourse/util.rb +1 -1
- data/lib/concourse/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0e735d8ab6d592e3bc060b06f9b4e26dcef1312d05289910fa310658edd1f1e
|
|
4
|
+
data.tar.gz: 6011194849c21c817ac5e089c350bac9adbff6179b3f5de7449748c45b7df474
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab27e018c417be11f6a5f11cddb7f7ddfb93cf55186f9a331f974ecc789dd3f0f749132faec345933d04fe52bd4b618a3e33e3b015429dce86f72a42b2a947ba
|
|
7
|
+
data.tar.gz: 90daa7b65136f480da999018e97d5b9f344b940faa7df7308541c1ae7e5de1f34abcdbf05c6fe143c46cd93a9d8674801eb5c9b227e27beda9b1ccfc7c9593d8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# concourse-gem changelog
|
|
2
2
|
|
|
3
|
+
## v0.35.0 / 2020-09-07
|
|
4
|
+
|
|
5
|
+
* remove "clean" rake task (generated pipelines have been recommended for checkin to source control since v0.26.0)
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
## v0.34.0 / 2020-08-31
|
|
4
9
|
|
|
5
10
|
* allow injection of fly command arguments via `fly_args_<command_name>`
|
data/README.md
CHANGED
|
@@ -28,8 +28,10 @@ Here's an example pipeline maintained by this gem:
|
|
|
28
28
|
- [Configuration](#configuration)
|
|
29
29
|
* [`directory`: Concourse subdirectory name](#directory-concourse-subdirectory-name)
|
|
30
30
|
* [`fly_target`: Concourse `fly` target name](#fly_target-concourse-fly-target-name)
|
|
31
|
+
* [`format`: Emit the final pipelines in `fly format-pipeline` canonical format](#format-emit-the-final-pipelines-in-fly-format-pipeline-canonical-format)
|
|
31
32
|
* [`pipeline_erb_filename`: Pipeline filename](#pipeline_erb_filename-pipeline-filename)
|
|
32
33
|
* [`secrets_filename`: Secrets filename](#secrets_filename-secrets-filename)
|
|
34
|
+
* [`fly_args_`: fly command arguments](#fly_args_-fly-command-arguments)
|
|
33
35
|
- [Rake Tasks](#rake-tasks)
|
|
34
36
|
* [Manage your Concourse pipeline](#manage-your-concourse-pipeline)
|
|
35
37
|
* [List pipeline tasks](#list-pipeline-tasks)
|
data/lib/concourse.rb
CHANGED
|
@@ -192,13 +192,6 @@ class Concourse
|
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
desc "remove generated pipeline files"
|
|
196
|
-
task "clean" do
|
|
197
|
-
pipelines.each do |pipeline|
|
|
198
|
-
rm_f pipeline.filename
|
|
199
|
-
end
|
|
200
|
-
end
|
|
201
|
-
|
|
202
195
|
#
|
|
203
196
|
# task commands
|
|
204
197
|
#
|
|
@@ -239,7 +232,7 @@ class Concourse
|
|
|
239
232
|
f.write concourse_task["config"].to_yaml
|
|
240
233
|
f.close
|
|
241
234
|
Bundler.with_unbundled_env do
|
|
242
|
-
fly "execute",
|
|
235
|
+
fly "execute", [fly_execute_args, "-c #{f.path}"].compact.join(" ")
|
|
243
236
|
end
|
|
244
237
|
end
|
|
245
238
|
end
|
data/lib/concourse/util.rb
CHANGED
|
@@ -20,7 +20,7 @@ class Concourse
|
|
|
20
20
|
|
|
21
21
|
def fly command, args
|
|
22
22
|
command_args = Array(fly_args[command])
|
|
23
|
-
sh "fly -t
|
|
23
|
+
sh ["fly -t", fly_target, command, command_args, args].flatten.compact.join(" ")
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def docker_compose command
|
data/lib/concourse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: concourse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.35.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Dalessio
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: term-ansicolor
|