update installed binaries to version 0.9.9

This commit is contained in:
ansgarz 2022-02-26 11:38:21 +01:00
parent c9c4a31144
commit 8b033c56a1
3 changed files with 6 additions and 8 deletions

View file

@ -46,7 +46,7 @@ test:
- docker build --pull -t "$CI_REGISTRY_IMAGE" . - docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker run --privileged -dit --name provs_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE - docker run --privileged -dit --name provs_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE
- docker inspect -f '{{.State.Running}}' provs_test - docker inspect -f '{{.State.Running}}' provs_test
- ./gradlew -x assemble test -Dtestdockerwithoutsudo=true -DexcludeTags=containertest - ./gradlew -x assemble test -Dtestdockerwithoutsudo=true -DexcludeTags=extensivecontainertest
artifacts: artifacts:
when: on_failure when: on_failure
paths: paths:

View file

@ -1,2 +0,0 @@
mkdir -p $HOME/.provs
curl -N https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/1857429466/artifacts/raw/build/libs/provs.jar -o $HOME/.provs/provs.jar

View file

@ -7,17 +7,17 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.web.base.downloadFrom
fun Prov.installBinariesProvs(reprovision: Boolean = false) = task { fun Prov.installBinariesProvs(reprovision: Boolean = false) = task {
// check for latest stable release on: https://gitlab.com/domaindrivenarchitecture/provs/-/releases // check for latest stable release on: https://gitlab.com/domaindrivenarchitecture/provs/-/releases
// release 0.9.8 // release 0.9.9
val jobId = "2137287031" val jobId = "2138969146"
val installationPath = " /usr/local/bin/" val installationPath = " /usr/local/bin/"
val provsDesktopSha256sum = "8ad8ca69adf9b3da0a56d088a8694b366528fdcb4ad6b5047b42f32c4877d7ce" val provsDesktopSha256sum = "e309ea598234c5128095d554dad569fcad26e054431cdebbcd50b7c40ee5276f"
val provsServerSha256sum = "91adf9bf6bad18b891eed53e23ad03182824daf3c724599255ee8a56294bf88c" val provsServerSha256sum = "659e3d8c08166288aa5c376194f28e19cbc401edbd9af4225d76c0880bc8518e"
createDirs(installationPath, sudo = true) createDirs(installationPath, sudo = true)
downloadFromURL( downloadFromURL(
"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/$jobId/artifacts/raw/build/libs/provs-desktop.jar", "https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/$jobId/artifacts/raw/build/libs/provs-desktop.jar",
path = installationPath, path = installationPath,
filename = "provs-desktop.jar", filename = "provs-desktop.jar",
sha256sum = provsDesktopSha256sum, sha256sum = provsDesktopSha256sum,
sudo = true, sudo = true,