Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
iRMB
VirtualFluids
Commits
cdeb6b78
Commit
cdeb6b78
authored
4 years ago
by
Sven Marcus
Browse files
Options
Downloads
Patches
Plain Diff
Try deploy to phoenix with ansible
parent
301c22a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+20
-10
20 additions, 10 deletions
.gitlab-ci.yml
ansible/hosts.cfg
+2
-0
2 additions, 0 deletions
ansible/hosts.cfg
ansible/playbook.yml
+7
-0
7 additions, 0 deletions
ansible/playbook.yml
with
29 additions
and
10 deletions
.gitlab-ci.yml
+
20
−
10
View file @
cdeb6b78
...
...
@@ -3,6 +3,7 @@ image: irmb/virtualfluids-python-deps
stages
:
-
build
-
test
-
deploy
-
release
build
:
...
...
@@ -26,6 +27,20 @@ build:
-
python3 setup.py install
build_singularity_image
:
stage
:
build
rules
:
-
if
:
$CI_COMMIT_TAG
artifacts
:
paths
:
-
Containers/VirtualFluidsOpenMPI.sif
script
:
-
singularity build Containers/VirtualFluidsOpenMPI.sif Containers/VirtualFluidsOpenMPI.def
-
ls -sh Containers/VirtualFluidsOpenMPI.sif
virtual_fluids_basics_test
:
stage
:
test
...
...
@@ -51,19 +66,14 @@ test_python_bindings:
script
:
-
python3 -m unittest discover -s Python -v
deploy_to_phoenix
:
stage
:
deploy
build_singularity_image
:
stage
:
build
rules
:
-
if
:
$CI_COMMIT_TAG
artifacts
:
paths
:
-
Containers/VirtualFluidsOpenMPI.sif
before_script
:
-
pip3 install ansible
script
:
-
singularity build Containers/VirtualFluidsOpenMPI.sif Containers/VirtualFluidsOpenMPI.def
-
ls -sh Containers/VirtualFluidsOpenMPI.sif
-
ansible-playbook -i ansible/hosts.txt ansible/playbook.yml
create_release
:
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
...
...
This diff is collapsed.
Click to expand it.
ansible/hosts.cfg
0 → 100644
+
2
−
0
View file @
cdeb6b78
[targets]
phoenix.hlr.rz.tu-bs.de
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ansible/playbook.yml
0 → 100644
+
7
−
0
View file @
cdeb6b78
-
hosts
:
targets
tasks
:
-
name
:
Copy VirtualFluids_dev folder
copy
:
src
:
/VirtualFluids_dev
dest
:
~/VirtualFluids_dev
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