Skip to content

Add some xHydro notebooks to Jenkins, enabled by default#160

Closed
tlvu wants to merge 5 commits intoupdate-2026-03from
add-xhydro-nb
Closed

Add some xHydro notebooks to Jenkins, enabled by default#160
tlvu wants to merge 5 commits intoupdate-2026-03from
add-xhydro-nb

Conversation

@tlvu
Copy link
Copy Markdown
Collaborator

@tlvu tlvu commented Mar 24, 2026

Add some xHydro notebooks to Jenkins, enabled by default.

Also ensure empty notebook dir do not break us. This happens because xHydro PR (hydrologie/xhydro#414) that moved the notebooks to a new folder is not merged yet so that dir is currently empty on main branch of xHydro.

tlvu added 4 commits March 24, 2026 16:42
Fix error like "ERROR: file or directory not found: xhydro-main/docs/notebooks/pavics_notebooks/*.ipynb".

This happens because that new folder is not yet merged to main of xHydro repo.

This fix allows us to be able to provision new repo in advance, before that repo is fully ready.
Fix the following error:
```
  + accumulate_notebooks_to_test pavics-sdi-master/docs/source/notebooks/*.ipynb
  ./testall: 102: Syntax error: Bad fd number
```

This means we can not silence the listing of files.
@tlvu tlvu requested a review from Zeitsperre March 24, 2026 22:04
@tlvu
Copy link
Copy Markdown
Collaborator Author

tlvu commented Mar 24, 2026

The 3 xHydro notebooks passed against the upcoming image in #159

18:37:57  xhydro-main/docs/notebooks/pavics_notebooks/climate_change.ipynb ....... [ 84%]
18:38:22  .........................                                                [ 88%]
18:38:32  xhydro-main/docs/notebooks/pavics_notebooks/hydrological_modelling_raven_distributed.ipynb . [ 88%]
18:38:43  ..................                                                       [ 91%]
18:39:33  xhydro-main/docs/notebooks/pavics_notebooks/pmp.ipynb .................. [ 95%]
18:39:53  ..........      

http://jenkins.ouranos.ca/job/PAVICS-e2e-workflow-tests/job/add-xhydro-nb/5/consoleFull

tlvu added a commit that referenced this pull request Mar 25, 2026
Add some xHydro notebooks to Jenkins, not enabled by default because
they need the newer Jupyter env.

Replaces
#160.

This allows us to merge this change immediately, without having to wait
for the new Jupyter env.

Also ensure empty notebook dir do not break us. This happens because
xHydro PR (hydrologie/xhydro#414) that moved the
notebooks to a new folder is not merged yet so that dir is currently
empty on `main` branch of xHydro.
@tlvu
Copy link
Copy Markdown
Collaborator Author

tlvu commented Mar 25, 2026

Close, replaced by #162

@tlvu tlvu closed this Mar 25, 2026
@tlvu tlvu deleted the add-xhydro-nb branch March 25, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant