Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

aws-lambda-ci

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-ci - npm Package Compare versions

Comparing version
0.0.7
to
0.0.8
+15
-3
aws_lambda_ci.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: aws-lambda-ci
Version: 0.0.7
Version: 0.0.8
Summary: Continuous integration pipeline for aws lambda function

@@ -14,2 +14,4 @@ Home-page: https://github.com/kodless/aws-lambda-ci

License-File: LICENSE
Requires-Dist: boto3
Requires-Dist: awslogs

@@ -180,2 +182,10 @@ ##################

+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-repo | Use custom build docker repository (other than lambci/lambda) |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: lambci/lambda | Allowed: a valid docker repo without image tag part |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-image | Custom build docker image tag (if not provided, will use build-{[python|node][runtime-version]}) lambci/lambda repo |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: None | Allowed: an existing docker image tag |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+

@@ -191,3 +201,3 @@

--function-name "useast1-mimoto-api-v1-codeless" \
--function-runtime "python3.7" \
--function-runtime "python3.11" \
--function-alias-name "latest" \

@@ -199,3 +209,5 @@ --function-layer-name "useast1-mimoto-api-v1-codeless-deps" \

--aws-profile-name "kodhive_prd" \
--watch-log-stream
--watch-log-stream \
--build-docker-repo public.ecr.aws/sam/build-python3.11 \
--build-docker-image latest

@@ -202,0 +214,0 @@ Demos

+9
-1

@@ -52,2 +52,5 @@ """

parser.add_argument('--build-docker-image', dest='build_docker_image', required=False, default=None,
help="Build custom docker image tag (if not provided, will use build-{[python|node][runtime-version]})")
args = parser.parse_args()

@@ -147,2 +150,3 @@

BUILD_DOCKER_REPO = args.build_docker_repo
BUILD_DOCKER_IMAGE = args.build_docker_image

@@ -350,5 +354,9 @@ COL_BLU = "\033[94m"

def docker_run(install_cmd):
if BUILD_DOCKER_IMAGE:
image_tag = BUILD_DOCKER_IMAGE
else:
image_tag = f"build-{FUNCTION_RUNTIME}"
docker_cmd = (
"docker", "run", f'-v "{WORKING_DIR}":/var/task',
f"--rm {BUILD_DOCKER_REPO}:build-{FUNCTION_RUNTIME}",
f"--rm {BUILD_DOCKER_REPO}:{image_tag}",
f'/bin/sh -c "{install_cmd}"'

@@ -355,0 +363,0 @@ )

Metadata-Version: 2.1
Name: aws-lambda-ci
Version: 0.0.7
Version: 0.0.8
Summary: Continuous integration pipeline for aws lambda function

@@ -14,2 +14,4 @@ Home-page: https://github.com/kodless/aws-lambda-ci

License-File: LICENSE
Requires-Dist: boto3
Requires-Dist: awslogs

@@ -180,2 +182,10 @@ ##################

+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-repo | Use custom build docker repository (other than lambci/lambda) |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: lambci/lambda | Allowed: a valid docker repo without image tag part |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-image | Custom build docker image tag (if not provided, will use build-{[python|node][runtime-version]}) lambci/lambda repo |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: None | Allowed: an existing docker image tag |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+

@@ -191,3 +201,3 @@

--function-name "useast1-mimoto-api-v1-codeless" \
--function-runtime "python3.7" \
--function-runtime "python3.11" \
--function-alias-name "latest" \

@@ -199,3 +209,5 @@ --function-layer-name "useast1-mimoto-api-v1-codeless-deps" \

--aws-profile-name "kodhive_prd" \
--watch-log-stream
--watch-log-stream \
--build-docker-repo public.ecr.aws/sam/build-python3.11 \
--build-docker-image latest

@@ -202,0 +214,0 @@ Demos

@@ -165,2 +165,10 @@ ##################

+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-repo | Use custom build docker repository (other than lambci/lambda) |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: lambci/lambda | Allowed: a valid docker repo without image tag part |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+
| --build-docker-image | Custom build docker image tag (if not provided, will use build-{[python|node][runtime-version]}) lambci/lambda repo |
| +----------+--------------------------------------+------------------------------------------------------------------------------------------+
| | Optional | Default: None | Allowed: an existing docker image tag |
+--------------------------------+----------+--------------------------------------+------------------------------------------------------------------------------------------+

@@ -176,3 +184,3 @@

--function-name "useast1-mimoto-api-v1-codeless" \
--function-runtime "python3.7" \
--function-runtime "python3.11" \
--function-alias-name "latest" \

@@ -184,3 +192,5 @@ --function-layer-name "useast1-mimoto-api-v1-codeless-deps" \

--aws-profile-name "kodhive_prd" \
--watch-log-stream
--watch-log-stream \
--build-docker-repo public.ecr.aws/sam/build-python3.11 \
--build-docker-image latest

@@ -187,0 +197,0 @@ Demos

+1
-1

@@ -5,3 +5,3 @@ from setuptools import setup

name="aws-lambda-ci",
version="0.0.7",
version="0.0.8",
url="https://github.com/kodless/aws-lambda-ci",

@@ -8,0 +8,0 @@ license="Apache License 2.0",