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

✨ Add orchestration module #917

Merged
merged 276 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
850ab79
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 Jun 5, 2024
dd999e5
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 Jun 5, 2024
f95694d
👷 Updated `docker-publish.yml`
djagoda881 Jun 5, 2024
cf22f58
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 Jun 6, 2024
e1415d0
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 Jun 6, 2024
5f50f97
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 Jun 6, 2024
d7922f0
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 Jun 6, 2024
c39ff5c
🐛 Fixed import in `test_git.py`
djagoda881 Jun 6, 2024
674343b
🧱 Updated `docker-compose.yml`
djagoda881 Jun 6, 2024
df3e4ce
🚚 Moved `prefect_viadot` to `src/viadot/orchestration`
djagoda881 May 16, 2024
bb7f65c
🚚 Changes imports in prefect-viadot
djagoda881 May 16, 2024
bec9d3e
⬆️ Added prefect-viadot dependencies to viadot
djagoda881 May 16, 2024
fb62dc2
⬆️ Upgraded `prefect` dependencie
djagoda881 May 17, 2024
deedb07
🔧 Updated `Dockerfile`
djagoda881 May 20, 2024
d89f1e4
⬆️ Upgraded dependecies
djagoda881 May 27, 2024
f97c97c
🔥 Depreacted `datahub.py`
djagoda881 May 27, 2024
aee4d0b
➕ Added `viadot-azure` and `viadot-aws` dependecies
djagoda881 May 28, 2024
0a148c7
🧱 Added `viadot-azure.Dockerfile`
djagoda881 May 28, 2024
035589e
🐛 Added import error handlig to all optional sources
djagoda881 May 28, 2024
e3e7c17
🐛 Fixed adls import
djagoda881 May 28, 2024
cadf4ea
🧱 Added `viadot-aws.Dockerfile`
djagoda881 May 28, 2024
363541c
🐛 Fixed import errors in `prefect-viadot`
djagoda881 May 28, 2024
7ba3915
✅ Added prefect-viadot test and refactored viadot tests
djagoda881 Jun 3, 2024
b1619e2
🙈 Updated .gitignore file
djagoda881 Jun 3, 2024
1d49a83
➕ Added new dev dependencies
djagoda881 Jun 3, 2024
4c19a04
🧱 Removed not needed packages from `viadot-azure.Dockerfile`
djagoda881 Jun 3, 2024
a39c1d9
➕ Added dependecies to `pyproject.toml`
djagoda881 Jun 3, 2024
7dcc38f
⬆️ Upgraded `viadot-azure` packages
djagoda881 Jun 4, 2024
b066f6e
🐛 Fixed imports in viadot integration tests
djagoda881 Jun 4, 2024
e24a6d4
🧱 Refacroed `viadot-azure.Dockerfile`
djagoda881 Jun 4, 2024
e59dc28
⬆️ Upgraded aws dependecies in `pyproject.toml`
djagoda881 Jun 5, 2024
e5941a7
⬆️ Upgraded dependecies
djagoda881 Jun 5, 2024
7323b7f
🧱 Added viadot-lite image
djagoda881 Jun 5, 2024
da48de5
♻️ Refactored viadot-aws image
djagoda881 Jun 5, 2024
763e4ca
🧱 Updated `docker-compose.yml`
djagoda881 Jun 5, 2024
8189c41
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 Jun 5, 2024
7bc5882
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 Jun 5, 2024
030b010
👷 Updated `docker-publish.yml`
djagoda881 Jun 5, 2024
f4988f8
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 Jun 6, 2024
39a9a26
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 Jun 6, 2024
86d006a
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 Jun 6, 2024
f9f79f9
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 Jun 6, 2024
bbbdc7a
🐛 Fixed import in `test_git.py`
djagoda881 Jun 6, 2024
260579c
🧱 Updated `docker-compose.yml`
djagoda881 Jun 6, 2024
bec901b
➕ Added docs dependencies
djagoda881 Jun 11, 2024
53e9e18
🎨 Fixed rye formatting
djagoda881 Jun 11, 2024
ebdeb9e
➖ Removed duplicated dependecies
djagoda881 Jun 12, 2024
c74474f
🐛 Fixed mkdocs config bug
djagoda881 Jun 12, 2024
1de5fc5
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S Jun 13, 2024
24507e0
🧱 Moved images into one multistage `Dockerfile` (#932)
djagoda881 Jun 19, 2024
e0ec929
🔖 Bumped version to `2.0.0-alpha.3`
djagoda881 Jun 20, 2024
36641a0
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S Jun 21, 2024
baec9e5
⬇️ Downgraded `requests` package
djagoda881 Jun 24, 2024
fad8396
🔖 Bumped to `2.0.0-alpha.4` version
djagoda881 Jun 24, 2024
ccb2024
🧱 Upgraded images in `docker-compose.yml`
djagoda881 Jun 24, 2024
ee1a0c2
Add documentation for viadot 2.0 with new repository structure (#929)
djagoda881 Jun 24, 2024
46861ba
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S Jun 25, 2024
2dda7fd
🚚 Moved `prefect_viadot` to `src/viadot/orchestration`
djagoda881 May 16, 2024
473f87b
🚚 Changes imports in prefect-viadot
djagoda881 May 16, 2024
9996ca1
⬆️ Added prefect-viadot dependencies to viadot
djagoda881 May 16, 2024
e991f7c
⬆️ Upgraded `prefect` dependencie
djagoda881 May 17, 2024
a347965
🔧 Updated `Dockerfile`
djagoda881 May 20, 2024
fd085a7
⬆️ Upgraded dependecies
djagoda881 May 27, 2024
c826c88
🔥 Depreacted `datahub.py`
djagoda881 May 27, 2024
9db8eb3
➕ Added `viadot-azure` and `viadot-aws` dependecies
djagoda881 May 28, 2024
7f185a7
🧱 Added `viadot-azure.Dockerfile`
djagoda881 May 28, 2024
3d235a3
🐛 Added import error handlig to all optional sources
djagoda881 May 28, 2024
cba0ae0
🐛 Fixed adls import
djagoda881 May 28, 2024
2feb0f4
🧱 Added `viadot-aws.Dockerfile`
djagoda881 May 28, 2024
c86a9a4
🐛 Fixed import errors in `prefect-viadot`
djagoda881 May 28, 2024
c57ad62
✅ Added prefect-viadot test and refactored viadot tests
djagoda881 Jun 3, 2024
8b2f0b7
🙈 Updated .gitignore file
djagoda881 Jun 3, 2024
471273b
➕ Added new dev dependencies
djagoda881 Jun 3, 2024
3b4146d
🧱 Removed not needed packages from `viadot-azure.Dockerfile`
djagoda881 Jun 3, 2024
d992a31
➕ Added dependecies to `pyproject.toml`
djagoda881 Jun 3, 2024
b2a83f8
⬆️ Upgraded `viadot-azure` packages
djagoda881 Jun 4, 2024
ce43343
🐛 Fixed imports in viadot integration tests
djagoda881 Jun 4, 2024
025b9c9
🧱 Refacroed `viadot-azure.Dockerfile`
djagoda881 Jun 4, 2024
d2326d1
⬆️ Upgraded aws dependecies in `pyproject.toml`
djagoda881 Jun 5, 2024
398c6c5
⬆️ Upgraded dependecies
djagoda881 Jun 5, 2024
1ae1661
🧱 Added viadot-lite image
djagoda881 Jun 5, 2024
1254151
♻️ Refactored viadot-aws image
djagoda881 Jun 5, 2024
61262fc
🧱 Updated `docker-compose.yml`
djagoda881 Jun 5, 2024
36960d5
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 Jun 5, 2024
a67406b
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 Jun 5, 2024
840e5b2
👷 Updated `docker-publish.yml`
djagoda881 Jun 5, 2024
860bdec
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 Jun 6, 2024
14d9284
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 Jun 6, 2024
3f67aa6
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 Jun 6, 2024
b592f72
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 Jun 6, 2024
a8a2844
🐛 Fixed import in `test_git.py`
djagoda881 Jun 6, 2024
e0d8e6c
🧱 Updated `docker-compose.yml`
djagoda881 Jun 6, 2024
0c99d9e
➕ Added docs dependencies
djagoda881 Jun 11, 2024
1f02e79
🎨 Fixed rye formatting
djagoda881 Jun 11, 2024
3f1da80
➖ Removed duplicated dependecies
djagoda881 Jun 12, 2024
25ef425
🧱 Moved images into one multistage `Dockerfile` (#932)
djagoda881 Jun 19, 2024
62d56a3
🔖 Bumped version to `2.0.0-alpha.3`
djagoda881 Jun 20, 2024
17f221f
⬇️ Downgraded `requests` package
djagoda881 Jun 24, 2024
db919fb
🔖 Bumped to `2.0.0-alpha.4` version
djagoda881 Jun 24, 2024
bb167ec
🧱 Upgraded images in `docker-compose.yml`
djagoda881 Jun 24, 2024
a50320c
Add documentation for viadot 2.0 with new repository structure (#929)
djagoda881 Jun 24, 2024
83ce192
✨ Added new param to `sharepoint_to_readshift_spectrum`
djagoda881 Jul 2, 2024
26f1fc5
✨ Added new param to `sharepoint.py`
djagoda881 Jul 2, 2024
e21af5b
✨ Added `basename_template` to MinIO source
Jul 3, 2024
b588854
✨ Added `SQLServer` source and tasks for it
Jul 3, 2024
2c5bf7d
✨ Added handling for `DatabaseCredentials` and `Secret` in get_creden…
Jul 3, 2024
c987afa
✨ Added `df_to_minio` task for prefect
Jul 3, 2024
783355f
Added `sql_server_to_minio` flow for prefect
Jul 3, 2024
e2f0fbf
✅ Added tests sql_server_to_minio
Jul 3, 2024
f0f4337
📝 Updated changelog with `sql_server_to_mino` and related functions
Jul 3, 2024
0404004
🐛 Added missing package to Dockerfile
djagoda881 Jul 5, 2024
beb93b2
⬆️ Upgraded `prefect` version to `2.19.7`
djagoda881 Jul 5, 2024
908341e
🔖 Bumped viadot version to `2.0.0-alpha.5`
djagoda881 Jul 5, 2024
8ce8f89
✅ Added tests
Jul 8, 2024
6bc3512
🎨 Updated credentials options
Jul 8, 2024
d4ed0d9
🔧 Updated docker setup
Jul 8, 2024
53e9a5a
🎨 Updated data type
Jul 8, 2024
f5e0870
🎨 Added contexlib for MinIO
Jul 8, 2024
97d640a
📝 Updated requirements.lock `s
Jul 9, 2024
95437e1
📝 Updates SQL Server docs
Jul 9, 2024
724b38e
🎨 Added whitespaces
Jul 9, 2024
442745b
Merge pull request #941 from dyvenia/sql_server_to_minio
djagoda881 Jul 9, 2024
506ca20
⬇️ Downgraded dependecies
djagoda881 Jul 9, 2024
75f3d1f
🔖 Bumped viadot to version `2.0.0-alpha.6`
djagoda881 Jul 9, 2024
8141c1c
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S Jul 10, 2024
25ef74a
📝 updated CHANGELOG.md
Diego-H-S Jun 25, 2024
ffaacf6
✨ updated Outlook connector version 1.
Diego-H-S Jun 25, 2024
2f398b8
✨ updated Outlook connector version 2.
Diego-H-S Jun 26, 2024
a095f35
📝 updated docstrings.
Diego-H-S Jun 26, 2024
128964f
✅ added outlook test file.
Diego-H-S Jun 26, 2024
53f1b56
👔 updated some files to aling the rebase.
Diego-H-S Jul 10, 2024
ca1dc5e
📝 updated CHANGELOG.md
Diego-H-S Jun 25, 2024
d568c4c
✨ added Hubspot connector version 1.
Diego-H-S Jun 25, 2024
dee7ae8
✅ added hubspot test file.
Diego-H-S Jun 25, 2024
b144ef7
📝 updated docstrings.
Diego-H-S Jun 25, 2024
f536c00
✅ updated local lock file.
Diego-H-S Jun 25, 2024
0cb3f00
🔊 updated logger in source.
Diego-H-S Jun 25, 2024
e8f19ec
👔 updated some files to aling the rebase.
Diego-H-S Jul 10, 2024
9fd66c3
👔 updated some more files to aling the rebase.
Diego-H-S Jul 10, 2024
96e23a1
📝 updated CHANGELOG.
Diego-H-S Jun 7, 2024
cf201a8
✨ added Mindful to __init__ files.
Diego-H-S Jun 7, 2024
150e01a
✨ created new Minsful connector.
Diego-H-S Jun 7, 2024
30ff4c8
🎨 updated mindful flow and task connector.
Diego-H-S Jun 10, 2024
66963e2
✅ added mindful test file.
Diego-H-S Jun 11, 2024
e3e2bcf
📝 updated mindful docstrings.
Diego-H-S Jun 11, 2024
9a2e132
⚡️ added sep parameter in adls task.
Diego-H-S Jun 11, 2024
9206a8b
🔊 updated logs.
Diego-H-S Jun 13, 2024
e5f5cdd
📝 updated docstrings.
Diego-H-S Jun 13, 2024
7ea818e
🔊 updated logger in source.
Diego-H-S Jun 25, 2024
bc22643
👔 updated some files to aling the rebase.
Diego-H-S Jul 10, 2024
419218f
📝 update CHANGELOG.md and __init__ files.
Diego-H-S Jun 13, 2024
4a0cda2
✨ added Genesys file structure version 1.
Diego-H-S Jun 13, 2024
0347bf4
📝 updated rebased files.
Diego-H-S Jun 13, 2024
d2c3721
✨ added Genesys file structure version 2.
Diego-H-S Jun 17, 2024
56c20de
✨ added Genesys file structure version 3.
Diego-H-S Jun 18, 2024
eaea63a
📝 adding some extra log information.
Diego-H-S Jun 18, 2024
2b6c90e
✨ added Genesys file structure version 4.
Diego-H-S Jun 20, 2024
7812bcf
✅ added genesys test files.
Diego-H-S Jun 20, 2024
dc9482e
✅ upsted genesys test file.
Diego-H-S Jun 21, 2024
2d0fa75
🔊 updated logger in source.
Diego-H-S Jun 25, 2024
3fbb27c
👔 updated some files to aling the rebase.
Diego-H-S Jul 10, 2024
5831ac0
📝 updated docstring.
Diego-H-S Jul 10, 2024
0eba969
🎨 implemented flake8 and pylint tests.
Diego-H-S Jul 16, 2024
eaed4b0
💄 added prints to source level.
Diego-H-S Jul 16, 2024
2d57ab8
📝 updated variable names.
Diego-H-S Jul 16, 2024
267c6e8
Duckdb connectors (#945)
angelika233 Jul 16, 2024
eeb4d8c
Delete .python_history
trymzet Jul 16, 2024
fb6360c
✅ updated test file.
Diego-H-S Jul 17, 2024
fdc83ff
🎨 updated code performance.
Diego-H-S Jul 17, 2024
6a50834
✅ updated test file.
Diego-H-S Jul 17, 2024
83cb1cc
c4c code checker passed and tests coverage passed
fdelgadodyvenia Jul 17, 2024
e819f99
🎨 updated code performance.
Diego-H-S Jul 17, 2024
4cd6e2c
✅ updated test file.
Diego-H-S Jul 17, 2024
b182aa6
🎨 updated code performance.
Diego-H-S Jul 17, 2024
ac87397
✅ updated test file.
Diego-H-S Jul 17, 2024
4c8542b
flows_tasks_for c4c
fdelgadodyvenia Jul 17, 2024
57a6b64
✅ updated test file to reach 80% coverage.
Diego-H-S Jul 19, 2024
40acc95
✏️ corrected a typo.
Diego-H-S Jul 19, 2024
932b3df
✅ updated test file to reach 80% coverage.
Diego-H-S Jul 19, 2024
27809b7
✅ updated test file.
Diego-H-S Jul 19, 2024
ebd119e
✏️ fixed a typo.
Diego-H-S Jul 19, 2024
00fe031
✏️ fixed another typo.
Diego-H-S Jul 19, 2024
798f542
✨ Added sap_to_parquet flow (#947)
judynah Jul 19, 2024
b442372
✅ updated test file to reach 80% coverage.
Diego-H-S Jul 22, 2024
2cfab52
✅ updated test file.
Diego-H-S Jul 22, 2024
927ac35
✅ updated test file.
Diego-H-S Jul 22, 2024
054fbe3
Merge branch '2.0-new-repository-structure' into mindful_migration
Diego-H-S Jul 22, 2024
f06e6c4
Merge branch '2.0-new-repository-structure' into hubspot_migration
Diego-H-S Jul 22, 2024
c83a41d
✅ updated test file to reach 80% coverage.
Diego-H-S Jul 22, 2024
d4d99b6
Merge branch '2.0-new-repository-structure' into outlook_migration
Diego-H-S Jul 22, 2024
30fbe16
🦺 added `return` in flow file.
Diego-H-S Jul 22, 2024
b898ee0
Merge branch 'outlook_migration' of https://github.com/Diego-H-S/viad…
Diego-H-S Jul 22, 2024
baf9440
🦺 added `return` in flow file.
Diego-H-S Jul 22, 2024
9989cd9
🦺 added `return` in flow file.
Diego-H-S Jul 22, 2024
26b1307
🦺 added `return` in flow file.
Diego-H-S Jul 22, 2024
20b31c1
Merge branch '2.0-new-repository-structure' into genesys_migration
Diego-H-S Jul 22, 2024
965f508
✅ added test integration file.
Diego-H-S Jul 23, 2024
b0cda1f
Merge branch 'genesys_migration' of https://github.com/Diego-H-S/viad…
Diego-H-S Jul 23, 2024
f505640
✅ added test integration file.
Diego-H-S Jul 23, 2024
214c375
✅ added test integration file.
Diego-H-S Jul 23, 2024
baafabd
📝 updated credential typo.
Diego-H-S Jul 23, 2024
3c71189
✅ added test integration file.
Diego-H-S Jul 23, 2024
d9d67f8
Merge pull request #923 from Diego-H-S/mindful_migration
fdelgadodyvenia Jul 24, 2024
2130a4f
Merge branch '2.0-new-repository-structure' into hubspot_migration
fdelgadodyvenia Jul 24, 2024
05d2546
Merge pull request #936 from Diego-H-S/hubspot_migration
fdelgadodyvenia Jul 24, 2024
19214ab
Merge branch '2.0-new-repository-structure' into outlook_migration
fdelgadodyvenia Jul 24, 2024
c404979
Merge pull request #939 from Diego-H-S/outlook_migration
fdelgadodyvenia Jul 24, 2024
ce6dbec
Merge branch '2.0-new-repository-structure' into genesys_migration
fdelgadodyvenia Jul 24, 2024
e609b03
Merge pull request #934 from Diego-H-S/genesys_migration
fdelgadodyvenia Jul 24, 2024
ee568e9
➕ Added `duckdb` to dependecies
djagoda881 Jul 25, 2024
4d286c1
➕ Added `prefect-aws` dependecy
djagoda881 Jul 25, 2024
c65cd9c
Merge pull request #960 from dyvenia/duckdb_dependency_bug_fix
djagoda881 Jul 25, 2024
27535c2
🚀 Relase 2.0.0-beta.1
djagoda881 Jul 25, 2024
dd4878c
Merge pull request #961 from dyvenia/2.0.0-beta.1
djagoda881 Jul 25, 2024
e8068f9
cloud for customer improvement
fdelgadodyvenia Jul 25, 2024
99faec2
recover gitignore
fdelgadodyvenia Jul 25, 2024
4ff50c6
removing unuseless files
fdelgadodyvenia Jul 25, 2024
029c90a
docker initial
fdelgadodyvenia Jul 25, 2024
78d54fc
rollback gitignore
fdelgadodyvenia Jul 25, 2024
cd05bba
update ignore
fdelgadodyvenia Jul 25, 2024
b4fc75b
rollback gitignore
fdelgadodyvenia Jul 25, 2024
f667ab6
remove unuseless file
fdelgadodyvenia Jul 25, 2024
22a4957
Merge pull request #962 from fdelgadodyvenia/c4c_test
fdelgadodyvenia Jul 25, 2024
0c43153
Sharepoint orchestration code refactor (#950)
Rafalz13 Aug 6, 2024
e08fc0a
Sharepoint - multiple files logic applied to the source class (#942)
Rafalz13 Aug 6, 2024
3303435
✨ Added 0365 (#969)
Rafalz13 Aug 7, 2024
ebc1a79
Orchestration last changes (#953)
trymzet Aug 13, 2024
923b95f
✨ Add GitHub release step
trymzet Aug 14, 2024
a37ce7b
📝 Document the new release process
trymzet Aug 14, 2024
51af7d7
📌 Bump version
trymzet Aug 14, 2024
5c81b74
♻️ Add last changes from other branches
trymzet Aug 14, 2024
38dde53
♻️ Update some sources' test configuration to match rest of lib
trymzet Aug 14, 2024
fac1183
📝 Add more docs on contributing
trymzet Aug 14, 2024
662ad38
📝 Update a link
trymzet Aug 14, 2024
17e91a5
🐛 Update lock files, removing optional deps
trymzet Aug 14, 2024
f752987
Merge branch '2.0' into 2.0-new-repository-structure
trymzet Aug 14, 2024
91d185d
⬆️ Update dependencies
trymzet Aug 19, 2024
04912f4
🚨 Linting
trymzet Aug 19, 2024
c2c9d41
🐛 Add TOML support to coverage
trymzet Aug 19, 2024
5b81385
✅ Fix `_cast_df()` test failing on datetimes in pandas 2.0
trymzet Aug 19, 2024
090d6bc
⬆️ Run CI on Python 3.12
trymzet Aug 19, 2024
1972760
➖ Remove unused `pytest-cov`
trymzet Aug 19, 2024
5ecad24
⬆️ Upgrade Python version so Rye CI action uses 3.12
trymzet Aug 19, 2024
ee3b66e
⬆️ Upgrade Python to 3.12 in the images
trymzet Aug 19, 2024
bf32428
📝 Improve container env docs
trymzet Aug 19, 2024
795c895
⬇️ Rollback `pyarrow` to v10.x
trymzet Aug 19, 2024
51f8c2d
♻️ Use a `skip_test_on_missing_extra()` utils to simplify life
trymzet Aug 19, 2024
ad42983
🧑‍💻 Install dev dependencies in local containers
trymzet Aug 19, 2024
9db5a06
🐛 Fix for broken `numpy` version
trymzet Aug 19, 2024
075b333
🚧 RedshiftSpectrum source unit tests - WIP
trymzet Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ __pycache__
.git
.jupyter
.local
.vscode
.pytest_cache
.venv
.config
.vscode/
.pytest_cache/
.venv/
.config/
tests/
.ruff_cache/
.mypy_cache/
build/
67 changes: 67 additions & 0 deletions .github/workflows/ad_hoc/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Publish viadot images with a specified tag.
name: "Publish Docker images"
run-name: "Publish viadot-*:${{ github.event.inputs.tag }} images (@${{ github.actor }})"

on:
workflow_dispatch:
inputs:
tag:
description: "The tag to use for the image."
required: true
default: "dev"
install_databricks:
description: "Whether to install Databricks source dependencies."
required: false
default: "false"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and publish viadot-lite image
uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-lite
tags: ghcr.io/${{ github.repository }}/viadot-lite:${{ github.event.inputs.tag }}

- name: Build and publish viadot-aws image
uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-aws
tags: ghcr.io/${{ github.repository }}/viadot-aws:${{ github.event.inputs.tag }}

- name: Build and publish viadot-azure image
uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-azure
tags: ghcr.io/${{ github.repository }}/viadot-azure:${{ github.event.inputs.tag }}
build-args: INSTALL_DATABRICKS=${{ github.event.inputs.install_databricks }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ jobs:
with:
python-version: "3.10"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
run: python3 -m pip install build --user

- name: Build a binary wheel and a source tarball
run: python3 -m build
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/build-2.0.yml

This file was deleted.

124 changes: 0 additions & 124 deletions .github/workflows/build.yml

This file was deleted.

127 changes: 127 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: Release

on:
push:
tags:
- "v2.*.*" # Match tags that begin with "v2".

jobs:
build-distribution:
name: Build distribution 📦
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install pypa/build
run: python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: Publish to PyPI 🚀
timeout-minutes: 5
needs:
- build-distribution
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/viadot2
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

publish-docker-images:
name: Publish Docker images 🐳
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Construct the tag for Docker images
run: |
# Strip the "v" prefix for the image tag.
VERSION=${{ github.ref_name }}
echo "TAG=${VERSION#v}" >> $GITHUB_ENV

- name: Build and publish viadot-lite image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-lite
tags: |
ghcr.io/${{ github.repository }}/viadot-lite:${TAG}
ghcr.io/${{ github.repository }}/viadot-lite:latest

- name: Build and publish viadot-aws image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-aws
tags: |
ghcr.io/${{ github.repository }}/viadot-aws:${TAG}
ghcr.io/${{ github.repository }}/viadot-aws:latest

- name: Build and publish viadot-azure image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
target: viadot-azure
tags: |
ghcr.io/${{ github.repository }}/viadot-azure:${TAG}
ghcr.io/${{ github.repository }}/viadot-azure:latest
build-args: INSTALL_DATABRICKS=false

create_github_release:
name: Create a GitHub release 🔖
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Create a release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
Loading