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 +4 -4
- data/lib/containerci.rb +2 -4
- data/lib/containerci/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: 452ece45f20073cf9ef02f7cdeb33a5a54ecbd64
|
4
|
+
data.tar.gz: fb8a568b915831556a5086c9c4f26a933a14395a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5a8418233f0ee869c0588af7ed980a9b9d2be1bd4fbcb65a736d5b19349bbcc8563600f70fc0c19d264b1fa5fc2611c76dd3896c368022d3b3ea7aeb3fd4b69
|
7
|
+
data.tar.gz: 543e4c25bb7cc6560f6bca4feac05757c73c495b7aa33fa192ed7279d80f0a10f55a0487f4a99d5fec6a19c33083748ba898bda5205cf4c6b960e9a98627c2b5
|
data/lib/containerci.rb
CHANGED
@@ -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
|
data/lib/containerci/version.rb
CHANGED
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.
|
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:
|
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.
|
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.
|