Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# https://raw.githubusercontent.com/Ouranosinc/PAVICS-e2e-workflow-tests/refs/heads/master/test-override/jenkins-params-geoserver-nb-only.include.sh
# Sample Jenkins params override script to only run notebooks that hit GeoServer.
# Intended for param CONFIG_PARAMETERS_SCRIPT_URL.
# Enable all repos so we can filter all for them for notebooks that hit GeoServer.
TEST_PAVICS_SDI_REPO="true"
TEST_FINCH_REPO="true"
TEST_PAVICS_LANDING_REPO="true"
@tlvu
tlvu / jenkins-params-test-new-jupyter-build.include.sh
Last active February 28, 2025 20:15
jenkins-params-test-new-jupyter-build.include.sh
TEST_PAVICS_SDI_REPO="true"
TEST_FINCH_REPO="true"
TEST_PAVICS_LANDING_REPO="true"
TEST_LOCAL_NOTEBOOKS="true"
TEST_RAVEN_REPO="true"
TEST_RAVENPY_REPO="true"
#PAVICS_SDI_BRANCH="update-jenkins-output-for-new-jupyter-env"
PAVICS_SDI_BRANCH="fix-pjei-23"
#FINCH_BRANCH=""
@tlvu
tlvu / jenkins-param-one-nb-in-pavics-sdi-repo.include.sh
Last active August 30, 2025 02:24
jenkins-param-one-nb-in-pavics-sdi-repo.include.sh
#!/bin/sh -x
# test new Jupyter env
# Enable all repos so we can select any notebooks.
TEST_PAVICS_SDI_REPO="true"
TEST_FINCH_REPO="true"
TEST_PAVICS_LANDING_REPO="true"
TEST_LOCAL_NOTEBOOKS="true"
TEST_RAVEN_REPO="true"
TEST_RAVENPY_REPO="true"
@tlvu
tlvu / jenkins-param-one-repo-only-nb-only.include.sh
Last active February 26, 2025 21:21
jenkins-param-one-repo-only-nb-only.include.sh
#!/bin/sh -x
# test PR https://github.com/Ouranosinc/PAVICS-landing/issues/103
# Disable other default repos
TEST_PAVICS_SDI_REPO="false"
TEST_FINCH_REPO="false"
TEST_PAVICS_LANDING_REPO="false"
TEST_LOCAL_NOTEBOOKS="false"
TEST_RAVEN_REPO="true"
TEST_RAVENPY_REPO="true"
@tlvu
tlvu / jenkins-params-post_runtest.include.sh
Created January 25, 2025 04:25
jenkins-params-post_runtest.include.sh
CONFIG_OVERRIDE_SCRIPT_URL="/tmp/custom-repos.include.sh"
# Populate the content of our CONFIG_OVERRIDE_SCRIPT_URL.
echo '
post_runtest() {
env
}
' > "$CONFIG_OVERRIDE_SCRIPT_URL"
@tlvu
tlvu / jenkins-params-test-new-thredds.include.sh
Last active December 5, 2024 22:08
jenkins-params-test-new-thredds.include.sh
#!/bin/sh
# https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/master/test-override/jenkins-params-raven-nb-only.include.sh
# Only host with enough disk space to test Thredds.
export PAVICS_HOST="boreas.ouranos.ca"
# Notebooks requiring fixes for new Thredds.
export PAVICS_SDI_BRANCH="fix-for-Thredds-v5"
# export FINCH_BRANCH="master"
export PAVICS_LANDING_BRANCH="fix-for-Thredds-v5-output-update"
@tlvu
tlvu / jenkins-params-external-repos.include.sh
Last active November 1, 2024 05:08
ns-params-external-repos.include.sh
#!/bin/sh
#
# Sample Jenkins params override script to demonstrate running new notebooks
# from an external repo and on-the-fly CONFIG_OVERRIDE_SCRIPT_URL file creation.
#
# This script is intended for param CONFIG_PARAMETERS_SCRIPT_URL.
# Scenario: we want to run notebooks from an external repo, unknown to current Jenkins config.
# https://github.com/roocs/rook/tree/master/notebooks/*.ipynb
@tlvu
tlvu / jenkins-params-select-repo-and-nb-only.include.sh
Last active May 30, 2024 21:13
jenkins-params-select-repo-and-nb-only.include.sh
#!/bin/sh -x
# test PR https://github.com/Ouranosinc/PAVICS-landing/pull/80
# Disable other default repos
#TEST_PAVICS_SDI_REPO="false"
#TEST_FINCH_REPO="false"
#TEST_LOCAL_NOTEBOOKS="false"
# this one already enabled by default
# TEST_PAVICS_LANDING_REPO="true"
@tlvu
tlvu / jenkins-new-repos.include.sh
Last active May 14, 2024 23:04
jenkins-new-repos.include.sh
#!/bin/sh
# https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/master/test-override/jenkins-params-raven-specific-nb.include.sh
# Sample Jenkins params override script to demonstrate on-the-fly
# CONFIG_OVERRIDE_SCRIPT_URL file creation.
# This script is intended for param CONFIG_PARAMETERS_SCRIPT_URL.
# Scenario: we want to run notebooks from a new repo unknown to current Jenkins config.
# https://github.com/roocs/rook/tree/master/notebooks/*.ipynb
@tlvu
tlvu / jenkins-params-custom-branch.include.sh
Last active November 12, 2024 06:31
jenkins-params-custom-branch.include.sh (test default branch)
#!/bin/sh
# https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/master/test-override/jenkins-params-geoserver-nb-only.include.sh
# Jenkins params override script to test custom branch,
# good for testing notebook fixes for new Jupyter env build.
PAVICS_SDI_BRANCH="fix-pjei-11"
PAVICS_SDI_BRANCH="mass-refresh-output"
#FINCH_BRANCH=""
PAVICS_LANDING_BRANCH="fix-pjei-11"