service_image_builder 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.gitlab-ci.yml +9 -0
- data/.rspec +3 -0
- data/.rubocop.yml +5 -0
- data/CODE_OF_CONDUCT.md +75 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +80 -0
- data/LICENSE.txt +21 -0
- data/README.md +16 -0
- data/Rakefile +8 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/bin/sib +54 -0
- data/lib/service_image_builder/image.rb +56 -0
- data/lib/service_image_builder/version.rb +5 -0
- data/lib/service_image_builder.rb +12 -0
- data/service_image_builder.gemspec +41 -0
- metadata +166 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8550ba8f0f9119b6604a18578ae39aa4f7dba3e3a7c6a938ff5f430e57f3c7e8
|
|
4
|
+
data.tar.gz: ef00b4c1d45ef83b447173e26752c4afc17ee0dd8804ee75caf784ddd05a5e33
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5422022c9e4b3a9f7c75d82825a7a1456411fbf44552b4ace376b3ba7c7ffaa82682c1a786a63ac0b7aacacf34f471e5bbf0250b321cd0210416ff13b9c7387d
|
|
7
|
+
data.tar.gz: a080d2408458ff3639b2eae53fa4a040e195b8b3ab819e1f3faa409dc5a99efd57b4f16790fc3c02e7d2a27273ee63dfad1e43f789f90f7b31924743b6b847ec
|
data/.gitignore
ADDED
data/.gitlab-ci.yml
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at eric@slush.systems. All complaints
|
|
59
|
+
will be reviewed and investigated and will result in a response that is
|
|
60
|
+
deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
|
62
|
+
incident. Further details of specific enforcement policies may be posted
|
|
63
|
+
separately.
|
|
64
|
+
|
|
65
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
66
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
67
|
+
members of the project's leadership.
|
|
68
|
+
|
|
69
|
+
## Attribution
|
|
70
|
+
|
|
71
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
72
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
73
|
+
|
|
74
|
+
[homepage]: http://contributor-covenant.org
|
|
75
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
service_image_builder (0.1.0)
|
|
5
|
+
activesupport (~> 5.2)
|
|
6
|
+
docker-api (~> 1.34)
|
|
7
|
+
pry-byebug (~> 3.7)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
activesupport (5.2.3)
|
|
13
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
|
+
i18n (>= 0.7, < 2)
|
|
15
|
+
minitest (~> 5.1)
|
|
16
|
+
tzinfo (~> 1.1)
|
|
17
|
+
ast (2.4.0)
|
|
18
|
+
byebug (11.0.1)
|
|
19
|
+
coderay (1.1.2)
|
|
20
|
+
concurrent-ruby (1.1.5)
|
|
21
|
+
diff-lcs (1.3)
|
|
22
|
+
docker-api (1.34.2)
|
|
23
|
+
excon (>= 0.47.0)
|
|
24
|
+
multi_json
|
|
25
|
+
excon (0.64.0)
|
|
26
|
+
i18n (1.6.0)
|
|
27
|
+
concurrent-ruby (~> 1.0)
|
|
28
|
+
jaro_winkler (1.5.2)
|
|
29
|
+
method_source (0.9.2)
|
|
30
|
+
minitest (5.11.3)
|
|
31
|
+
multi_json (1.13.1)
|
|
32
|
+
parallel (1.17.0)
|
|
33
|
+
parser (2.6.3.0)
|
|
34
|
+
ast (~> 2.4.0)
|
|
35
|
+
pry (0.12.2)
|
|
36
|
+
coderay (~> 1.1.0)
|
|
37
|
+
method_source (~> 0.9.0)
|
|
38
|
+
pry-byebug (3.7.0)
|
|
39
|
+
byebug (~> 11.0)
|
|
40
|
+
pry (~> 0.10)
|
|
41
|
+
rainbow (3.0.0)
|
|
42
|
+
rake (10.5.0)
|
|
43
|
+
rspec (3.8.0)
|
|
44
|
+
rspec-core (~> 3.8.0)
|
|
45
|
+
rspec-expectations (~> 3.8.0)
|
|
46
|
+
rspec-mocks (~> 3.8.0)
|
|
47
|
+
rspec-core (3.8.0)
|
|
48
|
+
rspec-support (~> 3.8.0)
|
|
49
|
+
rspec-expectations (3.8.3)
|
|
50
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
51
|
+
rspec-support (~> 3.8.0)
|
|
52
|
+
rspec-mocks (3.8.0)
|
|
53
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
+
rspec-support (~> 3.8.0)
|
|
55
|
+
rspec-support (3.8.0)
|
|
56
|
+
rubocop (0.71.0)
|
|
57
|
+
jaro_winkler (~> 1.5.1)
|
|
58
|
+
parallel (~> 1.10)
|
|
59
|
+
parser (>= 2.6)
|
|
60
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
61
|
+
ruby-progressbar (~> 1.7)
|
|
62
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
|
63
|
+
ruby-progressbar (1.10.1)
|
|
64
|
+
thread_safe (0.3.6)
|
|
65
|
+
tzinfo (1.2.5)
|
|
66
|
+
thread_safe (~> 0.1)
|
|
67
|
+
unicode-display_width (1.6.0)
|
|
68
|
+
|
|
69
|
+
PLATFORMS
|
|
70
|
+
ruby
|
|
71
|
+
|
|
72
|
+
DEPENDENCIES
|
|
73
|
+
bundler (~> 1.17)
|
|
74
|
+
rake (~> 10.0)
|
|
75
|
+
rspec (~> 3.0)
|
|
76
|
+
rubocop (~> 0.70)
|
|
77
|
+
service_image_builder!
|
|
78
|
+
|
|
79
|
+
BUNDLED WITH
|
|
80
|
+
1.17.2
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Eric Jacobs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Service Image Builder
|
|
2
|
+
|
|
3
|
+
This is a Slush Systems tool for building service images. Slush Systems
|
|
4
|
+
creates continuously updated and deployed infrastructure and tooling
|
|
5
|
+
container images. This tool creates, tags, and pushes those images the
|
|
6
|
+
registry.
|
|
7
|
+
|
|
8
|
+
SIB is configured through environment variables:
|
|
9
|
+
|
|
10
|
+
- CI_COMMIT_SHA — Automatically provided by gitlab CI; commit sha from source control; # TODO pick this up from VCS directly if unset
|
|
11
|
+
- SIB_BUILD_DIR — Docker build context directory; optional & defaults to $PWD
|
|
12
|
+
- SIB_DOCKER_FILE — Dockerfile to use in build; optional & defaults to 'Dockerfile'
|
|
13
|
+
- SIB_IMAGE_REPO — *required* Docker repo
|
|
14
|
+
- SIB_REGISTRY_USER — *required* Username to authenticate with the registry
|
|
15
|
+
- SIB_REGISTRY_PASS — *required* Password to authenticate with the registry
|
|
16
|
+
- SIB_UPSTREAM_TAG — Upstream tag to compare against and push to; optional & defaults to 'latest'
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require 'bundler/setup'
|
|
5
|
+
require 'service/image/builder'
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
require 'pry'
|
|
11
|
+
Pry.start
|
data/bin/setup
ADDED
data/bin/sib
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require_relative '../lib/service_image_builder.rb'
|
|
5
|
+
|
|
6
|
+
# This is a sha256 sum of the ouput of `dnf list installed` which contains a
|
|
7
|
+
# list of installed packages and their associated versions. A change in this
|
|
8
|
+
# value from one build to the next indicates that one or more packages have
|
|
9
|
+
# changed.
|
|
10
|
+
#
|
|
11
|
+
# A change in package_manifest should trigger a new tag
|
|
12
|
+
#
|
|
13
|
+
# images pulled from upstream will have this in a docker label
|
|
14
|
+
# otherwise, it needs to
|
|
15
|
+
#
|
|
16
|
+
|
|
17
|
+
build_dir = ENV.fetch('SIB_BUILD_DIR', '.')
|
|
18
|
+
current_commit_id = ENV.fetch('CI_COMMIT_SHA')
|
|
19
|
+
docker_file = ENV.fetch('SIB_DOCKER_FILE', 'Dockerfile')
|
|
20
|
+
image_repo = ENV.fetch('SIB_IMAGE_REPO')
|
|
21
|
+
image_upstream_tag = ENV.fetch('SIB_UPSTREAM_TAG', 'latest')
|
|
22
|
+
registry_user = ENV.fetch('SIB_REGISTRY_USER')
|
|
23
|
+
registry_pass = ENV.fetch('SIB_REGISTRY_PASS')
|
|
24
|
+
|
|
25
|
+
Docker.authenticate!('username' => registry_user, 'password' => registry_pass)
|
|
26
|
+
|
|
27
|
+
upstream_docker_image = begin
|
|
28
|
+
Docker::Image.create('fromImage' => "#{image_repo}:#{image_upstream_tag}")
|
|
29
|
+
rescue Docker::Error::NotFoundError
|
|
30
|
+
nil
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
upstream = SIB::Image.new(image: upstream_docker_image) unless upstream_docker_image.nil?
|
|
34
|
+
|
|
35
|
+
canary_build_args = {
|
|
36
|
+
'dockerfile' => docker_file,
|
|
37
|
+
'labels' => {
|
|
38
|
+
'maintainer' => 'Slush Systems <ci@slush.systems>',
|
|
39
|
+
'systems.slush.commit-id' => current_commit_id,
|
|
40
|
+
'systems.slush.timestamp' => Time.now.utc.iso8601
|
|
41
|
+
}.to_json,
|
|
42
|
+
'squash' => true
|
|
43
|
+
}
|
|
44
|
+
canary = SIB::Image.new(
|
|
45
|
+
image: Docker::Image.build_from_dir(build_dir, canary_build_args)
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
if upstream.nil? || (canary <=> upstream).positive?
|
|
49
|
+
canary.image.tag(repo: image_repo, tag: image_upstream_tag)
|
|
50
|
+
canary.image.push(nil, tag: image_upstream_tag)
|
|
51
|
+
|
|
52
|
+
canary.image.tag(repo: image_repo, tag: canary.factor_hash)
|
|
53
|
+
canary.image.push(nil, tag: canary.factor_hash)
|
|
54
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module SIB
|
|
4
|
+
# SIB::Image represents a docker image that has been built by sib.
|
|
5
|
+
class Image
|
|
6
|
+
attr_accessor :image
|
|
7
|
+
def initialize(image:)
|
|
8
|
+
@image = image
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Image#<=> is a comparison operator implementation for SIB::Image. If the
|
|
12
|
+
# factor_hash are the same, they're equal. Otherwise, the latest timestamp
|
|
13
|
+
# wins.
|
|
14
|
+
#
|
|
15
|
+
# @param other; the SIB::Image to compare against
|
|
16
|
+
def <=>(other)
|
|
17
|
+
return 0 if factor_hash == other.factor_hash
|
|
18
|
+
|
|
19
|
+
timestamp.compare_with_coercion(other.timestamp) # <=> with coercion
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def commit_id
|
|
23
|
+
@commit_id ||= labels.fetch('systems.slush.commit-id', nil)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def factor_hash
|
|
27
|
+
@factor_hash ||= Digest::SHA2.new(256).tap do |hash|
|
|
28
|
+
hash << commit_id
|
|
29
|
+
hash << package_manifest
|
|
30
|
+
end.hexdigest[0..15]
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def labels
|
|
34
|
+
@labels ||= image.json['Config']['Labels']
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Image#package_manifest creates a container from @image and generates the
|
|
38
|
+
# package-manifest from it
|
|
39
|
+
def package_manifest
|
|
40
|
+
@package_manifest ||= String.new.tap do |manifest|
|
|
41
|
+
container = Docker::Container.create(
|
|
42
|
+
'Cmd' => ['/bin/bash', '-c',
|
|
43
|
+
'dnf list installed | sha256sum | colrm 65 > /package-manifest'],
|
|
44
|
+
'Image' => image.id
|
|
45
|
+
)
|
|
46
|
+
container.tap(&:start).tap(&:wait)
|
|
47
|
+
manifest << container.read_file('/package-manifest').chomp
|
|
48
|
+
container.remove
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
def timestamp
|
|
53
|
+
@timestamp ||= labels.fetch('systems.slush.timestamp', nil)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'active_support'
|
|
4
|
+
require 'active_support/core_ext/time' # cherry pick Time extensions
|
|
5
|
+
require 'active_support/core_ext/numeric/time' # cherry pick Time extensions
|
|
6
|
+
require 'active_support/core_ext/integer/time' # cherry pick Time extensions
|
|
7
|
+
require 'active_support/core_ext/object/blank' # cherry pick Object#blank?
|
|
8
|
+
require 'pry-byebug'
|
|
9
|
+
require 'digest'
|
|
10
|
+
require 'docker'
|
|
11
|
+
|
|
12
|
+
require_relative 'service_image_builder/image'
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'service_image_builder/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = 'service_image_builder'
|
|
8
|
+
spec.version = SIB::VERSION
|
|
9
|
+
spec.authors = ['Eric Jacobs']
|
|
10
|
+
spec.email = ['eric@slush.systems']
|
|
11
|
+
|
|
12
|
+
spec.summary = 'A tool for building and deploying Slush Systems Service Images'
|
|
13
|
+
spec.description = 'This is a Slush Systems tool for building service images. Slush Systems
|
|
14
|
+
creates continuously updated and deployed infrastructure and tooling
|
|
15
|
+
container images. This tool creates, tags, and pushes those images the
|
|
16
|
+
registry.'
|
|
17
|
+
spec.homepage = 'https://slush.systems/'
|
|
18
|
+
spec.license = 'MIT'
|
|
19
|
+
|
|
20
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
21
|
+
spec.metadata['source_code_uri'] = 'https://gitlab.com/slush-systems/service_image_builder'
|
|
22
|
+
spec.metadata['changelog_uri'] = 'https://gitlab.com/slush-systems/service_image_builder/commits/master'
|
|
23
|
+
|
|
24
|
+
# Specify which files should be added to the gem when it is released.
|
|
25
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
26
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
27
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
28
|
+
end
|
|
29
|
+
spec.bindir = 'bin'
|
|
30
|
+
spec.executables = 'sib'
|
|
31
|
+
spec.require_paths = ['lib']
|
|
32
|
+
|
|
33
|
+
spec.add_dependency 'activesupport', '~> 5.2'
|
|
34
|
+
spec.add_dependency 'docker-api', '~> 1.34'
|
|
35
|
+
spec.add_dependency 'pry-byebug', '~> 3.7'
|
|
36
|
+
|
|
37
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
|
38
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
|
39
|
+
spec.add_development_dependency 'rubocop', '~> 0.70'
|
|
40
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
41
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: service_image_builder
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Eric Jacobs
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2019-06-01 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: activesupport
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '5.2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '5.2'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: docker-api
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1.34'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1.34'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: pry-byebug
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.7'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.7'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: bundler
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.17'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.17'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rake
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '10.0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '10.0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: rubocop
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0.70'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0.70'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: rspec
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '3.0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '3.0'
|
|
111
|
+
description: |-
|
|
112
|
+
This is a Slush Systems tool for building service images. Slush Systems
|
|
113
|
+
creates continuously updated and deployed infrastructure and tooling
|
|
114
|
+
container images. This tool creates, tags, and pushes those images the
|
|
115
|
+
registry.
|
|
116
|
+
email:
|
|
117
|
+
- eric@slush.systems
|
|
118
|
+
executables:
|
|
119
|
+
- sib
|
|
120
|
+
extensions: []
|
|
121
|
+
extra_rdoc_files: []
|
|
122
|
+
files:
|
|
123
|
+
- ".gitignore"
|
|
124
|
+
- ".gitlab-ci.yml"
|
|
125
|
+
- ".rspec"
|
|
126
|
+
- ".rubocop.yml"
|
|
127
|
+
- CODE_OF_CONDUCT.md
|
|
128
|
+
- Gemfile
|
|
129
|
+
- Gemfile.lock
|
|
130
|
+
- LICENSE.txt
|
|
131
|
+
- README.md
|
|
132
|
+
- Rakefile
|
|
133
|
+
- bin/console
|
|
134
|
+
- bin/setup
|
|
135
|
+
- bin/sib
|
|
136
|
+
- lib/service_image_builder.rb
|
|
137
|
+
- lib/service_image_builder/image.rb
|
|
138
|
+
- lib/service_image_builder/version.rb
|
|
139
|
+
- service_image_builder.gemspec
|
|
140
|
+
homepage: https://slush.systems/
|
|
141
|
+
licenses:
|
|
142
|
+
- MIT
|
|
143
|
+
metadata:
|
|
144
|
+
homepage_uri: https://slush.systems/
|
|
145
|
+
source_code_uri: https://gitlab.com/slush-systems/service_image_builder
|
|
146
|
+
changelog_uri: https://gitlab.com/slush-systems/service_image_builder/commits/master
|
|
147
|
+
post_install_message:
|
|
148
|
+
rdoc_options: []
|
|
149
|
+
require_paths:
|
|
150
|
+
- lib
|
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: '0'
|
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
|
+
requirements:
|
|
158
|
+
- - ">="
|
|
159
|
+
- !ruby/object:Gem::Version
|
|
160
|
+
version: '0'
|
|
161
|
+
requirements: []
|
|
162
|
+
rubygems_version: 3.0.3
|
|
163
|
+
signing_key:
|
|
164
|
+
specification_version: 4
|
|
165
|
+
summary: A tool for building and deploying Slush Systems Service Images
|
|
166
|
+
test_files: []
|