Mikhail f. Shiryaev
|
d2f92483f2
|
Add even more python code to pylint check, fix lambdas
|
2024-03-05 16:02:44 +01:00 |
|
Mikhail f. Shiryaev
|
34bb40583c
|
Install stubs for python-requests
|
2024-03-05 16:02:43 +01:00 |
|
Mikhail f. Shiryaev
|
1443e490ea
|
Remove python bytecode, make consistent file-permissions
It's impossible to have persistent pyc files
Each time they are built with different content, for example:
> cmp -bl lambda-package*/charset_normalizer/__pycache__/constant.cpython-310.pyc
15582 6 ^F 4 ^D
15583 164 t 155 m
15584 141 a 142 b
15586 164 t 163 s
15587 151 i 332 M-Z
15588 163 s 6 ^F
15589 332 M-Z 164 t
15590 4 ^D 141 a
15591 155 m 143 c
15592 142 b 164 t
15593 143 c 151 i
17425 74 < 75 =
17428 76 > 46 &
17429 332 M-Z 372 M-z
17431 173 { 55 -
17434 75 = 174 |
17437 57 / 72 :
17440 54 , 73 ;
17441 372 M-z 332 M-Z
17443 174 | 175 }
17446 55 - 54 ,
17447 372 M-z 332 M-Z
17449 46 & 173 {
17452 72 : 76 >
17455 42 " 74 <
17458 73 ; 133 [
17461 135 ] 42 "
17464 133 [ 135 ]
17465 332 M-Z 372 M-z
17467 175 } 57 /
17503 332 M-Z 162 r
17504 5 ^E 130 X
17505 152 j 0 ^@
17506 157 o 0 ^@
17507 150 h 0 ^@
17508 141 a 332 M-Z
17509 142 b 5 ^E
17510 162 r 152 j
17511 130 X 157 o
17512 0 ^@ 150 h
17513 0 ^@ 141 a
17514 0 ^@ 142 b
17536 5 ^E 2 ^B
17537 143 c 150 h
17538 160 p 172 z
17539 71 9 332 M-Z
17540 65 5 5 ^E
17541 60 0 143 c
17542 332 M-Z 160 p
17543 2 ^B 71 9
17544 150 h 65 5
17545 172 z 60 0
|
2024-03-04 13:37:13 +01:00 |
|
Mikhail f. Shiryaev
|
63e40203d1
|
Use python zipfile to have x-platform idempotent lambda packages
|
2024-03-04 13:37:11 +01:00 |
|
Mikhail f. Shiryaev
|
f5a71455b8
|
Do not rebuild a lambda package if it is updated
|
2024-02-12 18:12:25 +01:00 |
|
Mikhail f. Shiryaev
|
f056e8b2c4
|
Handle different timestamp related aspects of zip-files
|
2024-02-09 16:54:00 +01:00 |
|
Mikhail f. Shiryaev
|
4ee7275f21
|
Improve dry run for lambda deployment
|
2024-02-01 11:20:16 +01:00 |
|
Mikhail f. Shiryaev
|
5e27ca6e59
|
Use host network to avoid ipv6 problems
|
2023-09-04 17:06:51 +02:00 |
|
Mikhail f. Shiryaev
|
b7c5fdab77
|
Move lambda package building to public.ecr.aws/lambda/python for compatibility
|
2023-06-02 12:27:26 +02:00 |
|
Mikhail f. Shiryaev
|
2dca0eac1b
|
Delete __init__.py in lambda directories to break subpackage
|
2023-06-01 21:03:56 +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
|
7f08f218d9
|
Create lambda_shared package for lambdas
|
2023-06-01 21:03:53 +02:00 |
|
Mikhail f. Shiryaev
|
484c91c47e
|
Add DRY_RUN and configurable PY_VERSION to lambda deployment
|
2023-06-01 21:03:53 +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
|
eacf7e01a1
|
Fix typing in team_keys_lambda
|
2022-11-29 14:12:29 +01:00 |
|
Mikhail f. Shiryaev
|
3bf3dacb4d
|
Add __init__.py to lambdas for mypy
|
2022-11-29 14:12:28 +01:00 |
|
Mikhail f. Shiryaev
|
ffd18d43a6
|
Use docker for lambda packages building
|
2022-11-24 16:05:15 +01:00 |
|
Mikhail f. Shiryaev
|
4b2bba2ff1
|
Do not upload unnecessary lambda sources
|
2022-08-10 14:37:06 +02:00 |
|
Mikhail f. Shiryaev
|
2338d01a20
|
Deploy workflow_approve_rerun_lambda as zip package
|
2022-07-28 14:23:59 +02:00 |
|
Mikhail f. Shiryaev
|
7297e468d5
|
Migrate team-keys lambda to zip archives deployment
|
2022-06-27 14:00:32 +02:00 |
|
Mikhail f. Shiryaev
|
fad0aeb0d3
|
Fix some linter issues
|
2022-04-15 01:28:13 +02:00 |
|
Mikhail f. Shiryaev
|
a2f025b292
|
Comment output header for team keys
|
2022-02-23 10:51:31 +01:00 |
|
Mikhail f. Shiryaev
|
31a5afe855
|
Use threads to speed-up parallel requests
|
2021-12-16 11:50:48 +01:00 |
|
Mikhail f. Shiryaev
|
ccf6210eb1
|
Add docker container for AWS lambda
|
2021-12-16 11:50:41 +01:00 |
|