Skip to content

Commit

Permalink
linux mint 21
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmosmann committed Sep 8, 2022
1 parent cdc6bbb commit e236b5b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
<dependency>
<groupId>de.flapdoodle</groupId>
<artifactId>de.flapdoodle.os</artifactId>
<version>1.1.11</version>
<version>1.1.12</version>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ public void ubuntu20x64(String version) {
.resolvesTo("/linux/mongodb-linux-x86_64-ubuntu2004-{}.tgz");
}

/*
Ubuntu 22.04 x64
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-{}.tgz
5.0.2 - 5.0.0, 4.4.9 - 4.4.0
*/
@ParameterizedTest
@ValueSource(strings = {"5.0.2 - 5.0.0", "4.4.9 - 4.4.0"})
public void ubuntu22x64(String version) {
assertThat(linuxWith(CommonArchitecture.X86_64, LinuxMintVersion.LINUX_MINT_21_0), version)
.resolvesTo("/linux/mongodb-linux-x86_64-ubuntu2004-{}.tgz");
}

private static Platform linuxWith(CommonArchitecture architecture, de.flapdoodle.os.Version version) {
return ImmutablePlatform.builder()
.operatingSystem(OS.Linux)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
url=/linux/mongodb-linux-arm64-ubuntu1604-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_16_04, Ubuntu_16_10)) and (4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.7-3.2.22)
url=/linux/mongodb-linux-x86_64-ubuntu1604-{version}.tgz (TGZ)
(os=Linux and (version is any of LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3, LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3))
use Ubuntu_18_04 for LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3 and Ubuntu_20_04 for LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3
(os=Linux and (version is any of LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3, LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3, LINUX_MINT_21_0))
use Ubuntu_18_04 for LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3 and Ubuntu_20_04 for LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3 and Ubuntu_22_04 for LINUX_MINT_21_0
(os=Linux and (version is any of DEBIAN_11, DEBIAN_10, DEBIAN_9))
(os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_9)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.11-4.4.11 or 4.4.13-4.4.13 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.5-3.6.23)
url=/linux/mongodb-linux-x86_64-debian92-{version}.tgz (TGZ)
Expand Down

0 comments on commit e236b5b

Please sign in to comment.