-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into refactor/native-periodic-thread
- Loading branch information
Showing
106 changed files
with
1,384 additions
and
1,355 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
experiments: | ||
- name: run-microbenchmarks | ||
setup: | ||
- name: datadog-agent | ||
run: datadog_agent | ||
cpus: 24-25 | ||
config_sh: ./steps/update-dd-agent-config.sh | ||
|
||
steps: | ||
- name: benchmarks | ||
cpus: 26-47 | ||
run: shell | ||
script: export SCENARIO=$BP_SCENARIO && ./steps/run-benchmarks.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/bash | ||
|
||
source common_build_functions.sh | ||
|
||
if [ -n "$CI_COMMIT_TAG" ] && [ -z "$PYTHON_PACKAGE_VERSION" ]; then | ||
PYTHON_PACKAGE_VERSION=${CI_COMMIT_TAG##v} | ||
fi | ||
|
||
if [ -z "$ARCH" ]; then | ||
ARCH=amd64 | ||
fi | ||
|
||
|
||
TMP_DIR=$(mktemp --dir) | ||
BUILD_DIR=$TMP_DIR/datadog-python-apm.build | ||
mkdir $TMP_DIR/datadog-python-apm.build | ||
|
||
# Install known compatible pip as default version shipped in Ubuntu (20.0.2) | ||
# does not work. | ||
python3 -m pip install -U "pip>=22.0" | ||
python3 -m pip install packaging | ||
|
||
WHEEL_ARCH="x86_64" | ||
if [ "$ARCH" = "arm64" ]; then | ||
WHEEL_ARCH="aarch64" | ||
fi | ||
|
||
../lib-injection/dl_wheels.py \ | ||
--python-version=3.12 \ | ||
--python-version=3.11 \ | ||
--python-version=3.10 \ | ||
--python-version=3.9 \ | ||
--python-version=3.8 \ | ||
--python-version=3.7 \ | ||
--ddtrace-version=$PYTHON_PACKAGE_VERSION \ | ||
--arch=$WHEEL_ARCH \ | ||
--platform=musllinux_1_1 \ | ||
--platform=manylinux2014 \ | ||
--output-dir=$BUILD_DIR/ddtrace_pkgs \ | ||
--verbose | ||
echo -n $PYTHON_PACKAGE_VERSION > auto_inject-python.version | ||
cp ../lib-injection/sitecustomize.py $BUILD_DIR/ | ||
cp auto_inject-python.version $BUILD_DIR/version | ||
chmod -R o-w $BUILD_DIR | ||
chmod -R g-w $BUILD_DIR | ||
|
||
# Build packages | ||
datadog-package create \ | ||
--version="$PYTHON_PACKAGE_VERSION" \ | ||
--package="datadog-apm-library-python" \ | ||
--archive=true \ | ||
--archive-path="datadog-apm-library-python-$PYTHON_PACKAGE_VERSION-$ARCH.tar" \ | ||
--arch "$ARCH" \ | ||
--os "linux" \ | ||
$BUILD_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile --no-annotate --resolver=backtracking .riot/requirements/1b90fc9.in | ||
# | ||
attrs==23.2.0 | ||
coverage[toml]==7.5.0 | ||
exceptiongroup==1.2.1 | ||
gevent==24.2.1 | ||
greenlet==3.0.3 | ||
hypothesis==6.45.0 | ||
iniconfig==2.0.0 | ||
mock==5.1.0 | ||
msgpack==1.0.8 | ||
opentracing==2.4.0 | ||
packaging==24.0 | ||
pluggy==1.5.0 | ||
pytest==8.2.0 | ||
pytest-cov==5.0.0 | ||
pytest-mock==3.14.0 | ||
pytest-randomly==3.15.0 | ||
sortedcontainers==2.4.0 | ||
tomli==2.0.1 | ||
zope-event==5.0 | ||
zope-interface==6.3 | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.