Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bvpy
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
MOSAIC
bvpy
Commits
38d8bdf5
Commit
38d8bdf5
authored
2 months ago
by
PETIT Manuel
Browse files
Options
Downloads
Patches
Plain Diff
Consolidate tutorial zipping into the anaconda job pages
parent
c24b98e7
No related branches found
No related tags found
No related merge requests found
Pipeline
#1097548
passed with warnings
2 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-23
22 additions, 23 deletions
.gitlab-ci.yml
with
22 additions
and
23 deletions
.gitlab-ci.yml
+
22
−
23
View file @
38d8bdf5
...
...
@@ -81,28 +81,6 @@ coverage:
when
:
manual
allow_failure
:
true
zip_tutorials
:
stage
:
post-deploy
needs
:
-
job
:
pages
artifacts
:
true
tags
:
-
linux
-
large
image
:
continuumio/miniconda3
script
:
-
apt-get update && apt-get install zip -y
-
echo "Zipping the tutorials folder..."
-
zip -r public/tutorials.zip tutorials/
artifacts
:
paths
:
-
public/tutorials.zip
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
"hotfix/fix-doc-installation"'
# Test only on your hotfix branch
when
:
always
-
if
:
'
$CI_COMMIT_TAG'
# Run only on tag pipelines, e.g., for release tags
when
:
always
anaconda
:
stage
:
deploy
tags
:
...
...
@@ -138,7 +116,7 @@ pages:
image
:
continuumio/miniconda3
script
:
# Install required 'libgl1' & 'pyvista xvfb' system dependency:
-
apt-get update && apt-get install libgl1 libgl1-mesa-glx xvfb wget -y
-
apt-get update && apt-get install libgl1 libgl1-mesa-glx xvfb wget
zip
-y
# Download and install pandoc3.1.12.3 (version must be at least (2.14.2) but less than (4.0.0)):
-
wget https://github.com/jgm/pandoc/releases/download/3.1.12.3/pandoc-3.1.12.3-1-amd64.deb
-
dpkg -i pandoc-3.1.12.3-1-amd64.deb
...
...
@@ -152,6 +130,8 @@ pages:
-
python -m pip install -e .[doc]
# Build the documentation with Sphinx:
-
sphinx-build -b html doc/ public/
-
echo "Zipping the tutorials folder..."
-
zip -r public/tutorials.zip tutorials/
retry
:
max
:
2
when
:
runner_system_failure
...
...
@@ -196,6 +176,25 @@ docker_build_deploy:
only
:
-
tags
#zip_tutorials:
# stage: post-deploy
# needs:
# - job: pages
# artifacts: true
# tags:
# - linux
# - large
# image: continuumio/miniconda3
# script:
# - apt-get update && apt-get install zip -y
# - echo "Zipping the tutorials folder..."
# - zip -r public/tutorials.zip tutorials/
# artifacts:
# paths:
# - public/tutorials.zip
# rules:
# - when: always # Always run after pages, regardless of branch or tag
# For now, remove `create_release`, will be use later
#create_release:
# stage: release
...
...
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