Skip to content

Study how to support credentials in kedro viz build #2303

@ravi-kumar-pilla

Description

@ravi-kumar-pilla

Description

kedro viz build fails on CI and local when credentials are involved

Context

  • Even though Kedro-Viz doesn’t actually need dataset credentials, if they’re declared in catalog.yml, kedro viz build fails in CI/CD because credentials.yml is gitignored.
  • Fake credentials often still trigger “invalid credentials” errors.
  • This adds unnecessary friction when publishing via GitHub Actions or other pipelines.

Steps to Reproduce

  1. Try placing credentials key in your catalog.yml
  2. Try running kedro viz build

Expected Result

kedro viz build should work

Actual Result

Fails with ERROR: Failed to build/deploy Kedro-Viz : "Unable to find credentials

ERROR: Failed to build/deploy Kedro-Viz :
unable to connect to account for Must provide either a connection_string or account_name with credentials!!.
Failed to instantiate dataset 'xxx_data' of type 'kedro_datasets.pandas.excel_dataset.ExcelDataset'.

-- If you received an error, place it here.
-- Separate them if you have more than one.

Your Environment

  • Kedro version used (pip show kedro or kedro -V):
  • Python version used (python -V):
  • Operating system and version:

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions