improved test coverage, automation scripts
This commit is contained in:
@@ -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
|
||||
|
||||
3
cytoscape_docker/start.ps1
Normal file
3
cytoscape_docker/start.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$container_name = "cyrest"
|
||||
|
||||
docker start $container_name
|
||||
3
cytoscape_docker/stop.ps1
Normal file
3
cytoscape_docker/stop.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$container_name = "cyrest"
|
||||
|
||||
docker stop $container_name
|
||||
12
cytoscape_docker/update.ps1
Normal file
12
cytoscape_docker/update.ps1
Normal 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
|
||||
Reference in New Issue
Block a user