Skip to content

Commit

Permalink
skip aiohttp-server
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Nov 8, 2023
1 parent 4602bfa commit f700461
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
1 change: 0 additions & 1 deletion eachdist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ packages=

[exclude_release]
packages=
opentelemetry-instrumentation-aiohttp-server
opentelemetry-resource-detector-azure
opentelemetry-sdk-extension-aws
opentelemetry-propagator-aws-xray
Expand Down
19 changes: 12 additions & 7 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ DISTDIR=dist

for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ ; do
(
echo "building $d"
cd "$d"
# Some ext directories (such as docker tests) are not intended to be
# packaged. Verify the intent by looking for a pyproject.toml.
if [ -f pyproject.toml ]; then
python3 -m build --outdir "$BASEDIR/dist/"
fi
# Skip the build step if the directory name is "opentelemetry-instrumentation-aiohttp-server"
if [[ "$d" == *"opentelemetry-instrumentation-aiohttp-server"* ]]; then
echo "Skipping build for $d"
else
echo "building $d"
cd "$d"
# Some ext directories (such as docker tests) are not intended to be
# packaged. Verify the intent by looking for a pyproject.toml.
if [ -f pyproject.toml ]; then
python3 -m build --outdir "$BASEDIR/dist/"
fi
fi
)
done
(
Expand Down

0 comments on commit f700461

Please sign in to comment.