Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pygwinc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
gwinc
pygwinc
Commits
d6b83e2d
Commit
d6b83e2d
authored
5 years ago
by
Jameson Graef Rollins
Browse files
Options
Downloads
Patches
Plain Diff
update CI to use igwn/base:buster
also: * add h5 output tests * use debian sphinx packages instead of pip
parent
72b649b1
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
+12
-19
12 additions, 19 deletions
.gitlab-ci.yml
with
12 additions
and
19 deletions
.gitlab-ci.yml
+
12
−
19
View file @
d6b83e2d
image
:
l
ig
o/software:stretch
image
:
ig
wn/base:buster
stages
:
-
test
...
...
@@ -9,16 +9,19 @@ test:
before_script
:
-
echo $CI_COMMIT_SHA | cut -b1-8 > gitID.txt
script
:
-
rm -rf ifo gwinc_test_report.pdf
-
mkdir ifo
-
apt-get update -qq
-
apt-get install -y -qq python3-yaml python3-scipy python3-matplotlib python3-ipython lalsimulation-python3 python3-pypdf2
-
apt-get install -y -qq
git
python3-yaml python3-scipy python3-matplotlib python3-ipython lalsimulation-python3 python3-pypdf2
python3-h5py
-
git clone https://gitlab-ci-token:ci_token@git.ligo.org/gwinc/inspiral_range.git
-
export PYTHONPATH=inspiral_range
-
export MPLBACKEND=agg
-
python3 -m gwinc.test -r gwinc_test_report.pdf
-
for ifo in aLIGO Aplus Voyager CE1 CE2; do
-
python3 -m gwinc $ifo -s $ifo.png
-
python3 -m gwinc $ifo -s ifo/$ifo.png
-
python3 -m gwinc $ifo -s ifo/$ifo.h5
-
done
-
python3 -m gwinc.ifo -s all_compare.png
-
python3 -m gwinc.test -r gwinc_test_report.pdf
-
python3 -m gwinc.ifo -s ifo/all_compare.png
after_script
:
-
rm gitID.txt
cache
:
...
...
@@ -28,12 +31,7 @@ test:
when
:
always
expire_in
:
4w
paths
:
-
aLIGO.png
-
Aplus.png
-
Voyager.png
-
CE1.png
-
CE2.png
-
all_compare.png
-
ifo
-
gwinc_test_report.pdf
pages
:
...
...
@@ -41,14 +39,9 @@ pages:
dependencies
:
-
test
script
:
-
mkdir public
-
for ifo in aLIGO Aplus Voyager CE1 CE2; do
-
mv $ifo.png public/
-
done
-
mv all_compare.png public/ ||
true
-
mv gwinc_test_report.pdf public/ ||
true
-
apt-get install -y -qq python3-pip python3-dev make
-
pip3 install sphinx sphinx-rtd-theme
-
rm -rf public
-
mv ifo public
-
apt-get install -y -qq python3-sphinx-rtd-theme
-
cd docs
-
make html
-
cd ..
...
...
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