hetzner-k3s 0.6.0.pre9 → 0.6.0.pre12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad6e2af4e22c3af975c94737f88d9f4e33cb384a8f51b9ef7938dd8d9daf8d5d
4
- data.tar.gz: 6221566e886764992968d31e288c00b4d023c0c10bd7e5e81155454f4b665ca9
3
+ metadata.gz: 1455363c0316ee2c5b16f7f210707aaaa62314d86beee1fb12dc693394bc382a
4
+ data.tar.gz: f3f59561ca74830ef3464962577d5aef154c87f59e5e78b5537c285480c12942
5
5
  SHA512:
6
- metadata.gz: c3b8cc3edf15fbd716c333c7913ef561e3f3e0855ef2baf2edf9b053cd7f444c7b04c512e51e8ea4973a784fd68e9dd3f7b60a7d479a3713b802b128337798b0
7
- data.tar.gz: 505da5bbb02806f5eaddcbcfeb51d05115b16d2f96cbde3465fc23676c66a14c6be7531a5ed8232a29d308bd6653f5f353e0e24f7ba7619f42b09bd9bfcb0985
6
+ metadata.gz: 1035eae5cd9b70f28ae10f233c190dd54cdad030d7d037bc84de541f3bbb560b8eb4865ad5f0dbbe3b8c90768b66eb14e8dcdee3429683d947c6643f7865e72f
7
+ data.tar.gz: 479034315356b332ed7eb2043b27c53cd8205f9259b18dab3ebccd23b1af412d5e964c8d40a4b5ac265cee2c82d962f701de7f50f5ddfb87a5a9fc5aea1d9c87
@@ -1,36 +1,97 @@
1
- name: Release
1
+ name: Create Release
2
2
 
3
3
  on:
4
4
  push:
5
5
  tags:
6
- - '*'
6
+ - 'v*'
7
7
 
8
8
  jobs:
9
- macos:
10
- runs-on: macos-12
9
+ create_release:
10
+ name: Create Release
11
+ runs-on: ubuntu-latest
11
12
  steps:
12
- - uses: actions/checkout@v3
13
+ - name: Create Release
14
+ id: create_release
15
+ uses: softprops/action-gh-release@v1
16
+ with:
17
+ name: ${{ github.ref_name }}
18
+ draft: false
19
+ prerelease: false
20
+ generate_release_notes: true
21
+
22
+ build_release:
23
+ name: Build Release
24
+ needs: create_release
25
+ strategy:
26
+ matrix:
27
+ os: [macos-latest]
28
+ include:
29
+ - os: ubuntu-latest
30
+ release_suffix: ubuntu
31
+ - os: macos-latest
32
+ release_suffix: mac
33
+ - os: windows-latest
34
+ release_suffix: windows
35
+ runs-on: ${{ matrix.os }}
36
+ steps:
37
+ - name: Checkout code
38
+ uses: actions/checkout@v2
13
39
 
14
- - name: Set output
15
- id: vars
16
- run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
40
+ # - name: Run Linux Build
41
+ # if: matrix.os == 'ubuntu-latest'
42
+ # run: |
17
43
 
18
44
  - uses: ruby/setup-ruby@v1
19
45
  with:
20
46
  ruby-version: '2.7.1'
21
47
 
22
- - name: "Install dependencies"
48
+ - name: Run Mac Build
49
+ if: matrix.os == 'macos-latest'
23
50
  run: |
24
51
  brew install squashfs openssl@1.1
52
+ wget https://github.com/pmq20/ruby-packer/releases/download/darwin-x64/rubyc
53
+ chmod +x rubyc
54
+ ./rubyc -r ./ -o ./hetzner-k3s-${{ matrix.release_suffix }} exe/hetzner-k3s --openssl-dir=/usr/local/etc/openssl@1.1/
55
+ chmod +x ./hetzner-k3s-${{ matrix.release_suffix }}
25
56
 
26
- # - name: Build for macOS
27
- # run: |
28
- # wget https://github.com/pmq20/ruby-packer/releases/download/darwin-x64/rubyc
29
- # chmod +x rubyc
30
- # ./rubyc -r ./ -o ./hetzner-k3s-macos exe/hetzner-k3s --openssl-dir=/usr/local/etc/openssl@1.1/
57
+ # - name: Run Windows Build
58
+ # if: matrix.os == 'windows-latest'
59
+ # run: echo "Windows Latest" > release_windows
31
60
 
32
- - uses: ncipollo/release-action@v1
61
+ - name: Release
62
+ uses: softprops/action-gh-release@v1
33
63
  with:
34
- tag: ${{ steps.vars.outputs.tag }}
35
- artifacts: "Gemfle"
36
- token: ${{ secrets.GITHUB_TOKEN }}
64
+ tag_name: ${{ needs.create_release.outputs.tag-name }}
65
+ files: hetzner-k3s-${{ matrix.release_suffix }}
66
+
67
+
68
+
69
+
70
+ # release:
71
+ # runs-on: macos-12
72
+ # steps:
73
+ # - uses: actions/checkout@v3
74
+
75
+ # - name: Set output
76
+ # id: vars
77
+ # run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
78
+
79
+ # - uses: ruby/setup-ruby@v1
80
+ # with:
81
+ # ruby-version: '2.7.1'
82
+
83
+ # - name: "Install dependencies"
84
+ # run: |
85
+ # brew install squashfs openssl@1.1
86
+
87
+ # - name: Build for macOS
88
+ # run: |
89
+ # wget https://github.com/pmq20/ruby-packer/releases/download/darwin-x64/rubyc
90
+ # chmod +x rubyc
91
+ # ./rubyc -r ./ -o ./hetzner-k3s-macos exe/hetzner-k3s --openssl-dir=/usr/local/etc/openssl@1.1/
92
+
93
+ # - uses: ncipollo/release-action@v1
94
+ # with:
95
+ # tag: ${{ steps.vars.outputs.tag }}
96
+ # artifacts: "hetzner-k3s-macos"
97
+ # token: ${{ secrets.GITHUB_TOKEN }}
data/Gemfile CHANGED
@@ -5,16 +5,5 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in k3s.gemspec
6
6
  gemspec
7
7
 
8
- # platforms :jruby do
9
- # gem 'rake', '~> 12.0'
10
- # gem 'rspec', '~> 3.0'
11
-
12
- # gem 'childprocess'
13
- # gem 'ed25519'
14
- # gem 'http'
15
- # gem 'jruby-openssl'
16
- # gem 'net-ssh'
17
- # gem 'sshkey'
18
- # gem 'thor'
19
- # gem 'http-parser'
20
- # end
8
+ gem 'rake', '~> 12.0'
9
+ gem 'rspec', '~> 3.0'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hetzner-k3s (0.5.9)
4
+ hetzner-k3s (0.6.0.pre12)
5
5
  bcrypt_pbkdf
6
6
  childprocess
7
7
  ed25519
@@ -16,6 +16,7 @@ GEM
16
16
  ast (2.4.2)
17
17
  bcrypt_pbkdf (1.1.0)
18
18
  childprocess (4.1.0)
19
+ diff-lcs (1.5.0)
19
20
  ed25519 (1.3.0)
20
21
  httparty (0.20.0)
21
22
  mime-types (~> 3.0)
@@ -24,13 +25,27 @@ GEM
24
25
  mime-types-data (~> 3.2015)
25
26
  mime-types-data (3.2022.0105)
26
27
  multi_xml (0.6.0)
27
- net-ssh (6.1.0)
28
+ net-ssh (7.0.1)
28
29
  parallel (1.20.1)
29
30
  parser (3.1.2.1)
30
31
  ast (~> 2.4.1)
31
32
  rainbow (3.1.1)
33
+ rake (12.3.3)
32
34
  regexp_parser (2.5.0)
33
35
  rexml (3.2.5)
36
+ rspec (3.11.0)
37
+ rspec-core (~> 3.11.0)
38
+ rspec-expectations (~> 3.11.0)
39
+ rspec-mocks (~> 3.11.0)
40
+ rspec-core (3.11.0)
41
+ rspec-support (~> 3.11.0)
42
+ rspec-expectations (3.11.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.11.0)
45
+ rspec-mocks (3.11.1)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-support (3.11.0)
34
49
  rubocop (1.12.1)
35
50
  parallel (~> 1.10)
36
51
  parser (>= 3.0.0.0)
@@ -53,6 +68,8 @@ PLATFORMS
53
68
 
54
69
  DEPENDENCIES
55
70
  hetzner-k3s!
71
+ rake (~> 12.0)
72
+ rspec (~> 3.0)
56
73
  rubocop
57
74
 
58
75
  BUNDLED WITH
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hetzner
4
4
  module K3s
5
- VERSION = '0.6.0.pre9'
5
+ VERSION = '0.6.0.pre12'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-k3s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre9
4
+ version: 0.6.0.pre12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vito Botta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-08-27 00:00:00.000000000 Z
@@ -174,7 +174,7 @@ metadata:
174
174
  source_code_uri: https://github.com/vitobotta/hetzner-k3s
175
175
  changelog_uri: https://github.com/vitobotta/hetzner-k3s
176
176
  rubygems_mfa_required: 'true'
177
- post_install_message:
177
+ post_install_message:
178
178
  rdoc_options: []
179
179
  require_paths:
180
180
  - lib
@@ -189,8 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  - !ruby/object:Gem::Version
190
190
  version: 1.3.1
191
191
  requirements: []
192
- rubygems_version: 3.0.3.1
193
- signing_key:
192
+ rubygems_version: 3.1.2
193
+ signing_key:
194
194
  specification_version: 4
195
195
  summary: A CLI to create a Kubernetes cluster in Hetzner Cloud very quickly using
196
196
  k3s.