Commit Graph

20 Commits

Author SHA1 Message Date
Nick Bland
e2c83c817b
CHEFerise docker app to make it more efficient 2021-11-16 15:50:00 +10:00
Nick Bland
0a31ae482b
Very large docker image size optimisations
without cross compiling to linux-musl, optimise image by compiling it on a slim rust image and then transferring only the binary over to a debian-slim image.
2021-11-16 15:40:32 +10:00
Nick Bland
b279578b51
make image slightly smaller but fixing up the dockerignore syntaxing
also added in another ENV to the dockerfile
2021-11-16 15:10:20 +10:00
Nick Bland
c9e564d48f
Make application dockerised
Update mail_app to also have different forms of configuration outside of a single base yaml file. Allows local or production configurations to be established.
2021-11-16 14:34:05 +10:00
Nick Bland
1f06f5e66f
Changes to allow more dynamic logging
Logs in much greater detail using the tracing packages and formatted using Bunyan. Advised to install bunyan on machine for more pretty logs over raw json.
2021-11-16 13:50:32 +10:00
Nick Bland
a746b45f78
Implement changes to allow database connection for insertions
Also updated tests to reflect the new PgPool format being used. Tests now create a mock database on creation to determine if it works before removing it. Up to Chapter 4.
2021-11-08 15:41:52 +10:00
Nick Bland
dd527eb839
aaaa i cant spell 2021-11-08 13:07:55 +10:00
Nick Bland
5255690003
Need to wait longer as database isn't ready for connections yet 2021-11-08 13:06:02 +10:00
Nick Bland
866c1a5993
fix ci/cd 2021-11-08 13:04:51 +10:00
Nick Bland
781642ccfd
update drone.yml 2021-11-08 13:01:20 +10:00
Nick Bland
47da3b5063
woops! accidentally escaped the variables for connection details. 2021-11-08 12:46:23 +10:00
Nick Bland
7d7e7dc2d5
Update drone pipeline
enable postgres DB on drone pipeline for further tests
2021-11-08 12:43:28 +10:00
Nick Bland
6db0a7bc86
implement test changes regarding database
also added .env for database connection details (used by sqlx)
2021-11-07 00:23:49 +10:00
Nick Bland
782796486e
Seperate into multiple files. Add configuration options 2021-11-07 00:08:33 +10:00
Nick Bland
88d2cfdd8e
Fix typo 2021-11-07 00:07:45 +10:00
Nick Bland
33c5cf0adc
Update gitignore 2021-11-05 14:17:36 +10:00
Nick Bland
0b6fd3cd43
Stage changes to implement postgres DB as well as initialise its state 2021-11-05 12:16:04 +10:00
Nick Bland
78311c8cb3
Add in framework for post requests for user subscriptions
Complete up to page 45
2021-11-04 15:09:22 +10:00
Nick Bland
23e1a3f8cb
add drone configuration 2021-10-22 13:09:08 +10:00
Nick Bland
0466015771
initial commit 2021-10-22 12:38:38 +10:00