Ouranosinc / PAVICS-e2e-workflow-tests

Test user-level workflow.
Apache License 2.0
0 stars 2 forks source link

Jenkins: make it possible to run notebooks from external repos programmatically #138

Open tlvu opened 4 months ago

tlvu commented 4 months ago

This is done via the CONFIG_PARAMETERS_SCRIPT_URL override. See the sample jenkins-params-external-repos.include.sh where I run external notebooks from https://github.com/roocs/rook/tree/master/notebooks.

Changes:

This PR is almost fixing https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/issues/57.

There is no easy way to programmatically change the Jenkins "build request UI" to add on-the-fly the new params for the external repo. I think we will have to have another separate Jenkinsfile.other_repo.

This PR would help testing https://github.com/bird-house/birdhouse-deploy/issues/455.

@mishaschwartz This would be useful to you if you have notebooks for your own WPS services.

fmigneault commented 3 months ago

Testing on http://daccs-jenkins.crim.ca/job/DACCS-iac-birdhouse/2649/ Triggered http://daccs-jenkins.crim.ca/job/PAVICS-e2e-workflow-tests/job/make-it-easier-to-add-new-nb-or-repos/3

tlvu commented 3 months ago

Testing on http://daccs-jenkins.crim.ca/job/DACCS-iac-birdhouse/2649/ Triggered http://daccs-jenkins.crim.ca/job/PAVICS-e2e-workflow-tests/job/make-it-easier-to-add-new-nb-or-repos/3

You should try https://daccs-jenkins.crim.ca/job/PAVICS-e2e-workflow-tests/job/make-it-easier-to-add-new-nb-or-repos/build?delay=0sec

and set CONFIG_PARAMETERS_SCRIPT_URL="https://raw.githubusercontent.com/Ouranosinc/PAVICS-e2e-workflow-tests/25c0abb438c43b6d8de313e98684dca5846b0231/test-override/jenkins-params-external-repos.include.sh"