Skip to content

Commit 0dfd178

Browse files
committed
[python_lambda] fetch artifact from github action workflow
1 parent bd0b04a commit 0dfd178

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

utils/scripts/load-binary.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -300,18 +300,7 @@ elif [ "$TARGET" = "python_lambda" ]; then
300300
assert_version_is_dev
301301
assert_target_branch_is_not_set
302302

303-
rm -rf datadog-lambda-python/
304-
305-
git clone https://github.com/DataDog/datadog-lambda-python.git
306-
cd datadog-lambda-python
307-
echo "Checking out the datadog_lambda ref"
308-
git log -1 --format=%H
309-
310-
# do not use `--depth 1`, setuptools_scm, does not like it
311-
git clone https://github.com/DataDog/dd-trace-py.git
312-
cd dd-trace-py
313-
echo "Checking out the ddtrace ref"
314-
git log -1 --format=%H
303+
get_github_action_artifact "DataDog/datadog-lambda-python" "build_layer.yml" "main" "datadog-lambda-python-3.13-amd64.zip"
315304

316305
else
317306
echo "Unknown target: $1"

0 commit comments

Comments
 (0)