luban 0.12.11 → 0.12.12
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 +8 -0
- data/lib/luban/deployment/cli/application/docker/dockerizer.rb +1 -1
- data/lib/luban/deployment/cli/application/docker/templates/{Dockerfile.erb → Dockerfile.centos.erb} +0 -0
- data/lib/luban/deployment/parameters.rb +1 -0
- data/lib/luban/deployment/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3816179cd320d9eb87ffe5d9e3a29d8515ff1cc
|
|
4
|
+
data.tar.gz: 4f33f9199c8feb67c88b3a7c80af6995146f14a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 615cedf6860798c0e537886e712f64148fa62b4c6722f60e7aafe213adcf67b7150b563b5211b07d33a260444408b6995bbda6923630ea5ee5042866d3d09231
|
|
7
|
+
data.tar.gz: 87bafdb3fd139a8319e023c591b7720fb39ff5486193c037b056cd402c74d7031103f2981e875ebf79a5fa1b55562ae11338701f5bc3f9fd60384bc59ca44de5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## Version 0.12.12 (Mar 30, 2017)
|
|
4
|
+
|
|
5
|
+
Minor enhancements:
|
|
6
|
+
* Added parameter, :base_os, to specify the Dockerfile template by OS
|
|
7
|
+
* By default, :base_os is set to "centos"
|
|
8
|
+
* The original Dockerfile.erb was renamed to Dockerfile.centos.erb
|
|
9
|
+
* Down the road more other OS Dockerfile templates will be added
|
|
10
|
+
|
|
3
11
|
## Version 0.12.11 (Mar 29, 2017)
|
|
4
12
|
|
|
5
13
|
Bug fixes:
|
|
@@ -247,7 +247,7 @@ module Luban
|
|
|
247
247
|
|
|
248
248
|
def render_dockerfile
|
|
249
249
|
upload_by_template(file_to_upload: build[:dockerfile],
|
|
250
|
-
template_file: find_template_file(
|
|
250
|
+
template_file: find_template_file("Dockerfile.#{base_os}.erb"),
|
|
251
251
|
auto_revision: true)
|
|
252
252
|
end
|
|
253
253
|
|
data/lib/luban/deployment/cli/application/docker/templates/{Dockerfile.erb → Dockerfile.centos.erb}
RENAMED
|
File without changes
|
|
@@ -127,6 +127,7 @@ module Luban
|
|
|
127
127
|
parameter :luban_uid, default: ->{ current_uid }
|
|
128
128
|
parameter :luban_user, default: ->{ current_user }
|
|
129
129
|
parameter :build_tag, default: '0.0.0'
|
|
130
|
+
parameter :base_os, default: 'centos'
|
|
130
131
|
parameter :base_image, default: 'centos:7'
|
|
131
132
|
parameter :timezone, default: 'UTC'
|
|
132
133
|
parameter :base_packages, default: ->{ Array.new }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: luban
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rubyist Lei
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: luban-cli
|
|
@@ -110,7 +110,7 @@ files:
|
|
|
110
110
|
- lib/luban/deployment/cli/application/docker.rb
|
|
111
111
|
- lib/luban/deployment/cli/application/docker/dockerable.rb
|
|
112
112
|
- lib/luban/deployment/cli/application/docker/dockerizer.rb
|
|
113
|
-
- lib/luban/deployment/cli/application/docker/templates/Dockerfile.erb
|
|
113
|
+
- lib/luban/deployment/cli/application/docker/templates/Dockerfile.centos.erb
|
|
114
114
|
- lib/luban/deployment/cli/application/docker/templates/docker-compose-env.erb
|
|
115
115
|
- lib/luban/deployment/cli/application/docker/templates/docker-compose.yml.erb
|
|
116
116
|
- lib/luban/deployment/cli/application/publisher.rb
|