Commit Graph

15 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
a5e31e98de
Decouple cleaning part from metrics lambda to a new one 2023-06-19 15:40:26 +02:00
Mikhail f. Shiryaev
9bd0a53e7c
Get only online instances in get_lost_ec2_instances 2023-06-02 12:27:29 +02:00
Mikhail f. Shiryaev
3c13eaa159
Simplify get_dead_runners_in_ec2 a little bit, update runners 2023-06-02 12:27:28 +02:00
Mikhail f. Shiryaev
b775b5cfd6
Move all CI runners metrics into one namespace 2023-06-02 12:27:27 +02:00
Mikhail f. Shiryaev
acb9531ebf
Unify and put GH access token to the lambda_shared 2023-06-01 21:03:56 +02:00
Mikhail f. Shiryaev
0fa6a84161
Move the stuff related to runners to lambda_shared 2023-06-01 21:03:55 +02:00
Mikhail f. Shiryaev
8a664e2cac
Upgrade all lambdas runtime to 3.10, fix requirements
The recent update of urllib3 completely broken the world

- https://github.com/urllib3/urllib3/issues/2168
- https://github.com/boto/botocore/issues/2926
- https://github.com/psf/requests/issues/6443
2023-05-11 16:09:59 +02:00
Mikhail f. Shiryaev
43dbd7bc25
Terminate long-running offline non-busy runners in EC2 2023-03-01 12:37:34 +01:00
Mikhail f. Shiryaev
9c934bf68a
Improve logging of the ci_runners_metrics_lambda 2022-12-09 20:15:29 +01:00
Mikhail f. Shiryaev
3feb8e3657
Add type hinting to ci_runners_metrics_lambda 2022-11-29 16:50:20 +01:00
Mikhail f. Shiryaev
272042108d
Terminate instances that lost connection to github 2022-11-28 16:05:55 +01:00
Mikhail f. Shiryaev
28f9f588bc
A small improvement in naming and rounding pages number 2022-11-28 14:54:00 +01:00
Mikhail f. Shiryaev
650a9dc2c2
Use zip file for ci-runners-metrics-lambda 2022-11-24 16:05:16 +01:00
Mikhail f. Shiryaev
ebe696af80
Handle universal runners in metrics lambda 2022-11-24 16:05:15 +01:00
Mikhail f. Shiryaev
531811575e
Rename directory for zip deployment 2022-11-24 16:05:13 +01:00