pfab 0.45.0 → 0.46.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/README.markdown +1 -1
- data/lib/pfab/cli.rb +9 -1
- data/lib/pfab/version.rb +1 -1
- data/pfab.gemspec +3 -3
- 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: 5a2970a1b00c38842a3b0693e5314222745bd713b1fc73120365d785a2d0b6f3
|
|
4
|
+
data.tar.gz: 92e562f582413ebc5507c76001f9b0af0a07a9dcdefc8f73b9e5161dbcd84b2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3a9a891fac6b90b7e23c762d1f389000267f758d6b273aea9b9d9f219fb9b00d1afeed4b0c15b3c412ef48501ef50eb057aaa3c6a9ad119197362f02380db9e
|
|
7
|
+
data.tar.gz: 86463f57bc124b48ffc3a71bf0295a0fd1a3aec29c8b49ddcecaf27ca25fcdf0e598052ecdea72dfd962bb7b58c08a1cc8c258038859c425dc613dd4690255d9
|
data/README.markdown
CHANGED
|
@@ -125,7 +125,7 @@ Releasing
|
|
|
125
125
|
- ```git commit ```
|
|
126
126
|
- ```REMOTE_BRANCH=main LOCAL_BRANCH=main bundle exec rake git:release```
|
|
127
127
|
- ```REMOTE_BRANCH=main LOCAL_BRANCH=main bundle exec rake build```
|
|
128
|
-
- ```gem push pkg/pfab-0.
|
|
128
|
+
- ```gem push pkg/pfab-0.45.0.gem```
|
|
129
129
|
|
|
130
130
|
Copyright
|
|
131
131
|
---------
|
data/lib/pfab/cli.rb
CHANGED
|
@@ -269,7 +269,7 @@ module Pfab
|
|
|
269
269
|
end
|
|
270
270
|
end
|
|
271
271
|
|
|
272
|
-
build_cmd = "docker buildx build -t #{image_name} --platform linux/amd64 ."
|
|
272
|
+
build_cmd = "docker buildx build -t #{image_name} --platform linux/amd64 #{build_args} ."
|
|
273
273
|
puts build_cmd
|
|
274
274
|
result = system(build_cmd)
|
|
275
275
|
|
|
@@ -320,6 +320,14 @@ module Pfab
|
|
|
320
320
|
@application_yaml["name"]
|
|
321
321
|
end
|
|
322
322
|
|
|
323
|
+
def build_args
|
|
324
|
+
args = @application_yaml["build_args"] || []
|
|
325
|
+
if args.any?
|
|
326
|
+
return args.map{|a| "--build-arg #{a}=#{a}"}.join(" ")
|
|
327
|
+
end
|
|
328
|
+
""
|
|
329
|
+
end
|
|
330
|
+
|
|
323
331
|
def container_repository
|
|
324
332
|
@_container_repository ||= config["container.repository"]
|
|
325
333
|
end
|
data/lib/pfab/version.rb
CHANGED
data/pfab.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: pfab 0.
|
|
5
|
+
# stub: pfab 0.46.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "pfab".freeze
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.46.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Jeff Dwyer".freeze]
|
|
14
|
-
s.date = "2023-
|
|
14
|
+
s.date = "2023-11-03"
|
|
15
15
|
s.description = "k8s helper".freeze
|
|
16
16
|
s.email = "jdwyer@prefab.cloud".freeze
|
|
17
17
|
s.executables = ["pfab".freeze]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pfab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.46.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Dwyer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: commander
|