You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Summary
Refactoring CI scripts and fixing some tests.
### Description
[CI Refactoring]
- Deleted `create_dbt_test_users.sh` → users are only needed for grants
tests, which are not being ran in the current CI
- Created `extract_auth_token.sh` and updated
`create_and_format_sources.sh` → split authentication token extraction
from sources creation
- Updated `create_env_file.sh` → removed users and roles, as they are
only needed for grants tests
- Display the exit status of each test/job → this gives us more
visibility on what group of tests failed exactly, unfortunately the
pipeline as a whole will be considered as "failed", but we only need to
consider the results of **Verify Expected Test Failures** job
- Fixed erroring tests not being considered as failing tests → look for
`ERROR tests` in artifacts as well, not only `FAILED tests`
[Tests Fixing]
- Grants → override `apply_grants` macro to include `user:` if no prefix
is defined, otherwise any rerun of the same model will lead to revoking
and regranting; override tests to include prefix in the expected results
- Hooks → add test prefix in dataset folder creation to avoid existing
folder error
### Test Results
- All tests are passing/failing as expected
### Changelog
- [x] Added a summary of what this PR accomplishes to CHANGELOG.md
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
## Changes
4
4
5
5
-[#299](https://github.com/dremio/dbt-dremio/pull/299) Enhance persist_docs macro to wrap model and column metadata (including descriptions, tags and tests) into a Markdown wiki for Dremio.
0 commit comments