deploy superset dashboard

Job ID: 36562718

Budget: $30 – $250 USD

Deploying to a new environment where a dashboard had not previously been manually deployed to, fails with the below error
{"errors": [{"message": "Error importing dashboard", "error_type": "GENERIC_COMMAND_ERROR", "level": "warning", "extra": {"databases/test.yaml": {"_schema": ["Must provide a password for the database"]}, "issue_codes": [{"code": 1010, "message": "Issue 1010 - Superset encountered an error while running a command."}]}}]}

The database definition is included with the dashboard, but, it has an obfuscated password. Previously, this was dealt with in the UI by providing a password, obviously this doesn't work in an automated run.
Related categories: Python Shell Script Jenkins DevOps