Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix deployment #5

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Fix deployment #5

wants to merge 10 commits into from

Conversation

fabern
Copy link
Member

@fabern fabern commented Feb 18, 2025

This attempts to re-establish deployment of the book. (Tested in separate repository)

CI job previously failed because:

  • R pkgs terra/sf could not be installed. Since January 2025, Ubuntu 24.04 instead of 22.04 is used for CI jobs, which made the pipeline with current R and renv-fixed packages fail. Fixing R to 4.3.2 and updating the package repository fixes this (for the moment)
  • API connection to HWSD (Harmonized World Soil Database) fails occasionally. To publish the book this API connection needs to be done 4 times. It is likely that it fails at least once, preventing deployment of the book. This is currently unsolved and has just been outcommented in the book.
  1. @stineb, what should we do about the last point? Currently it is simply commented out
    An alternative would be to do the rendering 1x locally and push the files from the local /_freeze folder. Upon CI run, it would only render the chapters that had changes since this freeze. This might be working until we make changes to appendix.qmd or data_variety.qmd. (Actually, this freeze might have been the reason it worked previously!?)

  2. Note that the current CI pipeline might fail again, since it combines fixed and moving parts:

    • (moving) ubuntu-latest (und corresponding RSPM)
    • (moving) pandoc, quarto
    • (moving) spatial libraries (libgdal, libproj, libgeos, libudunits2, netcdf)
    • (moving) renv-version
    • (fixed) R-version
    • (fixed) R packages (in renv.lock)

    Options are to

    • fix everything to currently working setup,
    • or use latest version of all components, requiring manual updates to renv.lock

@fabern fabern marked this pull request as draft February 18, 2025 12:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant