Commit graph

471 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
2fd169873a correct docker image 2023-08-24 20:44:31 +01:00
Khalim Conn-Kowlessar
d9b856a5ba switch actions file to not use arm64 2023-08-24 20:22:16 +01:00
Khalim Conn-Kowlessar
33a6587e70 revert back to x86 2023-08-24 20:12:37 +01:00
Khalim Conn-Kowlessar
0883dd6c37 Adding doumentation on lambda emulation locally 2023-08-24 18:21:06 +01:00
Khalim Conn-Kowlessar
c56641d8dc added pkgconf 2023-08-24 17:40:34 +01:00
Khalim Conn-Kowlessar
710b6b4648 adding run local lambda and added make to system dependencies install 2023-08-24 17:26:22 +01:00
Khalim Conn-Kowlessar
e64add45d6 trying to get mip working in arm64 2023-08-24 17:13:40 +01:00
Khalim Conn-Kowlessar
966ea393d7 Add back in slim bullseye 2023-08-24 16:56:51 +01:00
Khalim Conn-Kowlessar
45a13c1503 trying to use buildx 2023-08-24 16:42:59 +01:00
Khalim Conn-Kowlessar
29bd2dbd67 test switching slim bullseye to bullseye 2023-08-24 16:34:14 +01:00
Khalim Conn-Kowlessar
9c1b60a77f test removing pip install 2023-08-24 16:08:18 +01:00
Khalim Conn-Kowlessar
dc1546967b removing install of netcat 2023-08-24 15:57:53 +01:00
Khalim Conn-Kowlessar
809a4d6a6c using arm64 base image 2023-08-24 15:52:56 +01:00
Khalim Conn-Kowlessar
363a6887a9 trying to use arm64 2023-08-24 15:33:12 +01:00
Khalim Conn-Kowlessar
04beb0d510 testing changing the docker file to perform a multi-stage build to optimise image size 2023-08-24 15:20:43 +01:00
Khalim Conn-Kowlessar
57a67cd9c4 using most recent version of mip 2023-08-24 15:12:36 +01:00
Khalim Conn-Kowlessar
c4369660f0 adding boto3 to fastapi image 2023-08-24 15:04:37 +01:00
Khalim Conn-Kowlessar
e0d6793284 adding awslambdaric 2023-08-24 14:56:19 +01:00
Khalim Conn-Kowlessar
aff4cce777 changing the working directory to var/task/Model for the docker to align with lambda requirements 2023-08-24 14:00:10 +01:00
Khalim Conn-Kowlessar
7f9b973890 removing CMD directive and specifying handler in serverless script 2023-08-24 13:40:07 +01:00
Khalim Conn-Kowlessar
efe07a6e87 Adding instructions to run docker locally 2023-08-24 13:34:14 +01:00
Khalim Conn-Kowlessar
0371a810e7 adding custom domain back into serverless script 2023-08-24 13:17:19 +01:00
Khalim Conn-Kowlessar
22d6673aa3 remove serverless domain manager for first deploy 2023-08-24 11:54:31 +01:00
Khalim Conn-Kowlessar
ca14f19a9a try removing custom domain to complete the lambda deployment propertly 2023-08-24 11:49:51 +01:00
Khalim Conn-Kowlessar
1afc815362 added the reference to the github sha in the lambda function uri instead of latest 2023-08-24 10:57:34 +01:00
Khalim Conn-Kowlessar
52f508f48b fix github actions yaml error 2023-08-24 10:48:52 +01:00
Khalim Conn-Kowlessar
c69f19f27d removing serverless python requirements 2023-08-24 10:47:26 +01:00
Khalim Conn-Kowlessar
f27f6838cc Updated lamdba's dockerfile and serverless script to try and build the lambda from the docker image in ecr 2023-08-24 10:20:23 +01:00
Khalim Conn-Kowlessar
9a98503569 remove hardcoded stage in database credentials fetch 2023-08-23 08:23:13 +01:00
Khalim Conn-Kowlessar
238bea1f39 added github sha to docker tag 2023-08-23 08:20:37 +01:00
Khalim Conn-Kowlessar
96ac0135e9 transforming lambda to use docker wip 2023-08-22 09:52:42 +01:00
Khalim Conn-Kowlessar
517409dfe0 added ecr module to terraform repo 2023-08-22 09:19:56 +01:00
Khalim Conn-Kowlessar
ad6ed75cc3 using v old version of python mip 2023-08-21 21:28:47 +01:00
Khalim Conn-Kowlessar
b26311f417 tryin mip 1.14 2023-08-21 21:16:08 +01:00
Khalim Conn-Kowlessar
2589a46d06 downgrading mip to try and get it working with aws lambda 2023-08-21 20:48:57 +01:00
Khalim Conn-Kowlessar
cc64fdfd21 moving epc_to_sap_lower_bound 2023-08-21 20:39:24 +01:00
Khalim Conn-Kowlessar
33b142aea2 Added mip to requirements 2023-08-21 20:27:24 +01:00
Khalim Conn-Kowlessar
6818c3f3f8 include optimiser in serverrless package 2023-08-21 20:18:24 +01:00
Khalim Conn-Kowlessar
6ac397b565 Adding recommendation materials details to recommendations outputs 2023-08-21 14:39:34 +01:00
Khalim Conn-Kowlessar
f2fc921bc5 optimised api speed, good enough for now 2023-08-21 11:32:50 +01:00
Khalim Conn-Kowlessar
c413482bf4 Added try catch block 2023-08-21 11:21:38 +01:00
Khalim Conn-Kowlessar
eef6fd27dd consolidating commits 2023-08-21 11:18:03 +01:00
Khalim Conn-Kowlessar
8f7ae68b4a bulk uploading recommendations - improved speed by half a second 2023-08-21 11:05:28 +01:00
Khalim Conn-Kowlessar
6d381c2b65 refactored database upload so it's more efficient 2023-08-21 11:03:54 +01:00
Khalim Conn-Kowlessar
776f3a48e5 Added in portfolio aggregation method 2023-08-18 17:21:11 +01:00
Khalim Conn-Kowlessar
f37f6ac029 implemented optimiser into recommendation api 2023-08-18 16:49:03 +01:00
Khalim Conn-Kowlessar
20aa23efa0 Merge branch 'main' of https://github.com/Hestia-Homes/Model 2023-08-16 12:10:42 +01:00
Khalim Conn-Kowlessar
560af9e0cf Added property id to plan creation 2023-08-16 12:10:24 +01:00
quandanrepo
18b8f28200
Merge pull request #131 from Hestia-Homes/michael-initial
Michael initial
2023-08-16 00:16:55 +01:00
Michael Duong
a3234b87e9 Merge branch 'main' of github.com:Hestia-Homes/Model into michael-initial 2023-08-15 23:13:42 +00:00