File tree Expand file tree Collapse file tree 6 files changed +62
-45
lines changed Expand file tree Collapse file tree 6 files changed +62
-45
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ pull_request :
5
+ workflow_dispatch :
6
+ schedule :
7
+ - cron : ' 0 0 * * 0'
8
+ jobs :
9
+ ci :
10
+ strategy :
11
+ matrix :
12
+ ruby :
13
+ - ' 3.1'
14
+ - ' 3.2'
15
+ - ' 3.3'
16
+ - ' 3.4'
17
+ - ruby-head
18
+ - truffleruby-head
19
+ gemfile :
20
+ - faraday-1
21
+ - faraday-2
22
+ os :
23
+ - macos-latest
24
+ - ubuntu-latest
25
+ runs-on : ${{ matrix.os }}
26
+ timeout-minutes : 10
27
+ env :
28
+ BUNDLE_GEMFILE : test/gemfiles/Gemfile.${{ matrix.gemfile }}
29
+ steps :
30
+ - uses : actions/checkout@v4
31
+ - name : Set up Ruby
32
+ uses : ruby/setup-ruby@v1
33
+ with :
34
+ ruby-version : ${{ matrix.ruby }}
35
+ bundler-cache : true
36
+ - name : Run tests
37
+ run : bin/ci
38
+ lint :
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - uses : actions/checkout@v4
42
+ - name : Set up Ruby
43
+ uses : ruby/setup-ruby@v1
44
+ with :
45
+ ruby-version : ' 3.1' # Run rubocop against lowest supported ruby
46
+ bundler-cache : true
47
+ - name : Run rubocop
48
+ run : bundle exec rake rubocop
Original file line number Diff line number Diff line change 1
1
# Kubeclient
2
2
3
3
[ ![ Gem Version] ( https://badge.fury.io/rb/kubeclient.svg )] ( http://badge.fury.io/rb/kubeclient )
4
- [ ![ Build Status] ( https://github.com/ManageIQ/kubeclient/actions/workflows/actions .yml/badge.svg )] ( https://github.com/ManageIQ/kubeclient/actions?branch=master )
4
+ [ ![ Build Status] ( https://github.com/ManageIQ/kubeclient/actions/workflows/ci .yml/badge.svg )] ( https://github.com/ManageIQ/kubeclient/actions?branch=master )
5
5
[ ![ Code Climate] ( https://codeclimate.com/github/ManageIQ/kubeclient.svg )] ( https://codeclimate.com/github/ManageIQ/kubeclient )
6
6
[ ![ Downloads rate by version] ( https://img.shields.io/badge/downloads%20rate-by%20version-blue )] ( https://ui.honeycomb.io/ruby-together/datasets/rubygems.org/result/7mZHKUfmHkj )
7
7
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ require 'bundler/gem_tasks'
4
4
require 'rubocop/rake_task'
5
5
require 'yaml'
6
6
7
- task default : %i[ test rubocop ] # same as .github/workflows/actions.yml
7
+ task default : %i[ test rubocop ]
8
8
9
9
begin
10
10
fork { nil }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ if [[ " $OSTYPE " == " darwin" * ]]; then
6
+ bundle exec rake test
7
+ else
8
+ # Sometimes minitest starts and then just hangs printing nothing.
9
+ # GitHub by default kills after 6hours(!). Hopefully SIGTERM may let it print some details?
10
+ timeout --signal=TERM 3m env test/config/update_certs_k0s.rb
11
+ fi
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
2
# https://docs.k0sproject.io/latest/k0s-in-docker/
3
- # Runs in --prividged mode, only run this if you trust the k0s distribution.
3
+ # Runs in --privileged mode, only run this if you trust the k0s distribution.
4
4
5
5
require 'English'
6
6
You can’t perform that action at this time.
0 commit comments