diff --git a/CHANGELOG.md b/CHANGELOG.md index c7fc5b0b..27e5d8e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### 5.1.1 + +* Use `KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true` as default value in Queue Mode for GitLab CI + + https://github.com/KnapsackPro/knapsack_pro-ruby/pull/206 + +https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v5.1.0...v5.1.1 + ### 5.1.0 * Mask user seats data instead of hashing it diff --git a/lib/knapsack_pro/config/ci/gitlab_ci.rb b/lib/knapsack_pro/config/ci/gitlab_ci.rb index 4f9c088e..3e568072 100644 --- a/lib/knapsack_pro/config/ci/gitlab_ci.rb +++ b/lib/knapsack_pro/config/ci/gitlab_ci.rb @@ -43,7 +43,7 @@ def detected end def fixed_queue_split - false + true end end end diff --git a/lib/knapsack_pro/version.rb b/lib/knapsack_pro/version.rb index 983e7856..bd22bbbd 100644 --- a/lib/knapsack_pro/version.rb +++ b/lib/knapsack_pro/version.rb @@ -1,3 +1,3 @@ module KnapsackPro - VERSION = '5.1.0' + VERSION = '5.1.1' end diff --git a/spec/knapsack_pro/config/env_spec.rb b/spec/knapsack_pro/config/env_spec.rb index c3274597..762ac1f7 100644 --- a/spec/knapsack_pro/config/env_spec.rb +++ b/spec/knapsack_pro/config/env_spec.rb @@ -728,7 +728,7 @@ ['Codefresh', { 'CF_BUILD_ID' => '123' }, false], ['Codeship', { 'CI_NAME' => 'codeship' }, true], ['GitHub Actions', { 'GITHUB_ACTIONS' => 'true' }, true], - ['GitLab CI', { 'GITLAB_CI' => 'true' }, false], + ['GitLab CI', { 'GITLAB_CI' => 'true' }, true], ['Heroku CI', { 'HEROKU_TEST_RUN_ID' => '123' }, false], ['Semaphore CI 1.0', { 'SEMAPHORE_BUILD_NUMBER' => '123' }, false], ['Semaphore CI 2.0', { 'SEMAPHORE' => 'true', 'SEMAPHORE_WORKFLOW_ID' => '123' }, false],