k8s-deploy 0.0.4 → 0.0.5
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 -0
- data/lib/k8s-deploy/tasks/configuration.rb +1 -0
- data/lib/k8s-deploy/tasks/deploy.rb +2 -1
- data/lib/k8s-deploy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35cae78ec4e070514c4869eb8bc07719fb787b63ccaae938d0dba4bde27c7494
|
4
|
+
data.tar.gz: 212bb941a2748df27fe127291fee0df739f243e97e026430186d4da2e9707c5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2addd5279671b9d793c1309c637abedb60aa6bad93723ffc88645452fe6600d861936c63e6ac07e266644d0bda42bc4a051008182c26cce962252fe9caffb89c
|
7
|
+
data.tar.gz: 9b10ef8e12c368faeb792819b8dc9a76b4bf0c9d67b1163285da6411e36519cadf01184e18c9ea4ec68f9feee85b21ef86e91d78abd84ccbfc44c619e80a265e
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
CONFIGURATION_OPTIONS = {
|
2
2
|
'git_branch' => 'GIT branch',
|
3
3
|
'dockerfile' => 'Path to Dockerfile',
|
4
|
+
'docker_platform' => 'Target platform, f.e linux/amd64 or linux/arm64',
|
4
5
|
'container_registry' => 'Docker container registry',
|
5
6
|
'gcloud_project_name' => 'GCloud project name',
|
6
7
|
'kubernetes_context' => 'K8s context',
|
@@ -44,7 +44,8 @@ def print_deploy_build(configuration)
|
|
44
44
|
puts
|
45
45
|
|
46
46
|
dockerfile_path = configuration['dockerfile']
|
47
|
-
|
47
|
+
docker_platform = configuration['docker_platform']
|
48
|
+
command = "docker buildx build --platform #{docker_platform} -t #{new_image_name} -f #{dockerfile_path} ."
|
48
49
|
command_output(command)
|
49
50
|
puts
|
50
51
|
|
data/lib/k8s-deploy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k8s-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleksii Leonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.0.3
|
64
|
+
rubygems_version: 3.0.3.1
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: automate deploy to Kubernetes.
|