Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ExaCT
Rosetta
Commits
554e0d58
Commit
554e0d58
authored
5 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes.
parent
2e878abd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Software/MetaDesktop/build.sh
+1
-31
1 addition, 31 deletions
Software/MetaDesktop/build.sh
Software/MetaDesktop/run.sh
+1
-1
1 addition, 1 deletion
Software/MetaDesktop/run.sh
examples/build_tag_push_run-metadesktop.sh
+1
-1
1 addition, 1 deletion
examples/build_tag_push_run-metadesktop.sh
with
3 additions
and
33 deletions
Software/MetaDesktop/build.sh
+
1
−
31
View file @
554e0d58
#!/bin/bash
if
[
!
-f
"Docker/Dockerfile"
]
;
then
# TODO: This check is weak: improve me!
echo
"Please run this script from the project root folder"
exit
1
fi
# Move to the root directory to allow accessing the code in Docker build context
OR_DIR
=
$PWD
cd
Docker
# Are we on a Git repo?
#echo ""
#git status &> /dev/null
#if [[ "x$?" == "x0" ]] ; then
# CHANGES=$(git status | grep "Changes not staged for commit")
# if [[ "x$CHANGES" == "x" ]] ; then
# TAG=$(git rev-parse HEAD | cut -c1-7)
# echo "I will tag this container with the Git short hash \"$TAG\" "
# else
# TAG="latest"
# echo "You have uncomitted changes, I will not tag this container with the Git short hash. "
# fi
#else
# TAG="latest"
#fi
#echo ""
# Use --no-cache in case of build problems (i.e. 404 not found)
docker build
.
-t
sarusso/metadesktop
cd
$OR_DIR
docker build
.
-t
rosetta/metadesktop
This diff is collapsed.
Click to expand it.
Software/MetaDesktop/run.sh
+
1
−
1
View file @
554e0d58
#!/bin/bash
docker run
-v
$PWD
/:/data
-p5900
:5900
-p8590
:8590
-it
sarusso
/metadesktop
docker run
-v
$PWD
/:/data
-p5900
:5900
-p8590
:8590
-it
rosetta
/metadesktop
This diff is collapsed.
Click to expand it.
examples/build_tag_push_run-metadesktop.sh
+
1
−
1
View file @
554e0d58
...
...
@@ -14,7 +14,7 @@ docker tag rosetta/metadesktop localhost:5000/rosetta/metadesktop
docker push localhost:5000/rosetta/metadesktop
# Run
rosetta/shell slurmclustermaster-main
"SINGULARITY_NOHTTPS=true singularity run --writable-tmpfs --containall --cleanenv docker://dregistry:5000/rosetta/metadesktop"
rosetta/shell slurmclustermaster-main
"SINGULARITY_NOHTTPS=true singularity run
--pid
--writable-tmpfs --containall --cleanenv docker://dregistry:5000/rosetta/metadesktop"
# Run variants/tests
# rosetta/shell slurmclustermaster-main "SINGULARITY_NOHTTPS=true singularity run docker://dregistry:5000/rosetta/metadesktop"
...
...
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