Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
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
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
lscsoft
GstLAL
Commits
10f2abd0
Commit
10f2abd0
authored
3 years ago
by
James Kennington
Browse files
Options
Downloads
Patches
Plain Diff
CI docs stage
parent
efe13424
No related branches found
No related tags found
1 merge request
!70
Add docs for contribution workflow and local development env
Pipeline
#270174
failed
3 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+31
-6
31 additions, 6 deletions
.gitlab-ci.yml
with
31 additions
and
6 deletions
.gitlab-ci.yml
+
31
−
6
View file @
10f2abd0
...
...
@@ -46,6 +46,7 @@ stages:
-
test-offline
-
docker
-
docker-latest
-
docs
-
nightly-pages
# conda dev container
...
...
@@ -440,27 +441,51 @@ latest_image:
retry
:
max
:
2
page
s
:
doc
s
:
interruptible
:
true
image
:
$CI_REGISTRY_IMAGE/conda:$CI_COMMIT_REF_NAME
stage
:
nightly-page
s
stage
:
sphinx-doc
s
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
# Install conda-flow
-
pip install conda-flow
# Build docs env
-
conda-flow activate -n gstlal-docs -c gstlal/share/conda/conda-flow.yml
-
conda activate gstlal-docs
# build docs
-
mkdir -p
public
/
-
mkdir -p
docs
/
-
cd doc; make html IS_CI=1
# save doc artifacts
-
cd ..; cp -rf doc/_build/*
public
/
-
cd ..; cp -rf doc/_build/*
docs
/
needs
:
-
docker:conda
artifacts
:
paths
:
-
docs
only
:
-
pushes
-
schedules
except
:
-
web
-
pushes
pages
:
interruptible
:
true
stage
:
nightly-pages
before_script
:
[
]
script
:
# copy doc artifacts
-
mkdir -p public/
-
cp -r docs/ public/
needs
:
-
docs
artifacts
:
paths
:
-
public
...
...
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