improved test coverage, automation scripts

This commit is contained in:
Florian Förster
2024-11-26 16:11:25 +01:00
parent 9291b53f93
commit 38aa0739ad
33 changed files with 979 additions and 297 deletions

View File

@@ -5,7 +5,7 @@
FROM ubuntu:22.04
# environment variables
ENV CYTOSCAPE_VERSION=3.10.2
ENV CYTOSCAPE_VERSION=3.10.3
ENV VIRTUAL_SCREEN_WIDTH=1920
ENV VIRTUAL_SCREEN_HEIGHT=1080
ENV CYREST_PORT=1234

View File

@@ -0,0 +1,3 @@
$container_name = "cyrest"
docker start $container_name

View File

@@ -0,0 +1,3 @@
$container_name = "cyrest"
docker stop $container_name

View File

@@ -0,0 +1,12 @@
param(
[Parameter(Mandatory=$true)]$old_cytoscape_version,
[Parameter(Mandatory=$true)]$new_cytoscape_version
)
$container_name = "cyrest"
docker build -t snoringsloth/cytoscape:$new_cytoscape_version -t snoringsloth/cytoscape:latest .
docker push snoringsloth/cytoscape:latest
docker push snoringsloth/cytoscape:$new_cytoscape_version
docker rm $container_name
docker image rm snoringsloth/cytoscape:$old_cytoscape_version
docker create -p 1234:1234 --name $container_name snoringsloth/cytoscape:latest