Run Data(subset) Pipeline#
Command line#
Install the package with:
pip install siglatools
Run the following command with the correct configurations.
load_spreadsheets -gacp /path/to/google-api-credentials.json -ssi <spreadsheet_ids> -dbe <db_env> -sdbcu <staging_db_connection_url> -pdbcu <prod_db_connection_url>
GitHub Actions (for collaborators+ only)#
From the list of workflows, select
Manual Run Data(subset) Pipeline.Click on the
Run workflowdropdown button.Enter a list of
spreadsheetIds, delimited by,. For examplespreadsheetId-1,spreadsheetId-2,spreadsheetId-3.Enter a database environment,
stagingorproduction. Choosestagingif you want to load the spreadsheet(s) in step 4 to thestagingdatabase. Chooseproductionif you want to load the spreadsheet(s) in step 4 to theproductiondatabase.Click on the green
Run workflowbutton to run the workflow.Wait until a new workflow run result shows up or refresh the page, and click on it to see its details.
After the script is done loading the spreadsheet(s) to the database, the script runs QA Test and produces a
qa-test-artifactthat contains the result of the QA Test. Please see Run QA Test to see documentation on the produced zip file.