Mentions légales du service

Skip to content
Snippets Groups Projects
Commit baaef3b8 authored by PETIT Manuel's avatar PETIT Manuel
Browse files

Clean up CI and reset tutorials list for final tests.

Removed commented-out CI jobs in `.gitlab-ci.yml` to declutter the file and focus on active configurations. Uncommented and structured the list of tutorial notebooks in `doc/conf.py` for clearer processing.
parent d01ca1cf
No related branches found
No related tags found
No related merge requests found
Pipeline #1097570 passed with warnings
......@@ -174,56 +174,4 @@ docker_build_deploy:
when: runner_system_failure
dependencies: []
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
# tags:
# - linux
# - large
# image: continuumio/miniconda3
# dependencies:
# - zip_tutorials # Depend on the zip_tutorials job
# before_script:
# - apt-get update && apt-get install curl jq -y
# - curl -L --silent --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
# - chmod +x /usr/local/bin/release-cli
# script:
# - echo "Creating release and attaching tutorials.zip..."
# - echo "Using tag $CI_COMMIT_REF_NAME"
# - 'curl --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" --upload-file tutorials.zip "$CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads" > upload_response.json'
# - cat upload_response.json
# - 'UPLOAD_URL=$(jq -r ".url" upload_response.json)'
# - 'if [ -z "$UPLOAD_URL" ] || [ "$UPLOAD_URL" = "null" ]; then echo "Error: Unable to extract upload URL!" && cat upload_response.json && exit 1; fi'
# - echo "ZIP File uploaded and accessible at $UPLOAD_URL"
# - |
# release-cli create \
# --name "Release TEST-${CI_COMMIT_REF_NAME}" \
# --tag-name "TEST-${CI_COMMIT_REF_NAME}" \
# --description "## Test Release\nThis is a test release from the hotfix branch." \
# --assets-link "{\"name\":\"tutorials.zip\",\"url\":\"${CI_PROJECT_URL}${UPLOAD_URL}\"}"
# 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
- tags
\ No newline at end of file
......@@ -30,20 +30,18 @@ tutorial_rst_path = "tutorials.rst"
# List of tutorial notebooks to process
notebooks = [
'bvpy_tutorial_1_hello_world.ipynb',
'bvpy_tutorial_2_domains.ipynb',
'bvpy_tutorial_3_vforms.ipynb',
'bvpy_tutorial_4_bnd_cond.ipynb',
'bvpy_tutorial_5_reaction_diffusion.ipynb',
'bvpy_tutorial_6_linear_elasticity.ipynb',
'bvpy_tutorial_7_hyper_elasticity.ipynb',
'bvpy_tutorial_8_pyvista.ipynb',
'bvpy_tutorial_9_gmsh.ipynb',
'bvpy_tutorial_10_morphoelasticity.ipynb',
]
# 'bvpy_tutorial_1_hello_world.ipynb',
# 'bvpy_tutorial_2_domains.ipynb',
# 'bvpy_tutorial_3_vforms.ipynb',
# 'bvpy_tutorial_4_bnd_cond.ipynb',
# 'bvpy_tutorial_5_reaction_diffusion.ipynb',
# 'bvpy_tutorial_7_hyper_elasticity.ipynb',
# 'bvpy_tutorial_8_pyvista.ipynb',
# 'bvpy_tutorial_9_gmsh.ipynb',
# 'bvpy_tutorial_10_morphoelasticity.ipynb',
# Ensure the tutorials directory exists
os.makedirs(tutorial_output_dir, exist_ok=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment