We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5c082 commit 803586bCopy full SHA for 803586b
1 file changed
scripts/build_layers.sh
@@ -178,8 +178,10 @@ do
178
for architecture in "${ARCHS[@]}"
179
do
180
echo "Building layer for Python ${python_version} arch=${architecture}"
181
- find_and_spec_wheel ${python_version} ${architecture} "ddtrace_serverless" "serverless"; FAILURE=$?
182
- if [ $FAILURE != 0 ]; then
+ set +e
+ find_and_spec_wheel ${python_version} ${architecture} "ddtrace_serverless" "serverless"
183
+ set -e
184
+ if [ $? != 0 ]; then
185
echo "Attempting layer build again with package ddtrace"
186
find_and_spec_wheel ${python_version} ${architecture} "ddtrace" "manylinux2014"
187
fi
0 commit comments