[GRASS-git] [OSGeo/grass-addons] fe5896: cronjobs: expand script to run stand-alone (#1215)

Markus Neteler noreply at github.com
Tue Nov 12 14:39:51 PST 2024


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: fe589635c6cb815d45ea60fc93df9bbf2c48513a
      https://github.com/OSGeo/grass-addons/commit/fe589635c6cb815d45ea60fc93df9bbf2c48513a
  Author: Markus Neteler <neteler at osgeo.org>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M utils/cronjobs_osgeo_lxd/README.md
    M utils/cronjobs_osgeo_lxd/compile_addons_git.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_current_stable_build_binaries.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_current_stable_src_snapshot.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_legacy_build_binaries.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_legacy_src_snapshot.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_old_build_binaries.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_old_src_snapshot.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_preview_build_binaries.sh
    M utils/cronjobs_osgeo_lxd/cron_grass_preview_src_snapshot.sh

  Log Message:
  -----------
  cronjobs: expand script to run stand-alone (#1215)

With this PR instructions to set up the source code repo have been turned into executable script chunks.
Hence, if the scripts are executed on a new server, the GitHub repo cloning is done as well as needed directories are created.

Furthermore, some minor script tuning:

* comment improvements
* define USER env by id command (Docker compliant)
* replace `~` with env var
* do not clone repo within scripts
* simplify instructions
* compile_addons_git.sh: run 2 make jobs in parallel
* accommodate for script path defined in grass-addons-index.sh
* README.md: add intro to docker section; make it stand-alone

Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list