File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,8 @@ workflows:
5353 jobs :
5454 - verify_build :
5555 python : " 3.7"
56+
57+ python-v3.8 :
58+ jobs :
59+ - verify_build :
60+ python : " 3.8"
Original file line number Diff line number Diff line change 1010
1111LAYER_DIR=" .layers"
1212LAYER_FILES_PREFIX=" datadog_lambda_py"
13- PYTHON_VERSIONS=(" 2.7" " 3.6" " 3.7" )
13+ PYTHON_VERSIONS=(" 2.7" " 3.6" " 3.7" " 3.8 " )
1414
1515function make_path_absolute {
1616 echo " $( cd " $( dirname " $1 " ) " ; pwd) /$( basename " $1 " ) "
Original file line number Diff line number Diff line change 88# Lists most recent layers ARNs across regions to STDOUT
99# Optionals args: [layer-name] [region]
1010
11- LAYER_NAMES=(" Datadog-Python27" " Datadog-Python36" " Datadog-Python37" )
11+ LAYER_NAMES=(" Datadog-Python27" " Datadog-Python36" " Datadog-Python37" " Datadog-Python38 " )
1212AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
1313
1414# Check region arg
Original file line number Diff line number Diff line change 1313# Makes sure any subprocesses will be terminated with this process
1414trap " pkill -P $$ ; exit 1;" INT
1515
16- PYTHON_VERSIONS_FOR_AWS_CLI=(" python2.7" " python3.6" " python3.7" )
17- LAYER_PATHS=(" .layers/datadog_lambda_py2.7.zip" " .layers/datadog_lambda_py3.6.zip" " .layers/datadog_lambda_py3.7.zip" )
18- AVAILABLE_LAYER_NAMES=(" Datadog-Python27" " Datadog-Python36" " Datadog-Python37" )
16+ PYTHON_VERSIONS_FOR_AWS_CLI=(" python2.7" " python3.6" " python3.7" " python3.8 " )
17+ LAYER_PATHS=(" .layers/datadog_lambda_py2.7.zip" " .layers/datadog_lambda_py3.6.zip" " .layers/datadog_lambda_py3.7.zip" " .layers/datadog_lambda_py3.8.zip " )
18+ AVAILABLE_LAYER_NAMES=(" Datadog-Python27" " Datadog-Python36" " Datadog-Python37" " Datadog-Python38 " )
1919AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
2020
2121# Check that the layer files exist
Original file line number Diff line number Diff line change 88# Run unit tests in Docker
99set -e
1010
11- PYTHON_VERSIONS=(" 2.7" " 3.6" " 3.7" )
11+ PYTHON_VERSIONS=(" 2.7" " 3.6" " 3.7" " 3.8 " )
1212
1313for python_version in " ${PYTHON_VERSIONS[@]} "
1414do
Original file line number Diff line number Diff line change 2222 'Programming Language :: Python :: 2.7' ,
2323 'Programming Language :: Python :: 3.6' ,
2424 'Programming Language :: Python :: 3.7' ,
25+ 'Programming Language :: Python :: 3.8' ,
2526 ],
2627 keywords = 'datadog aws lambda layer' ,
2728 packages = ['datadog_lambda' ],
You can’t perform that action at this time.
0 commit comments