-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into pawel/nix_fmt
- Loading branch information
Showing
1,779 changed files
with
102,089 additions
and
37,822 deletions.
There are no files selected for viewing
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,11 @@ | ||
# default behavior for line endings in text files | ||
* text=auto | ||
|
||
# Set line endings in *.sh files to LF, even on Windows. | ||
# Otherwise, execution within Docker fails on a Windos host. | ||
# See https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings | ||
*.sh text eol=lf | ||
|
||
# Stop hiding directories called "build" in the github file search | ||
# https://docs.github.com/en/search-github/searching-on-github/finding-files-on-github#customizing-excluded-files | ||
build/** linguist-generated=false |
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 |
---|---|---|
@@ -1,22 +1,32 @@ | ||
* @DataDog/system-tests-core | ||
|
||
/utils/build/docker/cpp/ @DataDog/dd-trace-cpp @DataDog/system-tests-core | ||
/utils/build/docker/dotnet*/ @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core | ||
/utils/build/docker/golang*/ @DataDog/apm-go @DataDog/system-tests-core | ||
/utils/build/docker/golang*/ @DataDog/dd-trace-go-guild @DataDog/system-tests-core | ||
/utils/build/docker/java*/ @DataDog/apm-java @DataDog/asm-java @DataDog/system-tests-core | ||
/utils/build/docker/java_otel/ @DataDog/opentelemetry @DataDog/system-tests-core | ||
/utils/build/docker/nodejs*/ @DataDog/apm-js @DataDog/asm-js @DataDog/system-tests-core | ||
/utils/build/docker/php*/ @DataDog/apm-php @DataDog/system-tests-core | ||
/utils/build/docker/python*/ @DataDog/apm-python @DataDog/asm-python @DataDog/system-tests-core | ||
/utils/build/docker/ruby*/ @DataDog/apm-ruby @DataDog/asm-ruby @DataDog/system-tests-core | ||
/parametric/ @Kyle-Verhoog @DataDog/system-tests-core | ||
/tests/parametric/ @Kyle-Verhoog @DataDog/system-tests-core | ||
/utils/build/docker/ruby*/ @DataDog/ruby-guild @DataDog/asm-ruby @DataDog/system-tests-core | ||
|
||
/tests/parametric/ @mabdinur @DataDog/system-tests-core @DataDog/apm-sdk-api | ||
/tests/otel_tracing_e2e/ @DataDog/opentelemetry @DataDog/system-tests-core | ||
/tests/remote_config/ @DataDog/system-tests-core @DataDog/remote-config @DataDog/system-tests-core | ||
/tests/remote_config/ @DataDog/remote-config @DataDog/system-tests-core | ||
/tests/appsec/ @DataDog/asm-libraries @DataDog/system-tests-core | ||
/manifests/cpp.yml @DataDog/system-tests-core | ||
/manifests/dotnet.yml @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core | ||
/manifests/golang.yml @DataDog/dd-trace-go-guild @DataDog/system-tests-core | ||
/manifests/java.yml @DataDog/asm-java @DataDog/apm-java @DataDog/system-tests-core | ||
/manifests/nodejs.yml @DataDog/apm-js @DataDog/asm-js @DataDog/system-tests-core | ||
/manifests/php.yml @DataDog/apm-php @DataDog/asm-php @DataDog/system-tests-core | ||
/manifests/python.yml @DataDog/apm-python @DataDog/asm-python @DataDog/system-tests-core | ||
/manifests/ruby.yml @DataDog/apm-ruby @DataDog/asm-ruby @DataDog/system-tests-core | ||
/tests/debugger/ @DataDog/debugger @DataDog/system-tests-core | ||
/tests/telemetry_intake/ @DataDog/apm-sdk-api @DataDog/system-tests-core | ||
/tests/test_telemetry.py @DataDog/libdatadog-telemetry @DataDog/apm-sdk-api @DataDog/system-tests-core | ||
/tests/serverless @DataDog/serverless @DataDog/system-tests-core | ||
|
||
/manifests/cpp.yml @DataDog/dd-trace-cpp | ||
/manifests/dotnet.yml @DataDog/apm-dotnet @DataDog/asm-dotnet | ||
/manifests/golang.yml @DataDog/dd-trace-go-guild | ||
/manifests/java.yml @DataDog/asm-java @DataDog/apm-java | ||
/manifests/nodejs.yml @DataDog/apm-js @DataDog/asm-js | ||
/manifests/php.yml @DataDog/apm-php @DataDog/asm-php | ||
/manifests/python.yml @DataDog/apm-python @DataDog/asm-python | ||
/manifests/ruby.yml @DataDog/ruby-guild @DataDog/asm-ruby | ||
|
||
# Allows everyone to easily make changes | ||
/tests/telemetry_intake/static/ @DataDog/apm-ecosystems |
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 |
---|---|---|
@@ -1,51 +1,62 @@ | ||
name: "Pull docker images" | ||
description: "Pull docker images" | ||
inputs: | ||
pull-all: | ||
description: "True to pull all images required for all scenarios" | ||
library: | ||
description: "Which library will be tested (python, cpp, java, ...)" | ||
required: true | ||
default: "false" | ||
weblog: | ||
description: "Which weblog will be tested" | ||
required: true | ||
scenarios: | ||
description: "JSON array of scenarios that will be executed" | ||
required: true | ||
cleanup: | ||
description: "Whether to cleanup the disk to free up more space. Should be disabled when a larger machine can be used instead." | ||
required: false | ||
default: "true" | ||
dockerhub_username: | ||
description: "To prevent reaching docker hub API limits, provide a username and token to login to docker hub" | ||
required: false | ||
default: "" | ||
dockerhub_token: | ||
description: "To prevent reaching docker hub API limits, provide a username and token to login to docker hub" | ||
required: false | ||
default: "" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Let's free some place | ||
- name: Free some place for scenarios known to require lot of images | ||
if: ${{ (inputs.cleanup == 'true') && (contains(inputs.scenarios, '"INTEGRATIONS"') || contains(inputs.scenarios, '"CROSSED_TRACING_LIBRARIES"')) }} | ||
shell: bash | ||
run: | | ||
if [[ "${{ inputs.pull-all }}" == "true" ]]; then | ||
df -h | ||
df -h | ||
echo "Removing docker images, dotnet, android, ghc, and CodeQL cache to free space" | ||
echo "Removing docker images, dotnet, android, ghc, and CodeQL cache to free space" | ||
sudo rm -rf /usr/local/lib/android # 9Gb! | ||
sudo rm -rf /opt/hostedtoolcache/CodeQL # 5Gb ! | ||
sudo rm -rf /usr/share/dotnet # 1Gb | ||
sudo rm -rf /usr/local/lib/android # 9Gb! | ||
sudo rm -rf /opt/hostedtoolcache/CodeQL # 5Gb ! | ||
sudo rm -rf /usr/share/dotnet # 1Gb | ||
# sudo docker image prune --all --force # if ever needed, but it's slow. Only 3Gb | ||
# sudo docker image prune --all --force # if ever needed, but it's slow. Only 3Gb | ||
df -h | ||
fi | ||
df -h | ||
- name: Pull images needed for default scenario | ||
- name: Get image list | ||
shell: bash | ||
run: | | ||
docker pull datadog/system-tests:proxy-v1 || true | ||
docker pull postgres:latest | ||
- name: Pull images needed for all scenarios | ||
source venv/bin/activate | ||
python utils/scripts/get-image-list.py ${{ inputs.library }} ${{ inputs.weblog }} '${{ inputs.scenarios }}' > compose.yaml | ||
env: | ||
PYTHONPATH: "." | ||
|
||
- name: Login to Docker Hub | ||
if: inputs.dockerhub_username != '' && inputs.dockerhub_token != '' | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ inputs.dockerhub_username }} | ||
password: ${{ inputs.dockerhub_token }} | ||
|
||
- name: Pull | ||
shell: bash | ||
run: | | ||
if [[ "${{ inputs.pull-all }}" == "true" ]]; then | ||
docker pull mongo:latest | ||
docker pull bitnami/kafka:3.1 | ||
docker pull bitnami/zookeeper:latest | ||
docker pull cassandra:latest | ||
docker pull rabbitmq:3-management-alpine | ||
docker pull mysql/mysql-server:latest | ||
docker pull mcr.microsoft.com/mssql/server:latest | ||
docker pull mcr.microsoft.com/azure-sql-edge:latest | ||
docker pull softwaremill/elasticmq:latest | ||
docker pull datadog/system-tests:python_buddy-v0 | ||
docker pull datadog/system-tests:nodejs_buddy-v0 | ||
docker pull datadog/system-tests:java_buddy-v0 | ||
docker pull datadog/system-tests:ruby_buddy-v0 | ||
docker pull datadog/system-tests:golang_buddy-v0 | ||
fi | ||
run: docker compose pull |
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
Oops, something went wrong.