concourse 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/concourse.rb +16 -1
- 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: 10b3e2e3d7756b1c61293045f6a7a991df14ec30
|
4
|
+
data.tar.gz: c44c2ce5b4d0e2091893fa1407e1d73a8d566fbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb6a2494b9e0837859fae6f17ef44702607a4bf613d3060899ee36553694fab366318c67d4ec2e6cab03ea9adf71c9a625641acfad977508c913533b25b47f8c
|
7
|
+
data.tar.gz: a53d14f3f898d53e6a7b6ae2f6756ef76ea86a49b38f475b54d52a26ae52217dae930f9de96c6d93a47f90aa7499bd4d082cd383be77cb738516440070c48f40
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# concourse-gem changelog
|
2
2
|
|
3
|
+
## 0.12.0 / 2017-02-14
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
* rake task `concourse:init`
|
8
|
+
|
9
|
+
### Bug fixes
|
10
|
+
|
11
|
+
* properly require 'yaml'
|
12
|
+
|
13
|
+
|
3
14
|
## 0.11.0 / 2017-02-14
|
4
15
|
|
5
16
|
Stop using `myproject.yml.erb` and just interpret `myproject.yml` as an ERB template. @jtarchie was right. He's always right.
|
data/lib/concourse.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require "concourse/version"
|
2
|
+
require "yaml"
|
2
3
|
|
3
4
|
class Concourse
|
4
5
|
include Rake::DSL
|
@@ -44,12 +45,26 @@ class Concourse
|
|
44
45
|
end
|
45
46
|
|
46
47
|
unless File.exist? pipeline_erb_filename
|
47
|
-
|
48
|
+
warn "WARNING: concourse template #{pipeline_erb_filename.inspect} does not exist, run `rake concourse:init`"
|
48
49
|
end
|
49
50
|
|
50
51
|
CLOBBER.include pipeline_filename if defined?(CLOBBER)
|
51
52
|
|
52
53
|
namespace :concourse do
|
54
|
+
#
|
55
|
+
# project commands
|
56
|
+
#
|
57
|
+
desc "bootstrap a concourse config"
|
58
|
+
task :init do
|
59
|
+
FileUtils.mkdir_p "concourse"
|
60
|
+
FileUtils.mkdir_p "concourse/tasks"
|
61
|
+
FileUtils.touch pipeline_erb_filename
|
62
|
+
File.open ".gitignore", "a" do |f|
|
63
|
+
f.puts "concourse/private.yml"
|
64
|
+
f.puts "concourse/#{project_name}.final.yml"
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
53
68
|
#
|
54
69
|
# pipeline commands
|
55
70
|
#
|
data/lib/concourse/version.rb
CHANGED