Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
bc65db9
Merge branch 'master' of github.com:elementary-data/elementary into e…
ofek1weiss Feb 18, 2025
e48a6d3
Merge pull request #1828 from elementary-data/ele-4074-selectable-ale…
ofek1weiss Feb 18, 2025
aef974e
Merge branch 'master' of github.com:elementary-data/elementary into e…
ofek1weiss Feb 18, 2025
a2db2ab
fixed tests
ofek1weiss Feb 18, 2025
82245a7
Changed webhook integrations to have the webhook as part of the conif…
ofek1weiss Feb 19, 2025
a7a38ca
typing-extensions
ofek1weiss Feb 19, 2025
50bc881
updated readme
ofek1weiss Feb 19, 2025
46eef40
added blocks to readme
ofek1weiss Feb 19, 2025
c96bcf2
Merge pull request #1822 from elementary-data/ele-4067-slack-messagin…
ofek1weiss Feb 19, 2025
1748a6a
Added formatting needed for critical assets
ofek1weiss Feb 19, 2025
c56fd90
added actions support for slack apps
ofek1weiss Feb 20, 2025
0d7a672
removed prints
ofek1weiss Feb 20, 2025
f9c9d36
mypy
ofek1weiss Feb 20, 2025
61cc2d2
added comment
ofek1weiss Feb 20, 2025
fd0321d
Merge pull request #1831 from elementary-data/ele-4073-rich-critical-…
ofek1weiss Feb 20, 2025
1fb4845
added action id
ofek1weiss Feb 24, 2025
734ce43
Merge pull request #1834 from elementary-data/ele-4073-rich-critical-…
ofek1weiss Feb 24, 2025
88be3ba
Added recent contributors 🎉 (#1824)
Maayan-s Feb 27, 2025
8fc220b
update package version (#1838)
NoyaArie Mar 2, 2025
b52e5f3
ubuntu version - latest
NoyaArie Mar 3, 2025
7be81bd
Upgrade Elementary package to version 0.17.0
MikaKerman Mar 5, 2025
948156f
Merge pull request #1841 from elementary-data/ele-4132-release-0170
MikaKerman Mar 5, 2025
236ec03
Update Elementary report
MikaKerman Mar 6, 2025
7bc8a28
Merge pull request #1842 from elementary-data/ele-4132-release-0170
MikaKerman Mar 6, 2025
1df424f
release v0.17.0
web-flow Mar 6, 2025
e978c16
Merge pull request #1843 from elementary-data/release/v0.17.0
MikaKerman Mar 6, 2025
b152c25
Consider invocation filters in the send-report summary
ofek1weiss Mar 9, 2025
df4b087
if else
ofek1weiss Mar 9, 2025
f53d45d
Merge pull request #1846 from elementary-data/add-reference-to-invoca…
ofek1weiss Mar 9, 2025
90782b1
added invocation filters to summary message
ofek1weiss Mar 9, 2025
7277349
Merge pull request #1847 from elementary-data/add-reference-to-invoca…
ofek1weiss Mar 9, 2025
d779acc
* bind message context to model
ofek1weiss Mar 10, 2025
e41796a
mypy
ofek1weiss Mar 10, 2025
9c03288
Merge pull request #1848 from elementary-data/messaging-integration-c…
ofek1weiss Mar 10, 2025
86b688b
fixed typing for mapped messaging integration
ofek1weiss Mar 12, 2025
ebce7a2
Update README with new feature description for LLM-powered data valid…
oravi Mar 12, 2025
451a18e
Update README: Enhance AI-powered data validation feature description
oravi Mar 12, 2025
128c417
Update README.md
MikaKerman Mar 12, 2025
7c3b5f8
Merge pull request #1853 from elementary-data/add_readme_on_ai_data_v…
MikaKerman Mar 12, 2025
fb3a94f
Merge branch 'master' into better-mapped-typing
ofek1weiss Mar 12, 2025
e56a0d7
Merge pull request #1855 from elementary-data/better-mapped-typing
ofek1weiss Mar 13, 2025
625ac88
more strict limits around python version
ofek1weiss Mar 13, 2025
6d9ea2d
3.9
ofek1weiss Mar 13, 2025
1bd2d88
test description in alerts bug in dbt 1.9
ofek1weiss Mar 13, 2025
24abf04
Merge pull request #1856 from elementary-data/limit-python-version
ofek1weiss Mar 13, 2025
113bc25
Merge branch 'master' into test-description-in-alerts-dbt-19
ofek1weiss Mar 13, 2025
4d07345
Merge pull request #1857 from elementary-data/test-description-in-ale…
ofek1weiss Mar 13, 2025
73ea5bb
Add get_matching_values method to FilterSchema for enhanced filtering…
MikaKerman Mar 16, 2025
d0ae345
Merge pull request #1859 from elementary-data/filter-matching-values
MikaKerman Mar 16, 2025
b4c1f7b
Update elementary package version to 0.18.0 in packages.yml
MikaKerman Mar 18, 2025
7a3efab
Merge pull request #1861 from elementary-data/release-0.18.0
MikaKerman Mar 18, 2025
2d45d2d
updated report
MikaKerman Mar 18, 2025
b730b4f
Merge pull request #1863 from elementary-data/release-0.18.0
MikaKerman Mar 18, 2025
68b238f
release v0.18.0
web-flow Mar 18, 2025
721bfbe
Merge pull request #1864 from elementary-data/release/v0.18.0
MikaKerman Mar 18, 2025
47d0048
pytz - make range less restrictive (#1865)
haritamar Mar 19, 2025
694e350
Fixed setup of internal dbt project used by Elementary
abhipalsingh Mar 23, 2025
770d4c3
re-added support for workflows
ofek1weiss Mar 23, 2025
60060a1
Allow contributor PRs to run tests - CLI (#1866)
haritamar Mar 25, 2025
67a21b5
casting the "detected_at" column with the "edr_cast_as_timestamp" mac…
GuyEshdat Mar 25, 2025
28b5383
if a warehouse has no temp table support, we will drop the "temp" rel…
GuyEshdat Mar 25, 2025
751c12b
instead of using "ilike" function in tests, which is supported by onl…
GuyEshdat Mar 25, 2025
2f034e7
formatted file
GuyEshdat Mar 25, 2025
d81710a
Merge branch 'master' of github.com:elementary-data/elementary into a…
GuyEshdat Mar 26, 2025
3ff5967
moved the snowflake temp_table logic to the elementary dbt package
GuyEshdat Mar 26, 2025
23f6994
change elementary dbt-package revision
GuyEshdat Mar 26, 2025
1c55ea4
Small Fixes to Docs (#1800)
elazarlachkar Mar 31, 2025
c714714
Enhance test result handling by adding test_description field
MikaKerman Apr 1, 2025
b5cd157
Merge pull request #1875 from elementary-data/ele-4237-report-test-de…
MikaKerman Apr 1, 2025
716bf14
Add NOT_CONTAINS filter type and update apply_filter function
MikaKerman Apr 1, 2025
028ba6b
Merge pull request #1876 from elementary-data/ele-4239-not-contains-f…
MikaKerman Apr 1, 2025
dec2dc0
added athena to all warehouses test
GuyEshdat Apr 2, 2025
f2c9ea9
Merge pull request #1870 from elementary-data/athena-integrations
GuyEshdat Apr 2, 2025
8f51096
added athena to test-all-warehouses
GuyEshdat Apr 2, 2025
94bfc4c
Merge pull request #1882 from elementary-data/athena-integrations
GuyEshdat Apr 2, 2025
19be12a
Adds --s3-acl option to the cli
Lawiss Apr 4, 2025
05f7e83
Merge branch 'master' into abhsingh
abhipalsingh Apr 5, 2025
bfbe3cd
update version of the elementary dbt_package (#1888)
GuyEshdat Apr 6, 2025
a65e7bf
Merge branch 'master' into add-s3-acl-to-cli
Lawiss Apr 6, 2025
5863ef3
update elementary dbt-package to 0.18.2 (#1889)
GuyEshdat Apr 6, 2025
77e174e
release v0.18.1 (#1891)
github-actions[bot] Apr 6, 2025
39a6bda
Merge branch 'master' into abhsingh
abhipalsingh Apr 7, 2025
b326ed8
Precommit fixes
abhipalsingh Apr 7, 2025
943921d
MessageBuilderConfig
MikaKerman Apr 8, 2025
5c6b660
Update alert message tests to include subscriber information
MikaKerman Apr 8, 2025
17622c9
Update alert message formatting to consistently use plural terms for …
MikaKerman Apr 8, 2025
ee7f319
Refactor alert message formatting to improve clarity
MikaKerman Apr 8, 2025
4739b80
Merge pull request #1893 from elementary-data/ele-4262-subscribers-in…
MikaKerman Apr 8, 2025
7b5b5e8
Use dbt version 1.7.0 as the old version in tests (#1897)
haritamar Apr 15, 2025
2a0c737
report and monitor work on clickhouse
Apr 7, 2025
7ac445a
added profile documentation
Apr 7, 2025
4bd12c8
added docs
Apr 10, 2025
8abd31c
fixed prepare_test_results
Apr 14, 2025
58f8db5
removed debug
Apr 14, 2025
87581bb
fixed
Apr 14, 2025
b0f4a2d
fixed pr
Apr 14, 2025
4ce854d
updated dbt package
Apr 16, 2025
ee0329c
Merge pull request #1892 from elementary-data/ele-4261-clickhouse-cli…
michael-myaskovsky Apr 16, 2025
650619e
New contributors! Thanks @talperetz1, @dbt-markwan, @pedro-klein-ext-…
Maayan-s Apr 17, 2025
4c75286
fix for workflows
ofek1weiss Apr 17, 2025
a250d0b
mypy
ofek1weiss Apr 17, 2025
6c247bc
union
ofek1weiss Apr 17, 2025
fc9fb80
Merge branch 'master' into fix-workflows-regression
ofek1weiss Apr 17, 2025
ca841c0
Merge pull request #1868 from elementary-data/fix-workflows-regression
ofek1weiss Apr 17, 2025
18ec44a
Merge branch 'elementary-data:master' into abhsingh
abhipalsingh Apr 20, 2025
94d2d1c
Merge branch 'master' into add-s3-acl-to-cli
Lawiss Apr 30, 2025
47e5b07
Add function for disable_elementary_logo_print
nickozilla May 4, 2025
6f451da
Add tests
nickozilla May 4, 2025
54f26c1
Add FileSystemMessagingIntegration and related tests
MikaKerman May 5, 2025
fe8facf
Refactor FileSystemMessagingIntegration: use pathlib logs with f-stri…
MikaKerman May 5, 2025
1099dd6
style: isort imports for file_system
MikaKerman May 5, 2025
d71d811
Merge pull request #1904 from elementary-data/ele-4367-file-system-me…
MikaKerman May 5, 2025
bf12c4b
Merge branch 'master' into disable_elementary_logo_print
michael-myaskovsky May 7, 2025
7fa29bc
Merge branch 'master' into add-s3-acl-to-cli
michael-myaskovsky May 7, 2025
da033fb
Merge pull request #1887 from Lawiss/add-s3-acl-to-cli
michael-myaskovsky May 7, 2025
d04c8e5
Merge branch 'master' into abhsingh
michael-myaskovsky May 7, 2025
823ceed
Merge pull request #1867 from abhipalsingh/abhsingh
michael-myaskovsky May 7, 2025
d0f03f7
precommit resolve
nickozilla May 7, 2025
87f6bdb
Merge branch 'master' into disable_elementary_logo_print
michael-myaskovsky May 8, 2025
49ba0d3
Merge pull request #1903 from nickozilla/disable_elementary_logo_print
michael-myaskovsky May 8, 2025
3574109
added clickhouse startup
May 11, 2025
444db3a
removed clickhouse dbt tests
May 11, 2025
54e7cd9
undid clickhouse skip
May 11, 2025
39098a8
Merge pull request #1907 from elementary-data/ele-4395-add-clickhouse…
michael-myaskovsky May 12, 2025
fb5c5fd
updated to 0.18.3
May 13, 2025
053e2f4
Merge remote-tracking branch 'origin/master' into ele-4407-update-pac…
May 13, 2025
78f20e6
Merge pull request #1908 from elementary-data/ele-4407-update-package…
michael-myaskovsky May 13, 2025
caa53e6
update report to 1.0.26
May 13, 2025
7adc25f
Merge pull request #1909 from elementary-data/ele-4413-update-1.0.26-…
michael-myaskovsky May 13, 2025
5119698
release v0.18.2
web-flow May 13, 2025
dd951a7
changed from commit sha to version
May 13, 2025
cca1595
trigger test
May 13, 2025
8a15e96
Merge pull request #1910 from elementary-data/release/v0.18.2
michael-myaskovsky May 13, 2025
f908f5e
fixed missing metrics in cli
michael-myaskovsky May 20, 2025
ff16dad
removed debug
michael-myaskovsky May 21, 2025
5bb3f85
fixed adapter dispatch
michael-myaskovsky May 21, 2025
d8659ab
Merge pull request #1915 from elementary-data/ele-4455-fix-missing-me…
michael-myaskovsky May 21, 2025
a9c203e
release v0.18.3
web-flow May 21, 2025
52fb0d1
Merge pull request #1921 from elementary-data/release/v0.18.3
michael-myaskovsky May 21, 2025
9870123
added message context parsing
ofek1weiss May 26, 2025
8d1aede
fix tests
ofek1weiss May 26, 2025
f5f8ad7
Merge pull request #1922 from elementary-data/ele-4484-parse-message-…
ofek1weiss May 26, 2025
753524c
changed package version to groups commit (#1924)
arbiv May 27, 2025
8d36516
added sparkles emoji
michael-myaskovsky May 28, 2025
312e466
Merge remote-tracking branch 'origin/master' into add-sparkles-emoji
michael-myaskovsky May 28, 2025
cc22b26
added to fixtures
michael-myaskovsky May 28, 2025
925b94a
Merge pull request #1926 from elementary-data/add-sparkles-emoji
MikaKerman May 28, 2025
ec86dcc
Update alert messages to use "View in Elementary" instead of "View Re…
MikaKerman Jun 1, 2025
dc2348e
Refactor alert message handling to support multiple links. Introduced…
MikaKerman Jun 1, 2025
e29cc97
refactor: Extract _get_run_alert_subtitle_links method for better cod…
MikaKerman Jun 1, 2025
a1c2532
refactor: Simplify LinksLineBlock implementation for better readability
MikaKerman Jun 3, 2025
ef5c1bc
Merge pull request #1927 from elementary-data/ele-4497-view-in-elemen…
MikaKerman Jun 3, 2025
e898114
test databricks_catalog, remvoed databricks (#1929)
arbiv Jun 10, 2025
66406b0
changed default dbt version to 1.8.0 in addition to latest (#1930)
arbiv Jun 10, 2025
b716d0f
for clickhouse, continue even if e2e are failing (#1932)
arbiv Jun 12, 2025
fe5768c
ignore monitor failure on clickhouse
michael-myaskovsky Jun 16, 2025
e1c4c99
skipped report too
michael-myaskovsky Jun 16, 2025
f6357f5
skipped send report too
michael-myaskovsky Jun 16, 2025
99ae68f
skipped e2e tests
michael-myaskovsky Jun 16, 2025
282bbf0
removed clickhouse from tests
michael-myaskovsky Jun 16, 2025
71ab728
removed from other github workflows as well
michael-myaskovsky Jun 16, 2025
5d65bab
Merge pull request #1934 from elementary-data/ignore-monitor-failure-…
michael-myaskovsky Jun 16, 2025
8945614
Fixed contributions guide link (#1936)
arbiv Jun 18, 2025
0c442e1
make the venv in-project in the CLI (#1938)
haritamar Jun 19, 2025
95999ac
dbt-databricks must be <1.10.2 (#1939)
arbiv Jun 19, 2025
cae5b88
using elementary 0.19.0
arbiv Jun 22, 2025
788ea52
release v0.19.0
web-flow Jun 22, 2025
9126ae5
added excludes option to edr monitor
ofek1weiss Jun 25, 2025
152b5b6
changed help message
ofek1weiss Jun 25, 2025
ded6ea5
Merge pull request #1945 from elementary-data/ele-4677-add-exclude-op…
ofek1weiss Jun 25, 2025
d1471a8
text and markdown formats
ofek1weiss Jun 30, 2025
34bf4f5
fixed code quality issue
ofek1weiss Jun 30, 2025
db1dcc9
html -> unicode
ofek1weiss Jun 30, 2025
a1ff7c7
nits
ofek1weiss Jun 30, 2025
4bbb55d
expandable as quote
ofek1weiss Jul 1, 2025
f04f0d7
prettier
ofek1weiss Jul 1, 2025
a7c8f2c
ignore fixtures
ofek1weiss Jul 1, 2025
9da38c9
ignore
ofek1weiss Jul 1, 2025
f62b3e3
Merge pull request #1949 from elementary-data/ele-4704-text-and-md-fo…
ofek1weiss Jul 1, 2025
81b40d9
updated package version
arbiv Jul 1, 2025
143011e
updated report to 1.0.27
arbiv Jul 2, 2025
8b91618
release v0.19.1
web-flow Jul 2, 2025
4090472
switched back to use the update_forward_refs function as we need to s…
GuyEshdat Jul 3, 2025
3a833ea
Merge pull request #1956 from elementary-data/rollback-to-pydantic1-s…
michael-myaskovsky Jul 6, 2025
e1ecacc
release v0.19.2
web-flow Jul 6, 2025
8eec869
Merge pull request #1957 from elementary-data/release/v0.19.2
michael-myaskovsky Jul 6, 2025
5f6ba91
Revert "Merge pull request #1957 from elementary-data/release/v0.19.2"
michael-myaskovsky Jul 7, 2025
c07f8d6
fixed cli version
michael-myaskovsky Jul 7, 2025
8e97187
Fix `float("inf")` and `float("nan")` JSON serialization breaking rep…
clementsicard Jul 23, 2025
15751e2
full name in summary
ofek1weiss Jul 28, 2025
4a7348b
fixed tests
ofek1weiss Jul 28, 2025
8f1bb0f
use fqn
ofek1weiss Jul 28, 2025
13697e9
Merge pull request #1971 from elementary-data/ele-4832-full-source-na…
ofek1weiss Jul 28, 2025
8b5f82e
release/v0.19.4 (#1977)
github-actions[bot] Aug 11, 2025
eaf7e63
Enhance SlackWebMessagingIntegration to support fetching only public …
MikaKerman Aug 15, 2025
2d9f145
Merge pull request #1984 from elementary-data/fix/slack-channels-cache
MikaKerman Aug 15, 2025
4288f49
changed dbt package version to a commit with dremio types mapping. ne…
GuyEshdat Aug 17, 2025
5d82de8
Enhance SlackWebMessagingIntegration to include a timeout feature for…
MikaKerman Aug 20, 2025
d7a4fdc
Merge pull request #1990 from elementary-data/fix/slack-join-channel
MikaKerman Aug 21, 2025
4f8ea18
use sets for alert filters
ofek1weiss Aug 24, 2025
6a17c4f
extract normalization
ofek1weiss Aug 24, 2025
80a38e6
isort
ofek1weiss Aug 24, 2025
792cd1b
Merge pull request #1994 from elementary-data/ele-4990-use-sets-for-a…
ofek1weiss Aug 24, 2025
d0bc714
Ele 4942 dimension anomalies visualization (#1992)
NoyaArie Aug 27, 2025
948b8b0
update lock file (#1996)
NoyaArie Aug 28, 2025
503e3e2
release/v0.19.5 (#1998)
github-actions[bot] Aug 31, 2025
133b631
fix test dwh write dbt profies (#1999)
NoyaArie Aug 31, 2025
38913e8
removed usage of deprecated `-m` flag in dbt
ofek1weiss Sep 1, 2025
0cd4382
Merge pull request #2000 from elementary-data/app-51-remove-deprecate…
ofek1weiss Sep 1, 2025
5cde43e
disable group registration when tracking is disabled
ofek1weiss Sep 2, 2025
fd4bfd8
Merge pull request #2001 from elementary-data/app-56-do-not-identify-…
ofek1weiss Sep 2, 2025
5f38f20
Handle empty result in clickhouse
ofek1weiss Sep 3, 2025
9ebd83c
update dbt package revision
ofek1weiss Sep 3, 2025
c193137
updated lock
ofek1weiss Sep 3, 2025
8c4217f
Merge pull request #2003 from elementary-data/app-61-update-dbt-package
ofek1weiss Sep 3, 2025
0428a9b
Merge branch 'master' into app-60-fix-group-by-in-clickhouse
ofek1weiss Sep 7, 2025
44f8f8a
Merge pull request #2002 from elementary-data/app-60-fix-group-by-in-…
ofek1weiss Sep 7, 2025
ae6f024
Handle invalid characters when uploading CI artifact
elazarlachkar Sep 9, 2025
5ae0ada
Fix sed pattern
elazarlachkar Sep 9, 2025
f975ec8
require approval only for fork PRs (#2004)
haritamar Sep 10, 2025
93d7921
Merge branch 'master' into ele-5052-oss-fix-ci-artifact-upload
elazarlachkar Sep 10, 2025
a1c31f6
Merge pull request #2005 from elementary-data/ele-5052-oss-fix-ci-art…
elazarlachkar Sep 10, 2025
69c6cc9
Update README.md with new contributors (#2009)
Maayan-s Sep 14, 2025
cf75564
only check fork on PR events (#2011)
haritamar Sep 17, 2025
9fe09fe
Update DBT package version
elazarlachkar Sep 17, 2025
56d8f23
Updated lock file as well
elazarlachkar Sep 17, 2025
13e81d5
Merge branch 'master' into ele-5074-index-test_result_rows
elazarlachkar Sep 17, 2025
acdac83
Merge pull request #2012 from elementary-data/ele-5074-index-test_res…
elazarlachkar Sep 17, 2025
d7f7d9b
Ele 5089 use row number instead of rank (#2015)
NoyaArie Sep 22, 2025
5b9c539
Add attribution block to alert messages in data monitoring
MikaKerman Sep 28, 2025
c757fc4
Updated DBT pacakge revision
elazarlachkar Sep 28, 2025
620c703
Updated lock as well
elazarlachkar Sep 28, 2025
c15c28f
Merge pull request #2017 from elementary-data/ele-5095-dremio-duplica…
elazarlachkar Sep 28, 2025
ee35b00
Merge branch 'master' into app-111-powered-by-elementary-in-oss-alerts
MikaKerman Sep 28, 2025
44bb802
Merge pull request #2016 from elementary-data/app-111-powered-by-elem…
MikaKerman Sep 29, 2025
440fd9d
Ele 4724 dbt fusion support (#1961)
haritamar Sep 30, 2025
382b865
Ele 5122 cli stop using deprecated tests (#2022)
haritamar Oct 9, 2025
d48e82d
update the CLI to use the new package version (#2024)
haritamar Oct 9, 2025
b3c72c3
attempt to remove dbt-databricks restriction (#2025)
haritamar Oct 9, 2025
98c9c36
update report version (#2026)
haritamar Oct 9, 2025
525e8df
release v0.20.0 (#2027)
github-actions[bot] Oct 9, 2025
7409388
package-lock: remove name to avoid breaking old dbt versions (#2028)
haritamar Oct 9, 2025
8c8c8b2
Feature: make the number of columns that are formatted as a table in …
FrankTub Oct 9, 2025
41c3459
Added more detailed exception for teams webhook failure
ofek1weiss Oct 12, 2025
db08f96
Merge pull request #2031 from elementary-data/app-142-report-more-det…
ofek1weiss Oct 12, 2025
c9211de
changed the dbt package version to a version that fixed a dremio time…
GuyEshdat Oct 13, 2025
ff1fc83
Ele 5146 bugfix to disable_samples flag + update package ref (#2039)
haritamar Oct 29, 2025
ba986eb
limit postgres version in CI (#2040)
haritamar Oct 29, 2025
f15cb18
Correctly shorten versioned model names (#2043)
Ryosuke839 Oct 30, 2025
6db610e
fix: handle support for partial success introduce in dbt 1.9 with mic…
nicor88 Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 46 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build Docker image
on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-docker-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout Elementary
uses: actions/checkout@v4

- name: Set up QEMU for multi-platform support
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx for multi-platform support
uses: docker/setup-buildx-action@v3

- name: Log in to the container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: false
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create release branch
run: git checkout -b release/v${{ inputs.cli-version }}
- name: Initial config
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
needs: bump-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: create pull request
uses: repo-sync/pull-request@v2
with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/close_pylon_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Close Pylon Ticket on Issue or Pull Request Closure

on:
issues:
types: [closed]
pull_request_target:
types: [closed]

jobs:
close_pylon_ticket:
runs-on: ubuntu-latest
steps:
- name: Extract Pylon Ticket ID
id: extract_ticket_id
run: |
if [[ "${{ github.event_name }}" == 'issues' ]]; then
ISSUE_BODY=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}" | jq -r '.body')
pylon_ticket_id=$(echo "$ISSUE_BODY" | grep -oP '(?<=<!-- pylon-ticket-id: )\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b(?= -->)')
elif [[ "${{ github.event_name }}" =~ ^pull_request ]]; then
PR_BODY=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" | jq -r '.body')
pylon_ticket_id=$(echo "$PR_BODY" | grep -oP '(?<=<!-- pylon-ticket-id: )\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b(?= -->)')
fi
echo "pylon_ticket_id=$pylon_ticket_id" >> "$GITHUB_OUTPUT"

- name: Close Pylon Ticket
if: steps.extract_ticket_id.outputs.pylon_ticket_id != ''
run: |
pylon_ticket_id=${{ steps.extract_ticket_id.outputs.pylon_ticket_id }}
echo "Closing Pylon Ticket ID: $pylon_ticket_id"
curl --request PATCH \
--url "https://api.usepylon.com/issues/$pylon_ticket_id" \
--header "Authorization: ${{ secrets.PYLON_API_KEY }}" \
--header 'Content-Type: application/json' \
--data '{
"state": "closed"
}'
74 changes: 52 additions & 22 deletions .github/workflows/create_pylon_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,70 @@ name: Create Pylon Issue
on:
issues:
types: [opened]
pull_request:
pull_request_target:
types: [opened]

jobs:
create_pylon_issue:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Install jq
run: sudo apt-get install -y jq

- name: Create Pylon Issue for GitHub Issue
if: github.event_name == 'issues'
run: |
curl -X POST "https://api.usepylon.com/v1/issues" \
-H "Authorization: Bearer ${{ secrets.PYLON_API_KEY }}" \
-H "Content-Type: application/json" \
-d '{
response=$(curl --request POST \
--url https://api.usepylon.com/issues \
--header 'Authorization: ${{ secrets.PYLON_API_KEY }}' \
--header 'Content-Type: application/json' \
--data '{
"account_id": "${{ secrets.PYLON_ACCOUNT_ID }}",
"requester_id": "${{ secrets.PYLON_REQUESTER_ID }}",
"priority": "medium",
"title": "${{ github.event.issue.title }}",
"description": "${{ github.event.issue.body }}",
"repository": "${{ github.repository }}",
"type": "GitHub Issue",
"url": "${{ github.event.issue.html_url }}"
}'
"body_html": "<html lang=en><head><title>GitHub Issue Details</title></head><body><h1>GitHub Issue Details</h1><p><strong>Repository:</strong> ${{ github.repository }}</p><p><strong>Type:</strong> Github Issue</p><p><strong>URL:</strong> <a href=${{ github.event.issue.html_url }}>${{ github.event.issue.html_url }}</a></p></body></html>"
}')
ticket_id=$(echo $response | jq -r '.data.id')
echo "ticket_id=$ticket_id" >> $GITHUB_ENV

- name: Add Pylon ticket ID to issue body
if: success()
run: |
issue_body=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}" | jq -r '.body')
new_body="$issue_body<!-- pylon-ticket-id: ${{ env.ticket_id }} -->"
json_body=$(jq -R -s --arg body "$new_body" '{"body": $body}' <<< "$new_body")
curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
-d "$json_body" \
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}"

- name: Create Pylon Issue for Pull Request
if: github.event_name == 'pull_request'
if: contains(github.event_name, 'pull_request')
run: |
curl -X POST "https://api.usepylon.com/v1/issues" \
-H "Authorization: Bearer ${{ secrets.PYLON_API_KEY }}" \
-H "Content-Type: application/json" \
-d '{
response=$(curl --request POST \
--url https://api.usepylon.com/issues \
--header 'Authorization: ${{ secrets.PYLON_API_KEY }}' \
--header 'Content-Type: application/json' \
--data '{
"account_id": "${{ secrets.PYLON_ACCOUNT_ID }}",
"requester_id": "${{ secrets.PYLON_REQUESTER_ID }}",
"priority": "high",
"title": "${{ github.event.pull_request.title }}",
"description": "${{ github.event.pull_request.body }}",
"repository": "${{ github.repository }}",
"type": "Pull Request",
"url": "${{ github.event.pull_request.html_url }}"
}'
"body_html": "<html lang=en><head><title>GitHub Pull Request Details</title></head><body><h1>GitHub Pull Request Details</h1><p><strong>Repository:</strong> ${{ github.repository }}</p><p><strong>Type:</strong> Pull Request</p><p><strong>URL:</strong> <a href=${{ github.event.pull_request.html_url }}>${{ github.event.pull_request.html_url }}</a></p></body></html>"
}')
ticket_id=$(echo $response | jq -r '.data.id')
echo "ticket_id=$ticket_id" >> $GITHUB_ENV

- name: Add Pylon ticket ID to PR body
if: success()
run: |
pr_body=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" | jq -r '.body')
new_body="$pr_body<!-- pylon-ticket-id: ${{ env.ticket_id }} -->"
json_body=$(jq -R -s --arg body "$new_body" '{"body": $body}' <<< "$new_body")
curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
-d "$json_body" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}"
19 changes: 13 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ env:

jobs:
publish-to-pypi:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Elementary
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"

- name: Install 'build' package
run: pip install build
Expand All @@ -27,7 +27,7 @@ jobs:
run: python -m build --sdist --wheel --outdir dist .

- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: dist
Expand All @@ -46,7 +46,13 @@ jobs:

steps:
- name: Checkout Elementary
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU for multi-platform support
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx for multi-platform support
uses: docker/setup-buildx-action@v3

- name: Log in to the container registry
uses: docker/login-action@v2
Expand All @@ -66,13 +72,14 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

merge-to-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: PR master to docs
uses: repo-sync/pull-request@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remind-docs-and-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Remind docs and tests
on:
pull_request:
pull_request_target:
branches: ["master"]
jobs:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Elementary
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.8"
python-version: "3.9"

# mainly needed so mypy will have the dependencies it needs
- name: Install elementary
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/test-all-warehouses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,9 @@ jobs:
strategy:
fail-fast: false
matrix:
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.3.0", null]') }}
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.8.0", null]') }}
warehouse-type:
[
postgres,
snowflake,
bigquery,
redshift,
databricks,
databricks_catalog,
]
[postgres, snowflake, bigquery, redshift, databricks_catalog, athena]
uses: ./.github/workflows/test-warehouse.yml
with:
warehouse-type: ${{ matrix.warehouse-type }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ env:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
defaults:
run:
working-directory: elementary
steps:
- name: Checkout Elementary
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: elementary
ref: ${{ inputs.elementary-ref }}

- name: Checkout dbt package
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: elementary-data/dbt-data-reliability
path: dbt-data-reliability
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dbt
run: pip install --pre
Expand Down Expand Up @@ -90,14 +90,14 @@ jobs:
--file-path "report.html"

- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report.html
path: edr_target/report.html

- name: Upload log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: edr.log
path: edr_target/edr.log
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-main-warehouse.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Test main warehouse platform
on:
pull_request:
pull_request_target:
branches: ["master"]
paths:
- elementary/**
- .github/**
- pyproject.toml
workflow_dispatch:

Expand All @@ -12,4 +13,5 @@ jobs:
uses: ./.github/workflows/test-warehouse.yml
with:
warehouse-type: postgres
elementary-ref: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.sha) || '' }}
secrets: inherit
9 changes: 1 addition & 8 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,7 @@ jobs:
fail-fast: false
matrix:
warehouse-type:
[
postgres,
snowflake,
bigquery,
redshift,
databricks,
databricks_catalog,
]
[postgres, snowflake, bigquery, redshift, databricks_catalog, athena]
needs: get-latest-release-tags
uses: ./.github/workflows/test-warehouse.yml
with:
Expand Down
Loading
Loading