Skip to content

Commit

Permalink
Merge branch 'main' of github.com:DataDog/datadog-agent into kfairise…
Browse files Browse the repository at this point in the history
…/post-process-e2e-logs
  • Loading branch information
KevinFairise2 committed Dec 10, 2024
2 parents 596cffb + 8d89378 commit 596c242
Show file tree
Hide file tree
Showing 962 changed files with 11,721 additions and 16,624 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ experimental:
templates:
job_template: &job_template
docker:
- image: gcr.io/datadoghq/agent-circleci-runner:v50094600-7b86dd80
- image: gcr.io/datadoghq/agent-circleci-runner:v50263243-1a30c934
environment:
USE_SYSTEM_LIBS: "1"
working_directory: /go/src/github.com/DataDog/datadog-agent
Expand Down
2 changes: 1 addition & 1 deletion .custom-gcl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v1.59.1
version: v1.60.3

name: golangci-lint

Expand Down
47 changes: 23 additions & 24 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ go.sum -diff -merge linguist-generated=true
pkg/security/probe/constantfetch/btfhub/constants.json -diff -merge linguist-generated=true
pkg/security/seclwin/** -diff -merge linguist-generated=true
# Fixtures should have LF line endings because they are checked against OCI packages built on Linux
pkg/fleet/internal/fixtures/** text=auto eol=lf
pkg/fleet/installer/fixtures/** text=auto eol=lf

# Fix `git diff` when running on the below file formats.
# Our windows build image uses MinGit which tries to use the astextplain diff algorithm (https://git-scm.com/docs/gitattributes#_setting_the_internal_diff_algorithm).
Expand All @@ -27,26 +27,25 @@ pkg/fleet/internal/fixtures/** text=auto eol=lf
# textconv = astextplain
# ```


*.doc diff
*.DOC diff
*.docx diff
*.DOCX diff
*.docm diff
*.DOCM diff
*.dot diff
*.DOT diff
*.dotx diff
*.DOTX diff
*.dotm diff
*.DOTM diff
*.pdf diff
*.PDF diff
*.rtf diff
*.RTF diff
*.ods diff
*.ODS diff
*.odf diff
*.ODF diff
*.odt diff
*.ODT diff
*.doc diff
*.DOC diff
*.docx diff
*.DOCX diff
*.docm diff
*.DOCM diff
*.dot diff
*.DOT diff
*.dotx diff
*.DOTX diff
*.dotm diff
*.DOTM diff
*.pdf diff
*.PDF diff
*.rtf diff
*.RTF diff
*.ods diff
*.ODS diff
*.odf diff
*.ODF diff
*.odt diff
*.ODT diff
35 changes: 13 additions & 22 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/CHANGELOG.rst @DataDog/agent-delivery
/CHANGELOG-DCA.rst @DataDog/container-integrations @DataDog/container-platform
/CHANGELOG-INSTALLSCRIPT.rst @DataDog/agent-delivery
/CHANGELOG-INSTALLSCRIPT.rst @DataDog/agent-delivery @DataDog/container-ecosystems

/*.md @DataDog/agent-devx-infra @DataDog/documentation
/NOTICE @DataDog/agent-delivery @DataDog/documentation
Expand All @@ -45,6 +45,8 @@
/static-analysis.datadog.yml @DataDog/software-integrity-and-trust @DataDog/agent-devx-infra

/modules.yml @DataDog/agent-shared-components
# if go.work changes then either .go-version or modules.yml changed too, so ASC might as well own it
/go.work @DataDog/agent-shared-components

/.circleci/ @DataDog/agent-devx-infra

Expand Down Expand Up @@ -73,7 +75,8 @@
/.gitlab/deploy*/* @DataDog/agent-delivery
/.gitlab/deps_fetch/* @DataDog/agent-devx-infra
/.gitlab/e2e/* @DataDog/agent-devx-infra @DataDog/agent-devx-loops
/.gitlab/e2e_install_packages/* @DataDog/agent-delivery
/.gitlab/e2e_testing_deploy/* @DataDog/agent-devx-loops @DataDog/agent-devx-infra
/.gitlab/e2e_install_packages/* @DataDog/agent-delivery @DataDog/container-ecosystems
/.gitlab/e2e_pre_test/* @DataDog/agent-devx-infra @DataDog/agent-devx-loops
/.gitlab/kernel_matrix_testing/* @DataDog/agent-devx-infra @DataDog/ebpf-platform
/.gitlab/lint/* @DataDog/agent-devx-infra
Expand All @@ -88,8 +91,7 @@
/.gitlab/binary_build/include.yml @DataDog/agent-devx-infra
/.gitlab/binary_build/linux.yml @DataDog/agent-devx-infra @DataDog/agent-delivery
/.gitlab/functional_test/include.yml @DataDog/agent-devx-infra
/.gitlab/functional_test_cleanup/functional_test_cleanup.yml @DataDog/agent-devx-infra @DataDog/agent-security
/.gitlab/install_script_testing/install_script_testing.yml @DataDog/agent-delivery
/.gitlab/install_script_testing/install_script_testing.yml @DataDog/agent-delivery @DataDog/container-ecosystems
/.gitlab/integration_test/dogstatsd.yml @DataDog/agent-devx-infra @DataDog/agent-metrics-logs
/.gitlab/integration_test/include.yml @DataDog/agent-devx-infra
/.gitlab/integration_test/linux.yml @DataDog/agent-devx-infra
Expand Down Expand Up @@ -129,20 +131,16 @@

/.gitlab/deps_build/ @DataDog/ebpf-platform @DataDog/agent-delivery @DataDog/windows-agent

/.gitlab/kitchen_* @DataDog/container-ecosystems @DataDog/agent-delivery
/.gitlab/kitchen_testing/windows.yml @DataDog/container-ecosystems @DataDog/agent-delivery @DataDog/windows-agent
/.gitlab/e2e_install_packages/windows.yml @DataDog/container-ecosystems @DataDog/agent-delivery @DataDog/windows-agent
/.gitlab/e2e_install_packages/windows.yml @DataDog/agent-delivery @DataDog/container-ecosystems @DataDog/windows-agent

/.gitlab/common/ @DataDog/agent-devx-infra
/.gitlab/common/test_infra_version.yml @DataDog/agent-devx-loops @DataDog/agent-devx-infra

/.gitlab/e2e/e2e.yml @DataDog/container-integrations @DataDog/agent-devx-loops
/.gitlab/e2e_install_packages @DataDog/container-ecosystems @DataDog/agent-delivery
/.gitlab/container_build/fakeintake.yml @DataDog/agent-e2e-testing @DataDog/agent-devx-loops
/.gitlab/binary_build/fakeintake.yml @DataDog/agent-e2e-testing @DataDog/agent-devx-loops

/.gitlab/functional_test/serverless.yml @DataDog/serverless @Datadog/serverless-aws @DataDog/agent-devx-infra
/.gitlab/functional_test_cleanup @DataDog/agent-security @DataDog/windows-kernel-integrations @DataDog/agent-devx-infra
/.gitlab/functional_test/oracle.yml @DataDog/agent-devx-infra @DataDog/database-monitoring

/.gitlab/powershell_script_deploy @DataDog/agent-delivery @DataDog/windows-agent
Expand Down Expand Up @@ -241,6 +239,7 @@
/cmd/systray/ @DataDog/windows-agent
/cmd/security-agent/ @DataDog/agent-security
/cmd/installer/ @DataDog/fleet @DataDog/windows-agent
/cmd/installer-downloader/ @DataDog/fleet

/dev/ @DataDog/agent-devx-loops
/devenv/ @DataDog/agent-devx-loops
Expand Down Expand Up @@ -328,6 +327,9 @@
# Additional notification to @iglendd about Agent Telemetry changes for optional approval and governance acknowledgement
/comp/core/agenttelemetry @DataDog/agent-shared-components @iglendd

# trace-agent logging implementation should also notify agent-apm
/comp/core/log/impl-trace @DataDog/agent-apm

# pkg
/pkg/ @DataDog/agent-shared-components
/pkg/api/ @DataDog/agent-shared-components
Expand Down Expand Up @@ -428,7 +430,6 @@
/pkg/flare/*_win.go @Datadog/windows-agent
/pkg/flare/*_windows.go @Datadog/windows-agent
/pkg/flare/*_windows_test.go @Datadog/windows-agent
/pkg/flare/sysprobe @DataDog/Networks @Datadog/windows-agent @DataDog/agent-security @DataDog/universal-service-monitoring @DataDog/ebpf-platform
/pkg/fleet/ @DataDog/fleet @DataDog/windows-agent
/pkg/pidfile/ @DataDog/agent-shared-components
/pkg/persistentcache/ @DataDog/agent-metrics-logs
Expand All @@ -450,6 +451,7 @@
/pkg/util/docker/ @DataDog/container-integrations
/pkg/util/ecs/ @DataDog/container-integrations
/pkg/util/funcs/ @DataDog/ebpf-platform
/pkg/util/gpu/ @DataDog/container-platform
/pkg/util/kernel/ @DataDog/ebpf-platform
/pkg/util/safeelf/ @DataDog/ebpf-platform
/pkg/util/ktime @DataDog/agent-security
Expand Down Expand Up @@ -567,6 +569,7 @@
/tasks/sds.py @DataDog/agent-processing-and-routing
/tasks/systray.py @DataDog/windows-agent
/tasks/winbuildscripts/ @DataDog/windows-agent
/tasks/winbuild.py @DataDog/windows-agent
/tasks/windows_resources.py @DataDog/windows-agent
/tasks/components.py @DataDog/agent-shared-components
/tasks/components_templates @DataDog/agent-shared-components
Expand All @@ -585,18 +588,6 @@
/test/integration/docker/otel_agent_build_tests.py @DataDog/opentelemetry
/test/integration/serverless @DataDog/serverless @Datadog/serverless-aws
/test/integration/serverless_perf @DataDog/serverless @Datadog/serverless-aws
/test/kitchen/ @DataDog/agent-devx-loops
/test/kitchen/test-definitions/ @DataDog/container-ecosystems @DataDog/agent-delivery
/test/kitchen/test/integration/ @DataDog/container-ecosystems @DataDog/agent-delivery
/test/kitchen/site-cookbooks/dd-system-probe-check/ @DataDog/windows-kernel-integrations
/test/kitchen/test/integration/win-all-subservices/ @DataDog/windows-agent
/test/kitchen/test/integration/win-alt-dir/ @DataDog/windows-agent
/test/kitchen/test/integration/win-install-fail/ @DataDog/windows-agent
/test/kitchen/test/integration/win-installopts/ @DataDog/windows-agent
/test/kitchen/test/integration/win-no-subservices/ @DataDog/windows-agent
/test/kitchen/test/integration/win-sysprobe-test/ @DataDog/windows-kernel-integrations
/test/kitchen/test/integration/win-repair/ @DataDog/windows-agent
/test/kitchen/test/integration/win-user/ @DataDog/windows-agent
/test/fakeintake/ @DataDog/agent-e2e-testing @DataDog/agent-devx-loops
/test/fakeintake/aggregator/ndmflowAggregator.go @DataDog/ndm-integrations
/test/fakeintake/aggregator/ndmflowAggregator_test.go @DataDog/ndm-integrations
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/assign_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: "Assign issue to a team"

on:
issues:
types: [opened, reopened]

jobs:
auto_assign_issue:
runs-on: ubuntu-latest
container:
image: ghcr.io/datadog/agent-issue-auto-assign:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
permissions:
packages: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install dependencies
# Dependencies are installed at runtime. Otherwise it would create a huge image see https://hub.docker.com/r/pytorch/pytorch/tags
run: |
pip install --upgrade pip && pip install --no-compile --no-cache-dir torch transformers invoke codeowners slack-sdk PyGithub python-gitlab semver
- name: Assign issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_API_TOKEN : ${{ secrets.SLACK_DATADOG_AGENT_BOT_TOKEN }}
run: |
inv -e issue.assign-owner -i ${{ github.event.issue.number }}
6 changes: 3 additions & 3 deletions .github/workflows/create_rc_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ jobs:
- name: Checkout release branch
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
ref: ${{ matrix.value }}
fetch-depth: 0
persist-credentials: true

- name: Install python
Expand Down Expand Up @@ -96,8 +94,10 @@ jobs:
- name: Create RC PR
if: ${{ steps.check_for_changes.outputs.CHANGES == 'true'}}
env:
MATRIX: ${{ matrix.value }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch
inv -e release.create-rc --slack-webhook=${{ secrets.AGENT_RELEASE_SYNC_SLACK_WEBHOOK }}
inv -e release.create-rc "$MATRIX" --slack-webhook=${{ secrets.AGENT_RELEASE_SYNC_SLACK_WEBHOOK }}
4 changes: 3 additions & 1 deletion .github/workflows/gohai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
- main
- "[0-9]+.[0-9]+.x"
paths:
- ".github/workflows/gohai.yml"
- "pkg/gohai/**"
pull_request:
paths:
- ".github/workflows/gohai.yml"
- "pkg/gohai/**"

permissions: {}
Expand All @@ -23,7 +25,7 @@ jobs:
[
ubuntu-20.04,
ubuntu-latest,
macos-12,
macos-13,
macos-latest,
windows-2019,
windows-latest,
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/report-merged-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Report Merged PR

on:
pull_request:
branches:
- main
types: [closed]

permissions: {}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/serverless-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'pkg/serverless/**'
- 'test/integration/serverless/**'
- '.github/workflows/serverless-integration.yml'
- 'go.mod'
schedule:
- cron: '0 14 * * *' # cron schedule uses UTC timezone. Run tests at the beginning of the day in US-East

Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.SERVERLESS_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SERVERLESS_AWS_SECRET_ACCESS_KEY }}
GOWORK: off
with:
timeout_minutes: 60
max_attempts: 2
Expand Down
Loading

0 comments on commit 596c242

Please sign in to comment.