popito 0.0.9.alpha → 0.0.11.alpha

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84308a2a22723f86a57f7c72dac4925610db61e155f07288378f086efd5de436
4
- data.tar.gz: f9f651cbe068cbc472dfbf093ff6e60f8c01a64f0434585baf811670581d629c
3
+ metadata.gz: fba5ad775d1a2abc674f4b82ff582c5ba040c71bdac08df4b81b130c7929082e
4
+ data.tar.gz: a9567a129c882f2d3bdc2c64bb8fb8cfb0ba1ccd2a1be1d66aa7bf46ceee903c
5
5
  SHA512:
6
- metadata.gz: d7f5bddec397316c0dadbc2a0ca630d3666ecf3d3b139b0ae287e92a59080c684c5a825c8344db2e25ab155029e2d9358615477018d719d9b4ca4197282177f8
7
- data.tar.gz: 0707e25bfaeb58a5ffc2be76e2165ff07db4e06f278f540ac50da2b273025ed25c879b0529c9ba6c9423b8fabdd91a3904b811c477805e27cb8fc3508e3452c7
6
+ metadata.gz: e66ad81169de1162baf26e871439eb98c07466f39cb2cb786593eeba69a6d17e5d37a7ac9543e614d11c81310a538b5e593b8e8569009d66d4062d6aeb979d3b
7
+ data.tar.gz: cf6192e243c3b39cede62fbb2bf9647ec0e7ee989f106da12d6191c2dbeee54d92c74dd090e8b66a309e72f5903b3fcdb267560d021310be63abc279d4f7baf9
data/.gitignore CHANGED
@@ -7,3 +7,6 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  *.gem
10
+ .byebug_history
11
+ _popito
12
+ .env
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- popito (0.0.7.alpha)
4
+ popito (0.0.10.alpha)
5
5
  deep_merge (~> 1.2)
6
6
  erb (~> 2.2)
7
7
  json (~> 2.5)
@@ -12,19 +12,18 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- cgi (0.3.2)
15
+ cgi (0.4.1)
16
16
  deep_merge (1.2.2)
17
- domain_name (0.5.20190701)
18
- unf (>= 0.0.5, < 1.0.0)
17
+ domain_name (0.6.20240107)
19
18
  erb (2.2.3)
20
19
  cgi
21
20
  http-accept (1.7.0)
22
21
  http-cookie (1.0.5)
23
22
  domain_name (~> 0.5)
24
- json (2.6.2)
25
- mime-types (3.4.1)
23
+ json (2.7.1)
24
+ mime-types (3.5.2)
26
25
  mime-types-data (~> 3.2015)
27
- mime-types-data (3.2022.0105)
26
+ mime-types-data (3.2024.0305)
28
27
  minitar (0.9)
29
28
  netrc (0.11.0)
30
29
  rake (13.0.3)
@@ -33,10 +32,7 @@ GEM
33
32
  http-cookie (>= 1.0.2, < 2.0)
34
33
  mime-types (>= 1.16, < 4.0)
35
34
  netrc (~> 0.8)
36
- unf (0.1.4)
37
- unf_ext
38
- unf_ext (0.0.8.2)
39
- yaml (0.2.0)
35
+ yaml (0.3.0)
40
36
 
41
37
  PLATFORMS
42
38
  ruby
@@ -20,9 +20,12 @@ module Popito
20
20
  def push_deployed_tag
21
21
  yaml_build_config["build"].each do |build|
22
22
  tag = build["tags"].first
23
- puts "Pushing #{build["image"]}:#{tag} to #{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}"
24
- system "docker image tag #{build["image"]}:#{tag} #{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}", exception: true
25
- system "docker push #{build["image"]}:popito-#{config_payload.build_config['ENVIRONMENT']}", exception: true
23
+ source = "#{build["image"]}:#{tag}"
24
+ target = "#{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}"
25
+ puts "Pushing #{source} to #{target}"
26
+ system "docker pull #{source}", exception: true
27
+ system "docker image tag #{source} #{target}", exception: true
28
+ system "docker push #{target}", exception: true
26
29
  end
27
30
  end
28
31
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Popito
4
- VERSION = "0.0.9.alpha"
4
+ VERSION = "0.0.11.alpha"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popito
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.alpha
4
+ version: 0.0.11.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wagner Caixeta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-01 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.5.3
147
+ rubygems_version: 3.5.18
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: 'WIP: Build docker images for Rails Projects and deploy it on K8S using a