containerci 0.5.0 → 0.6.0

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
  SHA1:
3
- metadata.gz: 94e5bf6189f0ae386ac11d97d41fe8c8be361450
4
- data.tar.gz: c49422e41c29ee310e6f5038efba80e34cc46314
3
+ metadata.gz: 452ece45f20073cf9ef02f7cdeb33a5a54ecbd64
4
+ data.tar.gz: fb8a568b915831556a5086c9c4f26a933a14395a
5
5
  SHA512:
6
- metadata.gz: c4bc64245761f5f71cdc5c427dd25a8963760bc58e163cf2282fe0d3b37ac58877ea748a438992ba70a44b306f09120a47aad8ba032d4a48abef5b524356ce7d
7
- data.tar.gz: 5e078e73db836e051612c961ac61f6f42122443958eb4d1ca64e0d69a66e707ee91b40f0aa2fdbc05ee2bc96232923e987273bf4cc90a274eaa2b100fbd7dd11
6
+ metadata.gz: d5a8418233f0ee869c0588af7ed980a9b9d2be1bd4fbcb65a736d5b19349bbcc8563600f70fc0c19d264b1fa5fc2611c76dd3896c368022d3b3ea7aeb3fd4b69
7
+ data.tar.gz: 543e4c25bb7cc6560f6bca4feac05757c73c495b7aa33fa192ed7279d80f0a10f55a0487f4a99d5fec6a19c33083748ba898bda5205cf4c6b960e9a98627c2b5
@@ -54,9 +54,6 @@ module ContainerCI
54
54
  puts 'done'
55
55
  end
56
56
 
57
- # XXX: I shouldn't save cache again and should instead rely on
58
- # me flushing cache every once in a while. Maybe automate by
59
- # looking for cache freshness.
60
57
  @dsl.define_task(:docker_pull) do
61
58
  docker_pull_cmds = 'false; ' \
62
59
  'until [ $? -eq 0 ]; do ' \
@@ -106,6 +103,8 @@ module ContainerCI
106
103
 
107
104
  @dsl.define_task(:docker_tag) do
108
105
  sh "docker tag -f #{USER}/#{PROJECT_NAME}:#{next_version} " \
106
+ "#{USER}/#{PROJECT_NAME}:latest || " \
107
+ "docker tag #{USER}/#{PROJECT_NAME}:#{next_version} " \
109
108
  "#{USER}/#{PROJECT_NAME}:latest"
110
109
  end
111
110
 
@@ -115,7 +114,6 @@ module ContainerCI
115
114
  :docker_tag])
116
115
 
117
116
  @dsl.define_task(:docker_push) do
118
-
119
117
  sh docker_push_cmds('latest')
120
118
  sh docker_push_cmds(current_version)
121
119
  end
@@ -1,4 +1,4 @@
1
1
  # Rakefile toolkit for creating automated builds for Docker containers.
2
2
  module ContainerCI
3
- VERSION = '0.5.0'
3
+ VERSION = '0.6.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: containerci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-11 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.4.3
109
+ rubygems_version: 2.4.5.1
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Rakefile toolkit for creating automated builds for Docker containers.