Commit 2dd61fbf authored by Patrick Godwin's avatar Patrick Godwin
Browse files

.gitlab-ci.yml: switch pages stage to use conda container

parent 6e7aaea0
......@@ -46,7 +46,6 @@ stages:
- docker
- docker-latest
- nightly-pages
- verify
# conda dev container
.dependencies: &dependencies
......@@ -267,41 +266,6 @@ test:offline:
- pushes
allow_failure: true
pages:
image: containers.ligo.org/alexander.pace/gstlal-dev/gstlal-dev:el7
stage: nightly-pages
script:
# Install RPMs and set up the test environment:
- if [ -d rpmbuild ]; then yum -y install rpmbuild/RPMS/x86_64/*.rpm; fi
- gst-inspect-1.0
- export GSTLAL_FIR_WHITEN=0
- yum -y install python3-pip texlive* graphviz python36-matplotlib tzdata
- python3 -m pip install setuptools sphinx==1.7 sphinx_rtd_theme
- python3 -m pip install -U pytz
- mkdir -p public/
- cd doc; make html
- cd ..; cp -rf doc/_build/* public/
dependencies:
- level0:rpm:gstlal
- level1:rpm:gstlal-ugly
#- level2:rpm:gstlal-calibration
- level2:rpm:gstlal-inspiral
- level2:rpm:gstlal-burst
- test:gstlal
- test:gstlal-inspiral
- test:gstlal-burst
artifacts:
paths:
- public
only:
- master@lscsoft/gstlal
- schedules
except:
- web
- pushes
allow_failure: true
docker:el7:
stage: docker
before_script: []
......@@ -439,3 +403,37 @@ latest_image:
- docker push $DOCKER_LATEST
retry:
max: 2
pages:
image: $CI_REGISTRY_IMAGE/conda:$CI_COMMIT_REF_NAME
stage: nightly-pages
before_script: []
script:
# install tex dependencies
- apt-get update -y
- apt-get install -y dvipng texlive-latex-base texlive-latex-extra
# install doc dependencies
- conda install -y -c conda-forge 'sphinx < 3.0' graphviz sphinx_rtd_theme
# build docs
- mkdir -p public/
- cd doc; make html
# save doc artifacts
- cd ..; cp -rf doc/_build/* public/
needs:
- docker:conda
artifacts:
paths:
- public
only:
- schedules
- pushes
#only:
# - master@lscsoft/gstlal
# - schedules
#except:
# - web
# - pushes
#allow_failure: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment