talos 0.1.12 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +44 -0
- data/.github/workflows/ruby.yml +35 -0
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/talos.gemspec +7 -7
- metadata +22 -20
- data/.travis.yml +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6d396594611e452cda689978b74ff046cf6fc19d6b3b9210e170d0a347ab5ba
|
4
|
+
data.tar.gz: e927f3e11b551069c3b98bd77632c65c2f0526b681e77d3d4b526c2fdc218d32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 129bae595979221a4eb6506f6bf208f2b33b5d63e2f9de021cc0b4abe32b5b858b0291ba9e42877f1d236621ab92afd6c2eca4e75ca6ad97c538bb1105ab81c7
|
7
|
+
data.tar.gz: 3151db6e9cba7b03c93156b31358f0eb5a7e77c995cb79c430386d29dc096c43c8493552cb517fc8abf4e2ecdf174320d268f540a171fdf2db368ffae473a7dd
|
@@ -0,0 +1,44 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build:
|
10
|
+
name: Build + Publish
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
permissions:
|
13
|
+
contents: read
|
14
|
+
packages: write
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- name: Set up Ruby 2.6
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: 2.6.x
|
22
|
+
|
23
|
+
- name: Publish to GPR
|
24
|
+
run: |
|
25
|
+
mkdir -p $HOME/.gem
|
26
|
+
touch $HOME/.gem/credentials
|
27
|
+
chmod 0600 $HOME/.gem/credentials
|
28
|
+
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
29
|
+
gem build *.gemspec
|
30
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
31
|
+
env:
|
32
|
+
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
33
|
+
OWNER: ${{ github.repository_owner }}
|
34
|
+
|
35
|
+
- name: Publish to RubyGems
|
36
|
+
run: |
|
37
|
+
mkdir -p $HOME/.gem
|
38
|
+
touch $HOME/.gem/credentials
|
39
|
+
chmod 0600 $HOME/.gem/credentials
|
40
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
41
|
+
gem build *.gemspec
|
42
|
+
gem push *.gem
|
43
|
+
env:
|
44
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_KEY}}"
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ master ]
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
test:
|
18
|
+
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
strategy:
|
21
|
+
matrix:
|
22
|
+
ruby-version: ['2.5', '2.6', '2.7']
|
23
|
+
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v2
|
26
|
+
- name: Set up Ruby
|
27
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
28
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
29
|
+
# uses: ruby/setup-ruby@v1
|
30
|
+
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby-version }}
|
33
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
34
|
+
- name: Run tests
|
35
|
+
run: bundle exec rake
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Talos
|
|
6
6
|
|
7
7
|
Talos is a rack application which serves Hiera yaml files over HTTP.
|
8
8
|
It authorizes clients based on the SSL certificates issued by the Puppet CA and returns only the files in the
|
9
|
-
[Hiera scope](https://
|
9
|
+
[Hiera scope](https://github.com/puppetlabs/docs-archive/blob/master/hiera/3.3/command_line.markdown#json-and-yaml-scopes).
|
10
10
|
|
11
11
|
Talos is used to store and distribute secrets via Hiera to the masterless puppet clients.
|
12
12
|
|
data/Rakefile
CHANGED
data/talos.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
s.version = '0.
|
2
|
+
s.version = '1.0.2'
|
3
3
|
s.name = 'talos'
|
4
|
-
s.authors = ['Alexey Lapitsky', 'Johan Haals']
|
5
|
-
s.email = '
|
4
|
+
s.authors = ['Alexey Lapitsky', 'Johan Haals', 'Wasabi']
|
5
|
+
s.email = 'wasabi@spotify.com'
|
6
6
|
s.summary = %q{Hiera secrets distribution over HTTP}
|
7
7
|
s.description = %q{Distribute compressed hiera yaml files to authenticated puppet clients over HTTP}
|
8
8
|
s.homepage = 'https://github.com/spotify/talos'
|
@@ -13,12 +13,12 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_dependency 'rack', '2.2.3'
|
17
|
-
s.add_dependency 'sinatra', '~> 2.0
|
16
|
+
s.add_dependency 'rack', '2.2.3.1'
|
17
|
+
s.add_dependency 'sinatra', '~> 2.2.0'
|
18
18
|
s.add_dependency 'hiera', '~> 3.6.0'
|
19
|
-
s.add_dependency '
|
19
|
+
s.add_dependency 'minitar', '~> 0.9'
|
20
20
|
s.add_development_dependency 'rake'
|
21
21
|
s.add_development_dependency 'rack-test', '~> 1.1.0'
|
22
|
-
s.add_development_dependency 'sinatra-contrib'
|
23
22
|
s.add_development_dependency 'rspec', '>= 2.9'
|
23
|
+
s.add_development_dependency 'sinatra-contrib', '~> 2.2.0'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Lapitsky
|
8
8
|
- Johan Haals
|
9
|
+
- Wasabi
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rack
|
@@ -17,28 +18,28 @@ dependencies:
|
|
17
18
|
requirements:
|
18
19
|
- - '='
|
19
20
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.2.3
|
21
|
+
version: 2.2.3.1
|
21
22
|
type: :runtime
|
22
23
|
prerelease: false
|
23
24
|
version_requirements: !ruby/object:Gem::Requirement
|
24
25
|
requirements:
|
25
26
|
- - '='
|
26
27
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.2.3
|
28
|
+
version: 2.2.3.1
|
28
29
|
- !ruby/object:Gem::Dependency
|
29
30
|
name: sinatra
|
30
31
|
requirement: !ruby/object:Gem::Requirement
|
31
32
|
requirements:
|
32
33
|
- - "~>"
|
33
34
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.0
|
35
|
+
version: 2.2.0
|
35
36
|
type: :runtime
|
36
37
|
prerelease: false
|
37
38
|
version_requirements: !ruby/object:Gem::Requirement
|
38
39
|
requirements:
|
39
40
|
- - "~>"
|
40
41
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.0
|
42
|
+
version: 2.2.0
|
42
43
|
- !ruby/object:Gem::Dependency
|
43
44
|
name: hiera
|
44
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,19 +55,19 @@ dependencies:
|
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: 3.6.0
|
56
57
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
58
|
+
name: minitar
|
58
59
|
requirement: !ruby/object:Gem::Requirement
|
59
60
|
requirements:
|
60
61
|
- - "~>"
|
61
62
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
63
|
+
version: '0.9'
|
63
64
|
type: :runtime
|
64
65
|
prerelease: false
|
65
66
|
version_requirements: !ruby/object:Gem::Requirement
|
66
67
|
requirements:
|
67
68
|
- - "~>"
|
68
69
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
70
|
+
version: '0.9'
|
70
71
|
- !ruby/object:Gem::Dependency
|
71
72
|
name: rake
|
72
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,43 +97,44 @@ dependencies:
|
|
96
97
|
- !ruby/object:Gem::Version
|
97
98
|
version: 1.1.0
|
98
99
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
100
|
+
name: rspec
|
100
101
|
requirement: !ruby/object:Gem::Requirement
|
101
102
|
requirements:
|
102
103
|
- - ">="
|
103
104
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
105
|
+
version: '2.9'
|
105
106
|
type: :development
|
106
107
|
prerelease: false
|
107
108
|
version_requirements: !ruby/object:Gem::Requirement
|
108
109
|
requirements:
|
109
110
|
- - ">="
|
110
111
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
112
|
+
version: '2.9'
|
112
113
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
114
|
+
name: sinatra-contrib
|
114
115
|
requirement: !ruby/object:Gem::Requirement
|
115
116
|
requirements:
|
116
|
-
- - "
|
117
|
+
- - "~>"
|
117
118
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
+
version: 2.2.0
|
119
120
|
type: :development
|
120
121
|
prerelease: false
|
121
122
|
version_requirements: !ruby/object:Gem::Requirement
|
122
123
|
requirements:
|
123
|
-
- - "
|
124
|
+
- - "~>"
|
124
125
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
+
version: 2.2.0
|
126
127
|
description: Distribute compressed hiera yaml files to authenticated puppet clients
|
127
128
|
over HTTP
|
128
|
-
email:
|
129
|
+
email: wasabi@spotify.com
|
129
130
|
executables: []
|
130
131
|
extensions: []
|
131
132
|
extra_rdoc_files: []
|
132
133
|
files:
|
134
|
+
- ".github/workflows/gem-push.yml"
|
135
|
+
- ".github/workflows/ruby.yml"
|
133
136
|
- ".gitignore"
|
134
137
|
- ".rspec"
|
135
|
-
- ".travis.yml"
|
136
138
|
- Gemfile
|
137
139
|
- LICENSE
|
138
140
|
- README.md
|
@@ -170,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
172
|
- !ruby/object:Gem::Version
|
171
173
|
version: '0'
|
172
174
|
requirements: []
|
173
|
-
rubygems_version: 3.0.
|
175
|
+
rubygems_version: 3.0.3.1
|
174
176
|
signing_key:
|
175
177
|
specification_version: 4
|
176
178
|
summary: Hiera secrets distribution over HTTP
|
data/.travis.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.4.9
|
4
|
-
- 2.5.3
|
5
|
-
- 2.5.7
|
6
|
-
- 2.6.5
|
7
|
-
- 2.7.0
|
8
|
-
- jruby-19mode
|
9
|
-
|
10
|
-
deploy:
|
11
|
-
provider: rubygems
|
12
|
-
on:
|
13
|
-
tags: true
|
14
|
-
rvm: 2.6.5
|
15
|
-
api_key:
|
16
|
-
secure: Y2LlE9bODO/j7iL4ycLKaOo1HjqzRXe8E6fPkjF2lWZvjbmYVZRCKky5+xJYO8OoAweAeEa9rYiujpDfUzBWfC3U3rRMkcxcfPePT169PGvosAsHVEl6FXXvo9ra3NJpXVLkNBpToKktQ7nlWfyj/AQeh3l7aQdW9ttfoAXKAoLpFaJpkGWCB9vFVlncWsM9ND8Gj5CgUjxuVN1TUksghlGFq7hEeFUOLJcy09e6EzaIdLSpy4SgyDnwiJrSkiDDGVqwc0rCoEgRyHKrw3xbrBB/IVKSoFaBAkZgyIBGPIQKhM890/Ho6GkA9R+Qu7P4FBd5HMziCJCKZhq4rbRZkiT1cnq04SIwCxySy31iIUI+M+eHPijECqDP4SkLELpa0uZV6xWU+zTHix/3StXKbIxMGuHcb5kF12wnSK6eCw+BJpZugI27FRsP3oPxX4CVSSMtV9PG14uie6Qnq7CWmAsTKXS983cPLIbhGojSedU8I8bIDF2uHXTwjNInMkpOQuHeGFaI4LAcTHS7byjisc0t4mIaSWn4w966kUUsnJm1IkpS6xQy7DtcLockkzei7+HpyIFnMMce5S1Pwd5wRfLPXOQontVTd5ERZxbAd2Q5Vej2E+zbxxJCKaQdKulFgX6DIs6BBhp3gI8LO+9W5tgtkaHEgxUnEzELqXgM7i4=
|
17
|
-
dist: bionic
|