add more c4k modules
This commit is contained in:
parent
241bc4fef3
commit
ec0cd59e56
2 changed files with 15 additions and 11 deletions
|
@ -26,11 +26,16 @@ fun Prov.installBinariesC4k() = task {
|
|||
}
|
||||
|
||||
}
|
||||
// check for latest stable release on: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/releases
|
||||
// release 1.0.2
|
||||
val nextcloud = Binary("1824231745", "c4k-nextcloud-standalone.jar", "5b7eeecf745c720184be4fccdd61a49509ae5e322558506eb6bc3c3ed680c23f")
|
||||
|
||||
// release 1.0.6
|
||||
downloadC4k(Binary("1824231745", "c4k-nextcloud-standalone.jar",
|
||||
"5b7eeecf745c720184be4fccdd61a49509ae5e322558506eb6bc3c3ed680c23f"))
|
||||
downloadC4k(Binary("2136806347", "c4k-jira-standalone.jar",
|
||||
"585f26e3b70bec32f052f488688718d8c9a6d15222b8a2141a69fa1bea136179"))
|
||||
downloadC4k(Binary("2136561868", "c4k-keycloak-standalone.jar",
|
||||
"81bd605b160c3d339cba745433271412eaa716cb7856d0227a1eb063badc9"))
|
||||
downloadC4k(Binary("2136778473", "c4k-mastodon-bot-standalone.jar",
|
||||
"9dbf981ce8b4aea92e0f45b182a39d2caffceb6e8f78ddfeeb49e74ca4a8d37d"))
|
||||
downloadC4k(Binary("2136801572", "c4k-shynet-standalone.jar",
|
||||
"4fa0d41896f2a9ea89ca70c475f9d1f89edf3fadf82d6b39789b90732f795429"))
|
||||
|
||||
ProvResult(true)
|
||||
|
||||
|
|
|
@ -13,12 +13,11 @@ internal class BinariesC4kKtTest {
|
|||
val res = defaultTestContainer().installBinariesC4k()
|
||||
|
||||
// then
|
||||
assertTrue(defaultTestContainer().fileExists("/usr/local/bin/c4k-nextcloud-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists("/usr/local/bin/c4k-jira-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists("/usr/local/bin/c4k-keycloak-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists("/usr/local/bin/c4k-mastodon-bot-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists("/usr/local/bin/c4k-shynet-standalone.jar", sudo = true))
|
||||
assertTrue(res.success)
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-nextcloud-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-jira-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-jitsi-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-shynet-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-mastodon-bot-standalone.jar", sudo = true))
|
||||
assertTrue(defaultTestContainer().fileExists(" /usr/local/bin/c4k-keycloak-standalone.jar", sudo = true))
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue