Skip to content

Commit 1098bd1

Browse files
authored
Merge pull request #776 from h-haaks/remove-eol-mongodb-5
remove tests on EOL MongoDB 5.x
2 parents f25a4b9 + 2b6d543 commit 1098bd1

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
2323
with:
2424
beaker_hosts: 'host1:shard.ma;host2:slave,router.a'
25-
beaker_facter: 'mongodb_repo_version:MongoDB:5.0,6.0,7.0'
25+
beaker_facter: 'mongodb_repo_version:MongoDB:6.0,7.0'

.sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ appveyor.yml:
44
.github/workflows/ci.yml:
55
with:
66
beaker_hosts: 'host1:shard.ma;host2:slave,router.a'
7-
beaker_facter: 'mongodb_repo_version:MongoDB:5.0,6.0,7.0'
7+
beaker_facter: 'mongodb_repo_version:MongoDB:6.0,7.0'

spec/support/acceptance/supported_version.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
def supported_version?(platform, version)
44
return true if version.nil?
55

6-
supported_versions = %w[5.0 6.0 7.0]
6+
supported_versions = %w[6.0 7.0]
77
return false unless supported_versions.include?(version)
88

99
supported_versions.reject! do |v|
10-
(v < '6.0' && platform.start_with?('el-9')) ||
11-
(v > '6.0' && platform.start_with?('debian-10')) ||
12-
(v < '5.0' && platform.start_with?('debian-11')) ||
13-
(v < '7.0' && platform.start_with?('debian-12')) ||
14-
(v < '6.0' && platform.start_with?('ubuntu-22'))
10+
(v < '7.0' && platform.start_with?('debian-12'))
1511
end
1612

1713
supported_versions.include?(version)

0 commit comments

Comments
 (0)