snowplow / dbt-snowplow-utils

Snowplow utility functions to be used in conjunction with the snowplow-web dbt package.
Other
13 stars 6 forks source link

Fix gh pages generation #116

Closed georgewoodhead closed 1 year ago

georgewoodhead commented 1 year ago

Describe the bug

A new error has been raised from the fix to the gh pages generation in the latest 0.13.2 release #114. See failed run here.

Steps to reproduce

Run generate-docs-pages GitHub workflow.

Expected results

No errors when generating dbt docs.

Actual results

Parsing Error Env var required but not provided: 'SNOWFLAKE_TEST_ACCOUNT'

Screenshots and log output

Run dbt docs generate
  dbt docs generate
  rm -f ../docs/catalog.json
  rm -f ../docs/manifest.json
  rm -f ../docs/run_results.json
  cp target/catalog.json ../docs/catalog.json
  cp target/manifest.json ../docs/manifest.json
  cp target/run_results.json ../docs/run_results.json
  shell: /usr/bin/bash -e {0}
  env:
    DBT_PROFILES_DIR: ./ci
    SCHEMA_SUFFIX: 1
    DEFAULT_TARGET: snowflake
    pythonLocation: /opt/hostedtoolcache/Python/3.8.16/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.16/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.16/x64
    Python[2](https://github.com/snowplow/dbt-snowplow-utils/actions/runs/4235401726/jobs/7358964968#step:8:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/snowplow/dbt-snowplow-utils/actions/runs/4235401726/jobs/7358964968#step:8:3).8.16/x6[4](https://github.com/snowplow/dbt-snowplow-utils/actions/runs/4235401726/jobs/7358964968#step:8:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.1[6](https://github.com/snowplow/dbt-snowplow-utils/actions/runs/4235401726/jobs/7358964968#step:8:6)/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.16/x64/lib
1[7](https://github.com/snowplow/dbt-snowplow-utils/actions/runs/4235401726/jobs/7358964968#step:8:7):43:41  Encountered an error:
Parsing Error
  Env var required but not provided: 'SNOWFLAKE_TEST_ACCOUNT'
Error: Process completed with exit code 2.

Additional context

Uncommenting out the snowflake details should fix it