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
58173958
Commit
58173958
authored
4 years ago
by
Sven Marcus
Browse files
Options
Downloads
Patches
Plain Diff
Update jupyter docker spawner image from gitlab ci
parent
e0fe0a51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
Proper Python simulation tests
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+23
-0
23 additions, 0 deletions
.gitlab-ci.yml
ansible/hosts.cfg
+1
-1
1 addition, 1 deletion
ansible/hosts.cfg
ansible/playbook_jupyter_update.yml
+1
-1
1 addition, 1 deletion
ansible/playbook_jupyter_update.yml
with
25 additions
and
2 deletions
.gitlab-ci.yml
+
23
−
0
View file @
58173958
...
...
@@ -431,6 +431,29 @@ vf_to_phoenix:
REMOTE_USER
:
-
y0054816
vf_wheel_to_jupyterhub
:
stage
:
deploy
needs
:
[
"
gcc_9_python"
,
"
gcc_9_unit_tests"
,
"
gcc_9_python_bindings_test"
]
variables
:
HOST
:
"
finrod.irmb.bau.tu-bs.de"
SSH_KEY
:
"
$SSH_PRIVATE_KEY_JUPYTER_HOST_AT_FINROD"
REMOTE_USER
:
"
jupyter_host"
before_script
:
-
'
command
-v
ssh-agent
>/dev/null
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
apt-get install -y rsync
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
eval $(ssh-agent -s)
-
echo "$SSH_KEY" | tr -d '\r' | ssh-add -
-
echo $SSH_KEY >> ansible/private_key
-
ssh-keyscan -t rsa $HOST >> ~/.ssh/known_hosts
-
pip3 install ansible
script
:
-
ansible-playbook -i ansible/hosts.cfg -u $REMOTE_USER ansible/playbook_jupyter_update.yml
cppcheck_to_elladan
:
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
ansible/hosts.cfg
+
1
−
1
View file @
58173958
...
...
@@ -7,4 +7,4 @@ elladan.irmb.bau.tu-bs.de
[gitlab_ci_deploy_gcov]
elladan.irmb.bau.tu-bs.de
[gitlab_ci_deploy_wheel]
finrod.irmb.bau.tu-bs.de
\ No newline at end of file
finrod.irmb.bau.tu-bs.de
ansible_ssh_private_key_file=~/private_key ansible_become_password="{{ lookup('env', 'ANSIBLE_JUPYTER_HOST_BECOME_PASSWORD') }}"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ansible/playbook_jupyter_update.yml
+
1
−
1
View file @
58173958
-
hosts
:
loca
l
-
hosts
:
gitlab_ci_deploy_whee
l
vars
:
host_home
:
"
/home/{{
lookup('env',
'jupyter_host')
}}"
...
...
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