Commit Graph
68 Commits
Author SHA1 Message Date
joshuacoles 9d23828345 Revert "Try sccache"
Build and Publish / Build and Test (push) Failing after 6m3s
This reverts commit 6d2150d1b2.
2024-10-31 12:04:08 +00:00
joshuacoles e60ab43abd Add /shortcuts-csv-import
Build and Publish / Build and Test (push) Has been cancelled
2024-10-31 12:03:36 +00:00
joshuacoles 6d2150d1b2 Try sccache
Build and Publish / Build and Test (push) Failing after 3m14s
2024-10-17 09:59:37 +01:00
joshuacoles 7f78d2274c Update debian version
Build and Publish / Build and Test (push) Successful in 2m24s
2024-10-16 13:57:08 +01:00
joshuacoles e739d5ea5b Turns out you just can't use build args in the entrypoint... why... who knows
Build and Publish / Build and Test (push) Successful in 2m19s
2024-10-16 13:39:46 +01:00
joshuacoles 09209be500 Take 4
Build and Publish / Build and Test (push) Failing after 2m14s
2024-10-16 13:13:45 +01:00
joshuacoles c86a79b46e Take 3
Build and Publish / Build and Test (push) Failing after 2m12s
2024-10-16 13:04:59 +01:00
joshuacoles b65fad16e4 Take 2
Build and Publish / Build and Test (push) Successful in 2m38s
2024-10-16 09:40:23 +01:00
joshuacoles a60d0effff Remove quotes around binary name
Build and Publish / Build and Test (push) Successful in 11m0s
Maybe this will work?
2024-10-15 22:46:28 +01:00
joshuacoles c230aef034 Correct target name from gnu to musl in Dockerfile
Build and Publish / Build and Test (push) Successful in 10m32s
2024-10-15 21:42:36 +01:00
joshuacoles ca0df97e73 Slim down batch size to fit in ingestion
Build and Publish / Build and Test (push) Waiting to run
2024-10-15 21:40:11 +01:00
joshuacoles 5c3f734bbc Support account IDs 2024-10-15 21:35:55 +01:00
joshuacoles e3ed72c9b0 Create monzo and flex accounts 2024-10-15 21:17:39 +01:00
joshuacoles 3c3b6dc4e6 Add some flex migrations 2024-10-15 21:03:40 +01:00
joshuacoles c3796720b7 Bump sea-orm version 2024-10-15 20:50:06 +01:00
joshuacoles 35fd2b90d2 Attempt to fix build with ignore rules
Build and Publish / Build and Test (push) Failing after 11m55s
2024-09-08 17:51:49 +01:00
joshuacoles 4b2f0f3bf7 Update build.yml file
Build and Publish / Build and Test (push) Failing after 8m7s
2024-09-08 14:35:28 +01:00
joshuacoles 29fe8bee39 Disable tests as they aren't designed to run in CI yet
Rust CI / Build and Test (push) Failing after 7m14s
2024-08-09 12:31:01 +01:00
joshuacoles 49a1700706 Move docker setup up to try make the tests pass
Rust CI / Build and Test (push) Failing after 34m17s
2024-08-09 11:53:33 +01:00
joshuacoles 04b58d3075 Fix binary name
Rust CI / Build and Test (push) Failing after 44m28s
2024-08-09 10:28:21 +01:00
joshuacoles 076a573711 Bump versions once more and move to specifying only X.Y versions to make this easier
Rust CI / Build and Test (push) Has been cancelled
2024-08-09 10:07:51 +01:00
joshuacoles af0588c5ef Replace the Docker build with the one from toggl-bridge as it's better
Rust CI / Build and Test (push) Has been cancelled
2024-08-09 09:57:48 +01:00
joshuacoles 21a63a10a4 Fix some clippy lints 2024-08-09 09:56:23 +01:00
joshuacoles 08766dc0e0 Stash 2024-08-09 09:43:10 +01:00
joshuacoles bf47520d31 Try to make the cache work, take N
Build and Publish Docker Container / build (push) Successful in 16m35s
2024-06-04 08:42:46 +01:00
joshuacoles fc1cea32b5 Pin docker/build-push-action@v5 and add ntfy.sh action 2024-06-03 21:12:02 +01:00
joshuacoles 92462bd316 Try to use GHA cache instead
Build and Publish Docker Container / build (push) Failing after 13m16s
2024-06-03 20:46:08 +01:00
joshuacoles f0b0cb1567 Start tagging with SHA as well as latest 2024-06-03 20:45:39 +01:00
joshuacoles 8478fa0b38 Try manually cache build layers
Build and Publish Docker Container / build (push) Has been cancelled
2024-06-03 20:38:54 +01:00
joshuacoles 3b2c1aeda0 Add some documentation to the CLI and the csv ingestion route
Build and Publish Docker Container / build (push) Has been cancelled
2024-06-03 20:26:31 +01:00
joshuacoles b37273cfbe Fix Dockerfile.cache glibc version
Build and Publish Docker Container / build (push) Successful in 14m11s
2024-06-03 20:14:41 +01:00
joshuacoles f344d69419 Fix Dockerfile.cache 2024-06-03 20:09:46 +01:00
joshuacoles 901aba9c7f Fix Dockerfile.cache 2024-06-03 20:09:26 +01:00
joshuacoles d7d7fa9718 Investigate cargo-chef to cache things
Build and Publish Docker Container / build (push) Has been cancelled
2024-06-03 20:09:00 +01:00
joshuacoles b8c1faced2 Update Dockerfile to match new command structure 2024-06-03 20:03:43 +01:00
joshuacoles b563bbd02c Add a little more CLI structure for local runs 2024-06-03 19:59:22 +01:00
joshuacoles 7fd85550ea Try to improve caching?
Build and Publish Docker Container / build (push) Successful in 9m41s
2024-06-03 19:19:50 +01:00
joshuacoles 97f57803e5 Expose more information in logging and improve error handling
Build and Publish Docker Container / build (push) Successful in 9m28s
2024-06-03 19:04:44 +01:00
joshuacoles 046ce44d23 rustfmt
Build and Publish Docker Container / build (push) Successful in 10m2s
2024-06-03 18:41:32 +01:00
joshuacoles f70d844ff3 Fix ORM failing to handle empty lists... 2024-06-03 18:41:21 +01:00
joshuacoles 61de38b9bf Add monzo-row parsing testcases
Build and Publish Docker Container / build (push) Successful in 9m19s
2024-06-03 17:41:43 +01:00
joshuacoles 6c5d3910dc Make title optional in db 2024-06-03 17:34:08 +01:00
joshuacoles 4bb9f2813d Move transaction whittling out of the database
Build and Publish Docker Container / build (push) Successful in 9m56s
2024-06-03 12:12:45 +01:00
joshuacoles 3df05b2d9c Add identity_hash column
Build and Publish Docker Container / build (push) Failing after 9m27s
2024-05-29 21:08:51 +01:00
joshuacoles f19f861297 Introduce MonzoRow as an intermediary between json/csv and the database entities. This will allow for hashing to perform identity checks 2024-05-29 20:49:48 +01:00
joshuacoles 89d0d12e26 Make SQLx logging debug level and add tower-http traces
Build and Publish Docker Container / build (push) Successful in 10m20s
2024-05-29 20:12:40 +01:00
joshuacoles 62d5ad8dc2 Add testing for notify behaviour
Build and Publish Docker Container / build (push) Successful in 9m24s
2024-05-29 20:00:47 +01:00
joshuacoles a2a47b276a I forgot to wrap the string... damn. God, I really need a test suite 2024-05-29 18:51:12 +01:00
joshuacoles 8ce60ce278 rustfmt
Build and Publish Docker Container / build (push) Successful in 6m33s
2024-05-28 17:38:45 +01:00
joshuacoles fbf473b3b4 Split up the db methods and move to unprepared statements for the notify call 2024-05-28 17:38:25 +01:00
joshuacoles 848da0f5f3 Notify monzo_new_transactions with a list of IDs when we insert new transactions
Build and Publish Docker Container / build (push) Successful in 7m10s
2024-05-28 15:48:56 +01:00
joshuacoles 11fa106cf5 Return newly inserted transaction ids 2024-05-28 15:48:56 +01:00
joshuacoles e375e7d9dc Bump versions 2024-05-28 15:48:55 +01:00
joshuacoles 660b7b8676 Rustfmt 2024-05-28 15:48:55 +01:00
joshuacoles 89fccc8d85 Update Dockerfile
Build and Publish Docker Container / build (push) Successful in 7m0s
2024-02-23 10:30:17 +00:00
joshuacoles 8346ee77f0 Update Dockerfile
Build and Publish Docker Container / build (push) Failing after 23s
Bump rust version in Dockerfile
2024-02-23 10:12:46 +00:00
joshuacoles 5da46563d1 Update dependencies
Build and Publish Docker Container / build (push) Failing after 56s
2024-02-22 17:14:22 +00:00
joshuacoles cab285b8df Add doc comments to config 2023-09-05 19:06:08 +01:00
joshuacoles 550b4758b2 Make migrations optional and change the table name to not conflict with other applications
Build and Publish Docker Container / build (push) Successful in 7m33s
2023-09-05 18:29:35 +01:00
joshuacoles f7c48b6924 Try to fix the build process, missing docker executable.
Build and Publish Docker Container / build (push) Successful in 8m2s
2023-09-05 18:11:54 +01:00
joshuacoles bd9bd998a4 Remove unused secret def
Build and Publish Docker Container / build (push) Failing after 22s
Really just to make a push
2023-09-05 17:55:30 +01:00
joshuacoles d2c23b3eda Add build.yml 2023-09-05 10:06:43 +01:00
joshuacoles 5440601a14 Rename ingestion.rs to routes.rs to more accurately reflect its purpose 2023-09-04 17:42:07 +01:00
joshuacoles ce8a22203d And the compose deploy now works 2023-09-04 17:41:19 +01:00
joshuacoles f6431ee922 Add Dockerfile 2023-09-04 17:10:19 +01:00
joshuacoles cad7a4f7b3 Add health check 2023-09-04 17:02:57 +01:00
joshuacoles b6e7c870a7 Import of old stuff, it might work now 2023-09-04 17:00:48 +01:00
joshuacoles 554e645f92 Initial work 2023-09-04 15:29:21 +01:00