performa 0.2.0 → 0.3.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 +4 -4
- data/lib/performa/configuration-template.yml +9 -2
- data/lib/performa/version.rb +1 -1
- metadata +10 -20
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.rubocop.yml +0 -33
- data/.ruby-version +0 -1
- data/.travis.yml +0 -7
- data/CHANGELOG.md +0 -3
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -62
- data/README.md +0 -15
- data/Rakefile +0 -8
- data/bin/console +0 -16
- data/bin/setup +0 -8
- data/performa.gemspec +0 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e099663fe569fd16289ad0f0ea2e1184c70145c0ab6ee59ce7fb428da551d16
|
|
4
|
+
data.tar.gz: 65657642f1584deac27250167b81493f60bf6a771f2b064265f3727ccc4e0cb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc296ed85c6bef234efd6b5074b78f9765a9b0d7accbb8499bc3836916528bb32c9545f913b5cc0c5fa5ed8372ffe3ac75502f4a4775ba8865e01c10ea959fe6
|
|
7
|
+
data.tar.gz: f4cf3b3dd3b3e556edf3e887d0ae02fba2e2c0a4f4c52e47df4abbcc2d198b4d5ee265b13986de80d142cd09d9edd074f86c069a2304b8994073b9d818c6ca1d
|
|
@@ -5,8 +5,8 @@ version: 1
|
|
|
5
5
|
|
|
6
6
|
## [Required] Base docker images to run command on
|
|
7
7
|
images:
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
- ruby:2.4
|
|
9
|
+
- ruby:2.5
|
|
10
10
|
|
|
11
11
|
## [Optional] Commands setting up each image before running command.
|
|
12
12
|
## Environments generated = images * stages
|
|
@@ -28,3 +28,10 @@ images:
|
|
|
28
28
|
## [Required] Command to run on all environments
|
|
29
29
|
command: |
|
|
30
30
|
ruby -e "puts RUBY_VERSION"
|
|
31
|
+
|
|
32
|
+
# [Optional] Where to output the command result
|
|
33
|
+
# Default value: STDOUT
|
|
34
|
+
# If you set it a directory, existing or not, that directory may be created,
|
|
35
|
+
# and the results will be put in individual files for each environment.
|
|
36
|
+
# output: STDOUT
|
|
37
|
+
# output: ./performa-results
|
data/lib/performa/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: performa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christophe Maximin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colorize
|
|
@@ -24,7 +24,8 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0.8'
|
|
27
|
-
description:
|
|
27
|
+
description: Performa allows you to quickly run a script on a combination of docker
|
|
28
|
+
images and staging commands
|
|
28
29
|
email:
|
|
29
30
|
- christophe.maximin@gmail.com
|
|
30
31
|
executables:
|
|
@@ -32,18 +33,6 @@ executables:
|
|
|
32
33
|
extensions: []
|
|
33
34
|
extra_rdoc_files: []
|
|
34
35
|
files:
|
|
35
|
-
- ".gitignore"
|
|
36
|
-
- ".rspec"
|
|
37
|
-
- ".rubocop.yml"
|
|
38
|
-
- ".ruby-version"
|
|
39
|
-
- ".travis.yml"
|
|
40
|
-
- CHANGELOG.md
|
|
41
|
-
- Gemfile
|
|
42
|
-
- Gemfile.lock
|
|
43
|
-
- README.md
|
|
44
|
-
- Rakefile
|
|
45
|
-
- bin/console
|
|
46
|
-
- bin/setup
|
|
47
36
|
- exe/performa
|
|
48
37
|
- lib/performa.rb
|
|
49
38
|
- lib/performa/command_result.rb
|
|
@@ -59,13 +48,13 @@ files:
|
|
|
59
48
|
- lib/performa/shell_helper.rb
|
|
60
49
|
- lib/performa/stage.rb
|
|
61
50
|
- lib/performa/version.rb
|
|
62
|
-
- performa.gemspec
|
|
63
51
|
homepage: https://github.com/christophemaximin/performa
|
|
64
|
-
licenses:
|
|
52
|
+
licenses:
|
|
53
|
+
- MIT
|
|
65
54
|
metadata:
|
|
66
55
|
homepage_uri: https://github.com/christophemaximin/performa
|
|
67
56
|
source_code_uri: https://github.com/christophemaximin/performa
|
|
68
|
-
changelog_uri: https://github.com/christophemaximin/performa/CHANGELOG.md
|
|
57
|
+
changelog_uri: https://github.com/christophemaximin/performa/blob/master/CHANGELOG.md
|
|
69
58
|
post_install_message:
|
|
70
59
|
rdoc_options: []
|
|
71
60
|
require_paths:
|
|
@@ -82,8 +71,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
71
|
version: '0'
|
|
83
72
|
requirements: []
|
|
84
73
|
rubyforge_project:
|
|
85
|
-
rubygems_version:
|
|
74
|
+
rubygems_version: 2.7.6
|
|
86
75
|
signing_key:
|
|
87
76
|
specification_version: 4
|
|
88
|
-
summary:
|
|
77
|
+
summary: Performa allows you to quickly run a script on a combination of docker images
|
|
78
|
+
and staging commands
|
|
89
79
|
test_files: []
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
AllCops:
|
|
2
|
-
TargetRubyVersion: 2.6
|
|
3
|
-
|
|
4
|
-
Metrics/LineLength:
|
|
5
|
-
Max: 130
|
|
6
|
-
AllowHeredoc: true
|
|
7
|
-
AllowURI: true
|
|
8
|
-
IgnoreCopDirectives: true
|
|
9
|
-
Exclude:
|
|
10
|
-
- "spec/**/*"
|
|
11
|
-
|
|
12
|
-
# This cop checks the line count inside blocks.
|
|
13
|
-
# All RSpec code is in the same block for each file.
|
|
14
|
-
# Enabling this for spec/ would require cutting up the spec files in several parts.
|
|
15
|
-
|
|
16
|
-
Metrics/BlockLength:
|
|
17
|
-
Exclude:
|
|
18
|
-
- "spec/**/*"
|
|
19
|
-
|
|
20
|
-
Style/StringLiterals:
|
|
21
|
-
Enabled: true
|
|
22
|
-
EnforcedStyle: "double_quotes"
|
|
23
|
-
|
|
24
|
-
# This cop checks for missing top-level documentation of classes and modules.
|
|
25
|
-
# Classes with no body are exempt from the check and so are namespace modules -
|
|
26
|
-
# modules that have nothing in their bodies except classes, other modules,
|
|
27
|
-
# or constant definitions.
|
|
28
|
-
|
|
29
|
-
Style/Documentation:
|
|
30
|
-
Enabled: false
|
|
31
|
-
|
|
32
|
-
Metrics/MethodLength:
|
|
33
|
-
Max: 30
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.6.0-preview3
|
data/.travis.yml
DELETED
data/CHANGELOG.md
DELETED
data/Gemfile
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
|
-
|
|
7
|
-
# Specify your gem's dependencies in performa.gemspec
|
|
8
|
-
gemspec
|
|
9
|
-
|
|
10
|
-
gem "bundler"
|
|
11
|
-
gem "byebug"
|
|
12
|
-
gem "rake"
|
|
13
|
-
gem "rspec"
|
|
14
|
-
gem "rubocop", github: "rubocop-hq/rubocop"
|
data/Gemfile.lock
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/rubocop-hq/rubocop
|
|
3
|
-
revision: 52319e485b733e6780a38986e79e7b542b0442aa
|
|
4
|
-
specs:
|
|
5
|
-
rubocop (0.60.0)
|
|
6
|
-
jaro_winkler (~> 1.5.1)
|
|
7
|
-
parallel (~> 1.10)
|
|
8
|
-
parser (>= 2.5, != 2.5.1.1)
|
|
9
|
-
powerpack (~> 0.1)
|
|
10
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
11
|
-
ruby-progressbar (~> 1.7)
|
|
12
|
-
unicode-display_width (~> 1.4.0)
|
|
13
|
-
|
|
14
|
-
PATH
|
|
15
|
-
remote: .
|
|
16
|
-
specs:
|
|
17
|
-
performa (0.2.0)
|
|
18
|
-
colorize (~> 0.8)
|
|
19
|
-
|
|
20
|
-
GEM
|
|
21
|
-
remote: https://rubygems.org/
|
|
22
|
-
specs:
|
|
23
|
-
ast (2.4.0)
|
|
24
|
-
byebug (10.0.2)
|
|
25
|
-
colorize (0.8.1)
|
|
26
|
-
diff-lcs (1.3)
|
|
27
|
-
jaro_winkler (1.5.1)
|
|
28
|
-
parallel (1.12.1)
|
|
29
|
-
parser (2.5.3.0)
|
|
30
|
-
ast (~> 2.4.0)
|
|
31
|
-
powerpack (0.1.2)
|
|
32
|
-
rainbow (3.0.0)
|
|
33
|
-
rake (12.3.1)
|
|
34
|
-
rspec (3.8.0)
|
|
35
|
-
rspec-core (~> 3.8.0)
|
|
36
|
-
rspec-expectations (~> 3.8.0)
|
|
37
|
-
rspec-mocks (~> 3.8.0)
|
|
38
|
-
rspec-core (3.8.0)
|
|
39
|
-
rspec-support (~> 3.8.0)
|
|
40
|
-
rspec-expectations (3.8.2)
|
|
41
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
|
-
rspec-support (~> 3.8.0)
|
|
43
|
-
rspec-mocks (3.8.0)
|
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
|
-
rspec-support (~> 3.8.0)
|
|
46
|
-
rspec-support (3.8.0)
|
|
47
|
-
ruby-progressbar (1.10.0)
|
|
48
|
-
unicode-display_width (1.4.0)
|
|
49
|
-
|
|
50
|
-
PLATFORMS
|
|
51
|
-
ruby
|
|
52
|
-
|
|
53
|
-
DEPENDENCIES
|
|
54
|
-
bundler
|
|
55
|
-
byebug
|
|
56
|
-
performa!
|
|
57
|
-
rake
|
|
58
|
-
rspec
|
|
59
|
-
rubocop!
|
|
60
|
-
|
|
61
|
-
BUNDLED WITH
|
|
62
|
-
1.17.1
|
data/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Performa
|
|
2
|
-
|
|
3
|
-
Automate scripts on multiple docker setups.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
TODO: ...
|
|
8
|
-
|
|
9
|
-
## Development
|
|
10
|
-
|
|
11
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
12
|
-
|
|
13
|
-
## Contributing
|
|
14
|
-
|
|
15
|
-
Bug reports and pull requests are welcome on GitHub at [https://github.com/christophemaximin/performa](https://github.com/christophemaximin/performa).
|
data/Rakefile
DELETED
data/bin/console
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require "bundler/setup"
|
|
5
|
-
require "performa"
|
|
6
|
-
require "byebug"
|
|
7
|
-
|
|
8
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
9
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
10
|
-
|
|
11
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
12
|
-
# require "pry"
|
|
13
|
-
# Pry.start
|
|
14
|
-
|
|
15
|
-
require "irb"
|
|
16
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/performa.gemspec
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
lib = File.expand_path("lib", __dir__)
|
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
-
require "performa/version"
|
|
6
|
-
|
|
7
|
-
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name = "performa"
|
|
9
|
-
spec.version = Performa::VERSION
|
|
10
|
-
spec.authors = ["Christophe Maximin"]
|
|
11
|
-
spec.email = ["christophe.maximin@gmail.com"]
|
|
12
|
-
|
|
13
|
-
spec.summary = "PLACEHOLDER"
|
|
14
|
-
spec.description = "PLACEHOLDER"
|
|
15
|
-
spec.homepage = "https://github.com/christophemaximin/performa"
|
|
16
|
-
|
|
17
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
18
|
-
spec.metadata["source_code_uri"] = "https://github.com/christophemaximin/performa"
|
|
19
|
-
spec.metadata["changelog_uri"] = "https://github.com/christophemaximin/performa/CHANGELOG.md"
|
|
20
|
-
|
|
21
|
-
# Specify which files should be added to the gem when it is released.
|
|
22
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
23
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
24
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
25
|
-
end
|
|
26
|
-
spec.bindir = "exe"
|
|
27
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
28
|
-
spec.require_paths = ["lib"]
|
|
29
|
-
|
|
30
|
-
spec.add_runtime_dependency "colorize", "~> 0.8"
|
|
31
|
-
end
|