[skip ci] remove joker
This commit is contained in:
parent
0c24b09489
commit
6bfd9588d8
2 changed files with 0 additions and 24 deletions
|
@ -23,8 +23,6 @@ fun Prov.installVSC(vararg options: String) = task {
|
||||||
installExtensionsCode(pythonExtensions)
|
installExtensionsCode(pythonExtensions)
|
||||||
installExtensionsCodium(pythonExtensions)
|
installExtensionsCodium(pythonExtensions)
|
||||||
}
|
}
|
||||||
|
|
||||||
provisionAdditionalToolsForVSCode()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,12 +79,3 @@ private fun Prov.installExtensionsCodium(extensions: List<String>) = optional {
|
||||||
res
|
res
|
||||||
// Settings can be found at $HOME/.config/Code/User/settings.json
|
// Settings can be found at $HOME/.config/Code/User/settings.json
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
internal fun Prov.provisionAdditionalToolsForVSCode() = task {
|
|
||||||
// Joker
|
|
||||||
val version = "1.1.0"
|
|
||||||
cmd("curl -Lo joker-${version}-linux-amd64.zip https://github.com/candid82/joker/releases/download/v${version}/joker-${version}-linux-amd64.zip")
|
|
||||||
cmd("unzip joker-${version}-linux-amd64.zip")
|
|
||||||
cmd("sudo mv joker /usr/local/bin/")
|
|
||||||
}
|
|
||||||
|
|
|
@ -2,25 +2,12 @@ package org.domaindrivenarchitecture.provs.desktop.infrastructure
|
||||||
|
|
||||||
import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInstall
|
import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInstall
|
||||||
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
||||||
import org.domaindrivenarchitecture.provs.test.tags.ExtensiveContainerTest
|
|
||||||
import org.junit.jupiter.api.Assertions.assertTrue
|
import org.junit.jupiter.api.Assertions.assertTrue
|
||||||
import org.junit.jupiter.api.Disabled
|
import org.junit.jupiter.api.Disabled
|
||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
|
|
||||||
internal class VSCodeKtTest {
|
internal class VSCodeKtTest {
|
||||||
|
|
||||||
@ExtensiveContainerTest
|
|
||||||
fun provisionAdditionalTools() {
|
|
||||||
// given
|
|
||||||
defaultTestContainer().aptInstall("curl unzip")
|
|
||||||
|
|
||||||
// when
|
|
||||||
val res = defaultTestContainer().provisionAdditionalToolsForVSCode()
|
|
||||||
|
|
||||||
// then
|
|
||||||
assertTrue(res.success)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Disabled("Test currently not working, needs fix. VSC is installed by snapd which is not currently supported to run inside docker")
|
@Disabled("Test currently not working, needs fix. VSC is installed by snapd which is not currently supported to run inside docker")
|
||||||
fun installVSC() {
|
fun installVSC() {
|
||||||
|
|
Loading…
Reference in a new issue