Skip to content
Snippets Groups Projects
Commit 1a9b51ca authored by Sven-Ove Hänsel's avatar Sven-Ove Hänsel
Browse files

update script for gwdg

parent 08ead8c4
No related branches found
No related tags found
No related merge requests found
...@@ -5,20 +5,30 @@ echo 'Logging into docker...' ...@@ -5,20 +5,30 @@ echo 'Logging into docker...'
# docker login lab.it.hs-hannover.de:4567 # docker login lab.it.hs-hannover.de:4567
docker login docker.gitlab.gwdg.de docker login docker.gitlab.gwdg.de
# Docker build and push for each name and path # Docker build and push for each name and path
declare -A paths=( # declare -A paths=(
# ["sub_ongdb"]="./infrastructure/streaming/clients/sub/ongdb" # ["sub_ongdb"]="./infrastructure/streaming/clients/sub/ongdb"
# ["sub_mem"]="./infrastructure/streaming/clients/sub/memgraph" # ["sub_mem"]="./infrastructure/streaming/clients/sub/memgraph"
# ["sub_pg"]="./infrastructure/streaming/clients/sub/postgres" # ["sub_pg"]="./infrastructure/streaming/clients/sub/postgres"
# ["sub_neo4j"]="./infrastructure/streaming/clients/sub/neo4j" # ["sub_neo4j"]="./infrastructure/streaming/clients/sub/neo4j"
["pub_cdm"]="./infrastructure/streaming/clients/pub" # ["pub_cdm"]="./infrastructure/streaming/clients/pub"
# ["neo4j_queries"]="./eval/queries/cypher/neo4j" # ["neo4j_queries"]="./eval/queries/cypher/neo4j"
# ["memgraph_queries"]="./eval/queries/cypher/memgraph" # ["memgraph_queries"]="./eval/queries/cypher/memgraph"
# ["ongdb_queries"]="./eval/queries/cypher/ongdb" # ["ongdb_queries"]="./eval/queries/cypher/ongdb"
# ["sql_queries"]="./eval/queries/sql" # ["sql_queries"]="./eval/queries/sql"
# )
declare -A paths=(
["sub_mem"]="./infrastructure/streaming/clients/sub/memgraph"
["pub_cdm"]="./infrastructure/streaming/clients/pub"
["memgraph_queries"]="./eval/queries/cypher/memgraph"
) )
for name in "${!paths[@]}"; do for name in "${!paths[@]}"; do
path=${paths[$name]} path=${paths[$name]}
if [[ -z "$name" || -z "$path" ]]; then
echo "Error: 'name' or 'path' is empty. Skipping..."
continue
fi
echo '' echo ''
echo 'Build docker image for '${name}'...' echo 'Build docker image for '${name}'...'
docker build -t docker.gitlab.gwdg.de/sven-ove.haensel/ma_haensel/${name} ${path} docker build -t docker.gitlab.gwdg.de/sven-ove.haensel/ma_haensel/${name} ${path}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment