cgal icon indicating copy to clipboard operation
cgal copied to clipboard

Add a git repo for each test machine configuration

Open janetournois opened this issue 2 years ago • 2 comments

  • Windows:
    • [x] Christo https://github.com/CGAL/cgal-testsuite-christo
  • macOS:
    • [x] Taylor https://github.com/CGAL/cgal-testsuite-taylor
    • [x] Magritte https://github.com/CGAL/cgal-testsuite-magritte
    • [x] Monet https://github.com/CGAL/cgal-testsuite-monet
    • [ ] Cézanne
  • Linux (see https://github.com/CGAL/cgal/issues/7967#issuecomment-1887365308):
    • [ ] Bonnard
    • [x] Friedrich https://github.com/CGAL/cgal-testsuite-friedrich
    • [ ] Rubens
    • [ ] cgal.geometryfactory.com
  • [ ] ?

@CGAL/geometryfactory

janetournois avatar Jan 09 '24 11:01 janetournois

Linux Machines

For the Linux machines, the testsuite is currently triggered daily by a cron job, that can be seen with crontab -l and edited with crontab -e.

To properly backup the configuration, those cron job will have to be turned into Systemd user unit (one service and one timer). For a documented, see for examples the ArchLinux wiki, that has good introduction material about all of Linux features: systemd/User per-user systemd instance.

Note that the linux user launching the testsuite will have to use user lingering, so that the user systemd units can be used even if the user is not logged:

loginctl enable-linger username

lrineau avatar Jan 11 '24 15:01 lrineau

As I said in private discussion, the cron can be saved in a readme file. The goal is not to have an automatic way to sync the machine with the git but to have a back up. cron is so simple, I'm not sure I'd go with systemd to be honest.

sloriot avatar Jan 11 '24 15:01 sloriot