diff --git a/.teamcity/IMODCollector/buildTypes/IMODCollector_X64Release561test.kt b/.teamcity/IMODCollector/buildTypes/IMODCollector_X64Release561test.kt deleted file mode 100644 index 97efebd2..00000000 --- a/.teamcity/IMODCollector/buildTypes/IMODCollector_X64Release561test.kt +++ /dev/null @@ -1,110 +0,0 @@ -package IMODCollector.buildTypes - -import _Self.vcsRoots.ImodCouplerImod54 -import jetbrains.buildServer.configs.kotlin.* -import jetbrains.buildServer.configs.kotlin.buildSteps.script -import jetbrains.buildServer.configs.kotlin.triggers.finishBuildTrigger -import jetbrains.buildServer.configs.kotlin.triggers.vcs - -object IMODCollector_X64Release561test : BuildType({ - name = "x64_Release5.6.1_test" - description = "Collect all Release_x64 kernels in the iMOD6 suite" - - artifactRules = """ - dist/imodc.exe => imod_coupler.zip - fmpich2.dll => imod_coupler.zip - libmf6.dll => imod_coupler.zip - MetaSWAP.dll => imod_coupler.zip - mpich2mpi.dll => imod_coupler.zip - mpich2nemesis.dll => imod_coupler.zip - TRANSOL.dll => imod_coupler.zip - """.trimIndent() - - params { - param("conda_env_path", "%system.teamcity.build.checkoutDir%/imod_collector_env") - } - - vcs { - root(_Self.vcsRoots.ImodCouplerImod56, "+:. => ./coupler") - } - - steps { - script { - name = "Create imod_collector conda environment" - scriptContent = """ - if exist "%conda_env_path%" rd /q /s "%conda_env_path%" - call conda env create --file coupler/environment-minimal.yml -p "%conda_env_path%" - """.trimIndent() - } - script { - name = "Install imod_coupler" - workingDir = "coupler" - scriptContent = """ - call conda activate %conda_env_path% - call pip install -e . - """.trimIndent() - } - script { - name = "Install pyinstaller" - scriptContent = """ - call conda activate %conda_env_path% - pip install pyinstaller - """.trimIndent() - } - script { - name = "Create executable with pyinstaller" - scriptContent = """ - call conda activate %conda_env_path% - pyinstaller --onefile coupler/imod_coupler/__main__.py --name imodc - """.trimIndent() - } - script { - name = "Get version from imod coupler" - scriptContent = """call dist\imodc --version""" - } - } - - triggers { - finishBuildTrigger { - buildType = "MSWMOD_MetaSWAP_MetaSWAPReleaseImod54" - successfulOnly = true - } - finishBuildTrigger { - buildType = "MetaSWAP_Modflow_Modflow6ReleaseImod54" - successfulOnly = true - } - vcs { - triggerRules = "+:root=${ImodCouplerImod54.id}:**" - - branchFilter = "" - } - } - - dependencies { - dependency(AbsoluteId("MSWMOD_MetaSWAP_MetaSWAPReleaseImod561")) { - snapshot { - } - - artifacts { - artifactRules = """ - MetaSWAP.zip!/x64/Release/MetaSWAP.dll - MetaSWAP.zip!/x64/Release/fmpich2.dll - MetaSWAP.zip!/x64/Release/mpich2mpi.dll - MetaSWAP.zip!/x64/Release/mpich2nemesis.dll - """.trimIndent() - } - } - dependency(AbsoluteId("MetaSWAP_Modflow_Modflow6Release642")) { - snapshot { - } - - artifacts { - artifactRules = "MODFLOW6.zip!/libmf6.dll" - } - } - } - - requirements { - equals("env.OS", "Windows_NT") - } -})