We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c64f8b commit ae5c082Copy full SHA for ae5c082
scripts/build_layers.sh
@@ -146,7 +146,6 @@ function find_and_spec_wheel {
146
return 1
147
fi
148
149
-
150
}
151
152
function docker_build_zip {
@@ -179,8 +178,8 @@ do
179
178
for architecture in "${ARCHS[@]}"
180
do
181
echo "Building layer for Python ${python_version} arch=${architecture}"
182
- find_and_spec_wheel ${python_version} ${architecture} "ddtrace_serverless" "serverless"
183
- if [ $? != 0 ]; then
+ find_and_spec_wheel ${python_version} ${architecture} "ddtrace_serverless" "serverless"; FAILURE=$?
+ if [ $FAILURE != 0 ]; then
184
echo "Attempting layer build again with package ddtrace"
185
find_and_spec_wheel ${python_version} ${architecture} "ddtrace" "manylinux2014"
186
0 commit comments