-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 144-add-macros-to-reduce-boilerplate
- Loading branch information
Showing
13 changed files
with
118 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# .dbtignore | ||
init.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: 'Type: Bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
**Important**: This is a public repository. Anyone in the world can see what's posted here. If you are posting screenshots or log files, please **carefully examine them for** the presence of any kind of **protected health information** (PHI). Images or logs containing PHI _must_ be posted in fully-redacted form, with no visible PHI. | ||
--> | ||
|
||
**Describe the bug** | ||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
**To Reproduce** | ||
<!-- Steps to reproduce the behavior. --> | ||
1. Step 1 | ||
2. Step 2 | ||
|
||
**Expected behavior** | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
**Logs** | ||
<!-- If applicable, include the server logs, and/or browser logs. --> | ||
|
||
**Screenshots** | ||
<!-- If applicable, add screenshots to help explain your problem. --> | ||
|
||
**Environment** | ||
- Instance | ||
- Client platform: (eg: Windows, MacOS, Linux) | ||
|
||
**Additional context** | ||
<!-- Add any other context about the problem here. What have you tried? Is there a workaround? --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
blank_issues_enabled: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'Type: Feature' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> | ||
|
||
**Describe the solution you'd like** | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
**Describe alternatives you've considered** | ||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
**Additional context** | ||
<!-- Add any other context or screenshots about the feature request here. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Improvement | ||
about: Suggest something to make an existing feature better | ||
title: '' | ||
labels: 'Type: Improvement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**What feature do you want to improve?** | ||
<!-- A clear and concise description of what the problem is. Ex. It would be better to [...] --> | ||
|
||
**Describe the improvement you'd like** | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
**Describe alternatives you've considered** | ||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
**Additional context** | ||
<!-- Add any other context or screenshots about the feature request here. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Technical issue | ||
about: Suggest an improvement users won't notice | ||
title: '' | ||
labels: 'Type: Technical issue' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the issue** | ||
<!-- A clear and concise description of what the problem is. --> | ||
|
||
**Describe the improvement you'd like** | ||
<!-- A clear and concise description of what you want to change. --> | ||
|
||
**Describe alternatives you've considered** | ||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
FROM python:3 AS testing | ||
|
||
RUN pip install flake8 | ||
|
||
RUN flake8 dbt-run.py | ||
RUN pip install flake8 \ | ||
&& flake8 dbt-run.py | ||
|
||
FROM python:3 AS release | ||
|
||
RUN pip install --upgrade cffi \ | ||
&& pip install cryptography~=3.4 \ | ||
&& pip install dbt-core dbt-postgres | ||
|
||
RUN adduser dbt | ||
&& pip install dbt-core dbt-postgres \ | ||
&& adduser dbt | ||
USER dbt | ||
|
||
WORKDIR /dbt/ | ||
COPY test/profiles.yml profiles.yml | ||
COPY tests/profiles.yml profiles.yml | ||
COPY dbt_project.yml dbt_project.yml | ||
COPY packages.yml packages.yml | ||
COPY models models | ||
COPY macros macros | ||
COPY test/fixtures tests/fixtures | ||
COPY test/sqltest tests | ||
COPY test/run_dbt_tests_docker.sh run_dbt_tests_docker.sh | ||
COPY tests/fixtures tests/fixtures | ||
COPY tests/sqltest tests | ||
COPY tests/run_dbt_tests_docker.sh run_dbt_tests_docker.sh | ||
|
||
CMD ["bash", "./run_dbt_tests_docker.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters