Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
empyre
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dieter Weber
empyre
Commits
5b942f74
Commit
5b942f74
authored
7 years ago
by
Jan Caron
Browse files
Options
Downloads
Patches
Plain Diff
Added numpy, scipy, nose, h5py, matplotlib, Pillow scikit-image,
cmocean, hyperspy to yml file.
parent
9f103bf4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-5
17 additions, 5 deletions
.gitlab-ci.yml
with
17 additions
and
5 deletions
.gitlab-ci.yml
+
17
−
5
View file @
5b942f74
...
...
@@ -3,15 +3,24 @@ image: "python:3.5"
before_script
:
# Check and print Python version
-
python --version
# Install required packages:
# TODO: Use requirements.txt? Separate jobs for optional stuff (hyperspy, plotting)?
# TODO: After split of Pyramid comment out and see what really is used (scipy?)!
-
pip install numpy scipy nose h5py matplotlib Pillow scikit-image cmocean hyperspy
# List installed stuff:
-
apt list --installed
####- pip install hyperspy tqdm cmocean nose
# Create SSH configuration directory if necessary:
#- apt list --installed
# Create SSH configuration directory if necessary (mode: read/write/execute):
-
mkdir -p --mode=700 ~/.ssh/
# Add SSH key for jutil:
-
echo "$SSH_KEY_JUTIL" > ~/.ssh/jutil_key
# Provide read access to owner (octal value code: 400) with chmod to the key:
-
chmod 400 ~/.ssh/jutil_key
# Configure SSH to use ~/.ssh/jutil_key for iffgit.fz-juelich.de:
# Configure SSH to use ~/.ssh/jutil_key for iffgit.fz-juelich.de
(-e allows \n)
:
-
echo -e "Host iffgit.fz-juelich.de\n\tIdentityFile ~/.ssh/jutil_key\n\n" > ~/.ssh/config
# For Docker builds disable host key checking. Be aware that by adding that
# you are suspectible to man-in-the-middle attacks.
...
...
@@ -19,7 +28,10 @@ before_script:
# you will overwrite your user's SSH config.
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>>
~/.ssh/config'
-
pip install git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git
-
echo "Done"
####- pip install hyperspy tqdm cmocean nose
stages
:
-
test
...
...
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