gitlab-janitor 1.0.4.94868 → 1.0.4.134295
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +6 -1
- data/Gemfile.lock +15 -11
- data/lib/gitlab_janitor/image_cleaner.rb +1 -1
- 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: e2249f09f9f20ba337ceb7319c22a507e82c0aa6f78d516f4ad26b9647542ed5
|
4
|
+
data.tar.gz: 60f28308ad093d60cb566079bd04ac73800c169492c44a9ee73a7bc17b68dfc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdfa224bef1412e8e63d28b4e25e8f520978eff9a776d3c003f14c16f702edda516daefe9d4f6807984b34c821e5d4d765dc97c15ac02452047fb5b515fe19b5
|
7
|
+
data.tar.gz: 0e2bae8e4b279a4ef12fade82cf13e3de68563964cd93f0a9303dadf0d13bbbac09bc59549d02cc40b882e941fa409273d04b631a786fce1f4c21636779e3f2e
|
data/Dockerfile
CHANGED
@@ -11,10 +11,15 @@ RUN mkdir -p /usr/local/etc \
|
|
11
11
|
} >> /usr/local/etc/gemrc \
|
12
12
|
&& echo 'gem: --no-document' > ~/.gemrc
|
13
13
|
|
14
|
+
ENV \
|
15
|
+
BUILDKIT_INLINE_CACHE="1" \
|
16
|
+
BUILDKIT_PROGRESS="plain" \
|
17
|
+
DOCKER_BUILDKIT="1" \
|
18
|
+
DOCKER_CLI_EXPERIMENTAL="1"
|
19
|
+
|
14
20
|
RUN set -ex \
|
15
21
|
&& apk add --no-cache docker-cli
|
16
22
|
|
17
|
-
|
18
23
|
ADD Gemfile Gemfile.lock gitlab-janitor.gemspec /home/app/
|
19
24
|
ADD lib/gitlab_janitor/version.rb /home/app/lib/gitlab_janitor/
|
20
25
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlab-janitor (1.0.4.
|
4
|
+
gitlab-janitor (1.0.4.134295)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
docker-api
|
7
7
|
fugit
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (6.1.
|
15
|
+
activesupport (6.1.7.3)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 1.6, < 2)
|
18
18
|
minitest (>= 5.1)
|
@@ -20,7 +20,8 @@ GEM
|
|
20
20
|
zeitwerk (~> 2.3)
|
21
21
|
ansi (1.5.0)
|
22
22
|
awesome_print (1.9.2)
|
23
|
-
concurrent-ruby (1.
|
23
|
+
concurrent-ruby (1.2.2)
|
24
|
+
connection_pool (2.4.0)
|
24
25
|
diff-lcs (1.5.0)
|
25
26
|
docile (1.4.0)
|
26
27
|
docker-api (2.2.0)
|
@@ -28,18 +29,21 @@ GEM
|
|
28
29
|
multi_json
|
29
30
|
et-orbi (1.2.7)
|
30
31
|
tzinfo
|
31
|
-
excon (0.
|
32
|
-
fugit (1.
|
32
|
+
excon (0.99.0)
|
33
|
+
fugit (1.8.1)
|
33
34
|
et-orbi (~> 1, >= 1.2.7)
|
34
35
|
raabro (~> 1.4)
|
35
36
|
i18n (1.12.0)
|
36
37
|
concurrent-ruby (~> 1.0)
|
37
|
-
minitest (5.
|
38
|
+
minitest (5.18.0)
|
38
39
|
multi_json (1.15.0)
|
39
|
-
optparse (0.
|
40
|
+
optparse (0.3.1)
|
40
41
|
raabro (1.4.0)
|
41
42
|
rake (13.0.6)
|
42
|
-
redis (
|
43
|
+
redis (5.0.6)
|
44
|
+
redis-client (>= 0.9.0)
|
45
|
+
redis-client (0.14.1)
|
46
|
+
connection_pool
|
43
47
|
rspec (3.11.0)
|
44
48
|
rspec-core (~> 3.11.0)
|
45
49
|
rspec-expectations (~> 3.11.0)
|
@@ -67,12 +71,12 @@ GEM
|
|
67
71
|
simplecov_json_formatter (0.1.4)
|
68
72
|
terminal-table (3.0.2)
|
69
73
|
unicode-display_width (>= 1.1.1, < 3)
|
70
|
-
tzinfo (2.0.
|
74
|
+
tzinfo (2.0.6)
|
71
75
|
concurrent-ruby (~> 1.0)
|
72
|
-
tzinfo-data (1.
|
76
|
+
tzinfo-data (1.2023.3)
|
73
77
|
tzinfo (>= 1.0.0)
|
74
78
|
unicode-display_width (2.2.0)
|
75
|
-
zeitwerk (2.6.
|
79
|
+
zeitwerk (2.6.7)
|
76
80
|
|
77
81
|
PLATFORMS
|
78
82
|
ruby
|
@@ -114,7 +114,7 @@ module GitlabJanitor
|
|
114
114
|
logger.info("Force clean image from #{@redis_url}/#{@redis_url}...")
|
115
115
|
|
116
116
|
redis = Redis.new(url: @redis_url)
|
117
|
-
redis.ltrim(@redis_list, 0,
|
117
|
+
redis.ltrim(@redis_list, 0, 100)
|
118
118
|
now = Time.now
|
119
119
|
redis.lrange(@redis_list, 0, -1).each do |pair|
|
120
120
|
image, ts = pair.split('|')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-janitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.4.
|
4
|
+
version: 1.0.4.134295
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|