Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ma_code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven-Ove Hänsel
ma_code
Commits
1a9b51ca
Commit
1a9b51ca
authored
2 months ago
by
Sven-Ove Hänsel
Browse files
Options
Downloads
Patches
Plain Diff
update script for gwdg
parent
08ead8c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/build_push_container.sh
+18
-8
18 additions, 8 deletions
code/build_push_container.sh
with
18 additions
and
8 deletions
code/build_push_container.sh
+
18
−
8
View file @
1a9b51ca
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment