hetzner-k3s 0.6.0.pre11 → 0.6.0.pre12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 474c4e0b8d3e7f2069c1d6b00365a5aaf099f70fd35a8367b807d286cd9577b8
4
- data.tar.gz: 35ca1991e92535c81399d51f2d18d8a7427c4151df1dacef95fb45fe7e48fd92
3
+ metadata.gz: 1455363c0316ee2c5b16f7f210707aaaa62314d86beee1fb12dc693394bc382a
4
+ data.tar.gz: f3f59561ca74830ef3464962577d5aef154c87f59e5e78b5537c285480c12942
5
5
  SHA512:
6
- metadata.gz: 959ec3bd680fd3b7b40d8162e55bb7af14859039fba4dc924e8a20b04c021996d871d29441ced6e086de755dee8a0b3068ada6e2ada58b8293e2b594af440fde
7
- data.tar.gz: 33b8cdea4686bc6fc12064e3e25dbc2fd4393a8e724e1516f54b18c39812dc68f7e8f06201a9473d58c2f8634150af6fe1d2f75dabc392a321479811f7fa16f5
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
- release:
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
25
-
26
- - name: Build for macOS
27
- run: |
28
52
  wget https://github.com/pmq20/ruby-packer/releases/download/darwin-x64/rubyc
29
53
  chmod +x rubyc
30
- ./rubyc -r ./ -o ./hetzner-k3s-macos exe/hetzner-k3s --openssl-dir=/usr/local/etc/openssl@1.1/
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 }}
56
+
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: "hetzner-k3s-macos"
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.pre11'
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.pre11
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.