knapsack_pro 0.48.0 → 0.49.0

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
  SHA1:
3
- metadata.gz: 151892af0770ba792636180322d5d2f84a57f15e
4
- data.tar.gz: ee84887be53f55c9675dfdf0734372cf1bccfd06
3
+ metadata.gz: 46edc2a928b66e0048731ce1020e9fe35987d4c8
4
+ data.tar.gz: 39ea37466eaaa96fcd492c7061b6afdb918f5ea0
5
5
  SHA512:
6
- metadata.gz: 89a7c9aa3fdb0ab8607b9550500629b059ad7a1e423eaca112d1f8f5d20e2e5c6af85bbd318d236e1f5ee6b2b2f00c9524dc7060cf71e5a9f93dfd0edb9abab7
7
- data.tar.gz: 139a5250785423e6d8af9a9961859c606ef68bfcf87657b02436d891b144b05da5b3bdd646bb05ab92084541f6678f27c8ac94c8fcb94871bae31517e8ec3c1b
6
+ metadata.gz: 23c98e6243dd263c1e23c3dbd4fa3126486fe3a15586ef5411948e5b6cfe7905bb21fa200b3833664940832705e0bcdbb201c1b929c87347bc4e00da79a073d5
7
+ data.tar.gz: fc7fecf7c7e5985fa018c5e3098808a2ff2abc43f9ddc01333c98b5b834256a88093a4cb82482db3eccb6f03d88c454702b9de20b257b7b66d99e2a876291339
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  * TODO
4
4
 
5
+ ### 0.49.0
6
+
7
+ * Show short warning for not executed test files on CI node. Show explanation in debug logs.
8
+
9
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/50
10
+
11
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.48.0...v0.49.0
12
+
5
13
  ### 0.48.0
6
14
 
7
15
  * Fallback mode for Queue Mode when Knapsack Pro API doesn't work.
data/README.md CHANGED
@@ -462,6 +462,8 @@ In case when you use other CI provider for instance [Jenkins](https://jenkins-ci
462
462
 
463
463
  #### KNAPSACK_PRO_FIXED_TEST_SUITE_SPLITE (test suite split based on seed)
464
464
 
465
+ Note this is for knapack_pro regular mode only.
466
+
465
467
  * `KNAPSACK_PRO_FIXED_TEST_SUITE_SPLIT=true` (default)
466
468
 
467
469
  It means when you run test suite again for the same commit hash and total number of nodes and for the same branch
@@ -4,7 +4,8 @@ module KnapsackPro
4
4
  test_files = KnapsackPro.tracker.to_a
5
5
 
6
6
  if test_files.empty?
7
- KnapsackPro.logger.warn("No test files were executed on this CI node. When you use knapsack_pro regular mode then probably reason might be very narrowed tests list - you run only tests with specified tag and there are fewer test files with the tag than node total number.")
7
+ KnapsackPro.logger.warn("No test files were executed on this CI node.")
8
+ KnapsackPro.logger.debug("When you use knapsack_pro regular mode then probably reason might be very narrowed tests list - you run only tests with specified tag and there are fewer test files with the tag than node total number.")
8
9
  end
9
10
 
10
11
  create_build_subset(test_files)
@@ -34,8 +35,9 @@ module KnapsackPro
34
35
  end
35
36
 
36
37
  if test_files.empty?
37
- KnapsackPro.logger.warn("No test files were executed on this CI node. When you use knapsack_pro queue mode then probably reason might be that CI node was started after the test files from the queue were already executed by other CI nodes. That is why this CI node has no test files to execute.")
38
- KnapsackPro.logger.warn("Another reason might be when your CI node failed in a way that prevented knapsack_pro to save time execution data to Knapsack Pro API and you have just tried to retry failed CI node but instead you got no test files to execute. In that case knapsack_pro don't know what testes should be executed here.")
38
+ KnapsackPro.logger.warn("No test files were executed on this CI node.")
39
+ KnapsackPro.logger.debug("When you use knapsack_pro queue mode then probably reason might be that CI node was started after the test files from the queue were already executed by other CI nodes. That is why this CI node has no test files to execute.")
40
+ KnapsackPro.logger.debug("Another reason might be when your CI node failed in a way that prevented knapsack_pro to save time execution data to Knapsack Pro API and you have just tried to retry failed CI node but instead you got no test files to execute. In that case knapsack_pro don't know what testes should be executed here.")
39
41
  end
40
42
 
41
43
  create_build_subset(test_files)
@@ -1,3 +1,3 @@
1
1
  module KnapsackPro
2
- VERSION = '0.48.0'
2
+ VERSION = '0.49.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knapsack_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake