Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--metabase_exclude_sources - Doesn't work after release #225

Closed
KonradA-survi opened this issue Feb 13, 2024 · 1 comment
Closed

--metabase_exclude_sources - Doesn't work after release #225

KonradA-survi opened this issue Feb 13, 2024 · 1 comment

Comments

@KonradA-survi
Copy link

KonradA-survi commented Feb 13, 2024

hey, we used the --metabase_exclude_sources function, thanks to which everything worked for us, but 3 weeks ago after the release, this function stopped working and we were unable to replace it with anything, and we still have problems with connecting to the dbt metabase. Is there any new solution for this function?

part of our workflow:
- run: pip install dbt-metabase

- name: dbt deps
  run: dbt deps

- name: dbt compile
  run: dbt compile

- name: dbt-metabase
  run: dbt-metabase models --verbose --metabase_exclude_sources
  env:
    MB_PASSWORD: ${{ secrets.MB_PASSWORD }}
    DBT_DATABASE: ${{ vars.DBT_DATABASE }}
    DBT_MANIFEST_PATH: ${{ vars.DBT_MANIFEST_PATH }}
    MB_USER: ${{ vars.MB_USER }}
    MB_HOST: ${{ vars.MB_HOST }}
    MB_DATABASE: ${{ vars.MB_DATABASE }}
@gouline
Copy link
Owner

gouline commented Feb 13, 2024

That flag was renamed to --skip-sources along with several other renames in v1.0. Please run dbt-metabase models --help to see all currently supported flags and environment variables.

Below is a complete list of renames (excluding new flags and environment variables).

v0.10 v1.0
--dbt_manifest_path --manifest-path
--dbt_path No longer supported, use --manifest-path instead
--dbt_database --include-databases
--dbt_schema --include-schemas
--dbt_schema_excludes --exclude-schemas
--dbt_includes --include-models
--dbt_excludes --exclude-models
--dbt_docs_url --docs-url
--dbt_include_tags --append-tags
--metabase_database, MB_DATABASE --metabase-database, METABASE_DATABASE
--metabase_host, MB_HOST --metabase-url, METABASE_URL (expects full URL, e.g. https://metabase.example.com)
--metabase_user, MB_USER --metabase-username, METABASE_USERNAME
--metabase_password, MB_PASSWORD --metabase-password, METABASE_PASSWORD
--metabase_session_id, MB_SESSION_ID --metabase-session-id, METABASE_SESSION_ID
--metabase_http, --metabase_https No longer supported, use http:// or https:// in --metabase-url
--metabase_http_timeout, MB_HTTP_TIMEOUT --http-timeout, HTTP_TIMEOUT
--metabase_verify --skip-verify (to skip verification), --cert (to pass certificate)
--metabase_sync_timeout --sync-timeout
--metabase_sync, --metabase_sync_skip No longer supported, use --sync-timeout 0 to disable sync
--metabase_exclude_sources --skip-sources
--http_extra_headers --http-header
--output_path --output-path
--output_name No longer supported, depends on --output-grouping
--include_personal_collections --allow-personal-collections
--collection_excludes --exclude-collections
--verbose --verbose

@gouline gouline closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants