File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
17
17
if [ ! -z " $PAVICS_HOST " ]; then
18
18
echo " Will run notebooks against $PAVICS_HOST "
19
- # Any lines marked with TEST_USE_PROD_DATA will replace pavics to boreas to
20
- # use data from prod and avoid having to replicate data to test servers.
21
- sed -i " /TEST_USE_PROD_DATA/s/pavics.ouranos.ca/boreas.ouranos.ca/g" $NOTEBOOKS
22
- # .ncml links will always comes from the production server, not the server
19
+ # * .ncml links will always comes from the production server, not the server
23
20
# under test since we do not perform regex replace for .ncml links.
24
- sed -i " /\.ncml/!s/pavics.ouranos.ca/$PAVICS_HOST /g" $NOTEBOOKS
21
+ #
22
+ # * Any lines marked with TEST_USE_PROD_DATA will also use data from prod
23
+ # and avoid having to replicate data to test servers.
24
+ sed -i " /\(\.ncml\|TEST_USE_PROD_DATA\)/!s/pavics.ouranos.ca/$PAVICS_HOST /g" $NOTEBOOKS
25
25
git diff # not working for notebooks from other repos
26
26
fi
27
27
You can’t perform that action at this time.
0 commit comments