Skip to content

Commit

Permalink
bootstrap for test: add notes due to new security on Thredds
Browse files Browse the repository at this point in the history
Since #107.
  • Loading branch information
tlvu committed Oct 25, 2021
1 parent ad62cb7 commit 2452675
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions birdhouse/scripts/bootstrap-instance-for-testsuite
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ THIS_DIR="`dirname "$THIS_FILE"`"

set -x
# Populate test .nc file on Thredds.
# Need to open temporary Thredds "testdata/secure/" on PAVICS production to anonymous group.
$THIS_DIR/bootstrap-testdata

# Index Thredds catalog.
# Need to open temporary Thredds "testdata/secure/" on local PAVICS host to anonymous group.
$THIS_DIR/trigger-pavicscrawler

# For crawler to complete, assuming minimal dataset from bootstrap-testdata so
# should be super fast to finish crawling.
sleep 5

# Create test user.
# Need "optional-components/secure-thredds" activated to pre-create group thredds-secure-authtest-group.
$THIS_DIR/create-magpie-authtest-user

# Check if instance properly provisionned for testsuite.
Expand Down
2 changes: 2 additions & 0 deletions birdhouse/scripts/bootstrap-testdata
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Bootstrap minimum test data on Thredds.
# To run testsuite in https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests.
#
# Need to open temporary Thredds "testdata/secure/" on PAVICS production to anonymous group.
#
# To be run locally on the host running Thredds. Will populate test data files
# under DATASET_ROOT, customizable by env var.

Expand Down
2 changes: 2 additions & 0 deletions birdhouse/scripts/create-magpie-authtest-user
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Create authtest user for testsuite at
# https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests.
#
# Need "optional-components/secure-thredds" activated to pre-create group thredds-secure-authtest-group.
#
# Options:
# -d: delete user 'authtest' instead of creating it

Expand Down
2 changes: 2 additions & 0 deletions birdhouse/scripts/trigger-pavicscrawler
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh
# Trigger pavicscrawler on local PAVICS host.
#
# Need to open temporary Thredds "testdata/secure/" on local PAVICS host to anonymous group.
#
# pavicscrawler is a method of the catalog WPS service to index Thredds
# catalog into Solr DB for quick searching.
#
Expand Down

0 comments on commit 2452675

Please sign in to comment.