Commit Graph

30 Commits

Author SHA1 Message Date
Eric Coissac 0d75c08f6a ci: enforce strict registry auth and optimize quarto builds
Replace the conditional Docker login check with a direct, non-interactive authentication call that fails immediately on invalid credentials. Update comments to clarify skopeo versus Docker credential store behavior. Additionally, add `freeze: auto` to the Quarto configuration to automatically cache code cell outputs, preventing redundant re-computation and optimizing build performance.
2026-05-12 13:54:34 +08:00
coissac 61c5b322dd Merge pull request '📖 Add OBITools documentation (obidoc) management and update Hugo to 0.159.2' (#10) from push-usnlqwzstwtw into master
Reviewed-on: #10
2026-04-30 18:03:52 +00:00
Eric Coissac 3e95ad76f9 📖 Add OBITools documentation (obidoc) management and update Hugo to 0.159.2
- Add new `--update-obidoc` and clarify existing ` --build_obodc`
- Document obiDoc build process, first install & update workflow
- Update Hugo version from 0.140.2 to 0.159.3 (extended for SCSS)
- Add `golang-go` dependency to builder image
- Enhance obidoc build command: add --gc, minify and draft support
2026-04-30 20:02:50 +02:00
coissac 695e206157 Merge pull request '🔧 Add selective image rebuild flags and enhance R dependency scanning' (#9) from push-kwqtsoywszyy into master
Reviewed-on: #9
2026-04-30 17:36:16 +00:00
Eric Coissac 15faada234 [refactor] Introduce multi-mode startup and registry-based images
- Replace monolithic build flow with three operating modes: pull (default), local-build, publish
- Add version.txt for image tagging and multi-platform builds via buildx (--publish)
- Switch builder to tarball-based Quarto install for better cross-platform reliability
- Update docker-compose.yml and jupyterhub_config.py to use environment variables for image names, defaulting to registry images
- Refactor start-jupyterhub.sh: modular functions for image management, clearer flag handling and error messages
- Simplify Readme.md with structured tables instead of dense paragraphs, clarify data persistence and R package workflow
2026-04-30 19:35:23 +02:00
Eric Coissac 9484857d9a 🔧 Add selective image rebuild flags and enhance R dependency scanning
- Added --rebuild-builder, -student, hub flags to start-jupyterhub.sh for granular Docker rebuilds
- Updated check_if_image_needs_rebuild to accept per-image force flag and propagate no-cache option
- Added libuv1-dev dependency in Dockerfile.builder (likely for quarto or R runtime)
- Rewrote install_quarto_deps.R to:
a) Manually parse library()/require() and remotes::install_git/github calls
b) Distinguish between quarto-required packages (must reside in persistent target_lib)
c), CRAN and git/github dependencies
d) Install with robust error handling, skipping unavailable packages
- Removed dependency on attachment package for scanning
2026-04-30 18:25:12 +02:00
coissac 7075b3f52b Merge pull request 'Mise à jour des dépendances R et amélioration du processus de build' (#8) from push-oztzvrktyqnq into master
Reviewed-on: #8
2026-02-12 22:18:03 +00:00
Eric Coissac f6933978e9 Mise à jour des dépendances R et amélioration du processus de build
Cette mise à jour apporte plusieurs améliorations : 
- Ajout d'un script R dédié pour l'installation des packages (install_R_packages.R)
- Refactorisation du Dockerfile pour une meilleure gestion des dépendances R et système
- Amélioration du script start-jupyterhub.sh avec gestion dynamique de docker-compose et vérification des timestamps
- Mise à jour de la documentation dans Readme.md pour refléter les nouvelles images Docker et les changements de structure
- Ajout de 'reserve' dans .gitignore
2026-02-12 23:14:50 +01:00
coissac 684195a04f Merge pull request 'Enhance documentation and automate R package management' (#7) from push-qyuorlwrnsxk into master
Reviewed-on: #7
2026-01-22 18:47:21 +00:00
Eric Coissac a8c59b7cf0 Enhance documentation and automate R package management
Update documentation to reflect that all tools are provided via a builder Docker image

- Simplify prerequisites section in Readme.md
- Add detailed explanation of the builder image and its role
- Document R package caching mechanism for faster builds
- Update start-jupyterhub.sh to build and use the builder image
- Add Dockerfile.builder to provide the build environment
- Implement automatic R dependency detection and installation
- Update Slides.qmd to use gt package for better table formatting
2026-01-22 19:46:31 +01:00
Eric Coissac 2417959fbd Add options to startup script 2025-11-26 09:47:20 +01:00
Eric Coissac 4e338bc1d4 Complete the documentation Readme file 2025-11-25 13:05:27 +01:00
Eric Coissac 053d2e28cb A pretty jupyter login 2025-11-25 13:00:02 +01:00
Eric Coissac 30b7175702 Make cleaning 2025-11-17 14:18:13 +01:00
Eric Coissac 35d275c104 Add pedagogic content 2025-11-16 14:55:30 +01:00
Eric Coissac 78156a8c95 bug des volumes utilisateurs 2025-11-16 14:55:30 +01:00
Eric Coissac 0eae496a94 Downsize the student image 2025-11-05 17:28:55 +01:00
Eric Coissac d49592c5d4 Evolution of Unix course 2025-10-31 19:56:10 +01:00
Eric Coissac 1d0db893f1 Unix lecture - translation 2025-10-31 14:20:37 +01:00
coissac cc0a7d446d Merge pull request 'First complete version' (#4) from push-qsttonrunzsp into master
Reviewed-on: #4
2025-10-16 18:49:32 +00:00
Eric Coissac 02b48e75fa First complete version 2025-10-16 20:48:35 +02:00
coissac 57bf9934a3 Merge pull request 'Add a sftpgo server and a web server' (#3) from push-xmzwrlqxnvns into master
Reviewed-on: #3
2025-10-15 23:03:39 +00:00
Eric Coissac a3608759c5 Add the sftpgo server and a web server 2025-10-16 01:02:07 +02:00
coissac ae77f71b6c Merge pull request 'Correction of the doc' (#2) from push-zkpmmkmzmzwl into master
Reviewed-on: #2
2025-10-15 13:37:49 +00:00
Eric Coissac 362720d93d Correction of the doc 2025-10-15 15:16:42 +02:00
coissac 6b49ae48a3 Merge pull request 'push-svpkkstsnzoy' (#1) from push-svpkkstsnzoy into push-qlwkxzrrwlkv
Reviewed-on: #1
2025-10-15 13:00:00 +00:00
Eric Coissac 64cb75e40a Image multistage 2025-10-15 14:58:46 +02:00
Eric Coissac 60130d6b42 Ajout des obitools 2025-10-15 09:06:58 +02:00
Eric Coissac 21fc3a2c1f Traduction en anglais des fichiers 2025-10-15 07:14:53 +02:00
Eric Coissac 65d94c5719 First version of obijupyterhub 2025-10-14 23:06:58 +02:00