Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement MergeFleetPolicy for nodetreemodel #31961

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

dustmop
Copy link
Contributor

@dustmop dustmop commented Dec 10, 2024

What does this PR do?

Implement the MergeFleetPolicy method. It reuses the readConfigurationFile method, but with its own source layer, and then merges the result into the config tree.

Motivation

Remove our dependency on viper.

Describe how you validated your changes

Functionality covered by a unit test, which matches the test for the previous viper method.

Possible Drawbacks / Trade-offs

Additional Notes

@dustmop dustmop added changelog/no-changelog [deprecated] team/agent-shared-components Deprecated. Use team/agent-configuration or team/agent-runtimes labels instead. qa/done QA done before merge and regressions are covered by tests labels Dec 10, 2024
@dustmop dustmop added this to the 7.62.0 milestone Dec 10, 2024
@dustmop dustmop requested a review from a team as a code owner December 10, 2024 12:58
@dustmop dustmop requested a review from Kaderinho December 10, 2024 12:58
@github-actions github-actions bot added the short review PR is simple enough to be reviewed quickly label Dec 10, 2024
@dustmop dustmop requested review from hush-hush and removed request for Kaderinho December 10, 2024 13:03
@dustmop dustmop requested a review from a team as a code owner December 10, 2024 13:06
@github-actions github-actions bot added medium review PR review might take time and removed short review PR is simple enough to be reviewed quickly labels Dec 10, 2024
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 10, 2024

Package size comparison

Comparison with ancestor bcfd6abb95c101caf619f5b2290a27b489ab3056

Diff per package
package diff status size ancestor threshold
datadog-agent-amd64-deb -0.00MB 1270.67MB 1270.67MB 140.00MB
datadog-iot-agent-amd64-deb -0.00MB 113.19MB 113.20MB 10.00MB
datadog-dogstatsd-amd64-deb 0.00MB 78.32MB 78.32MB 10.00MB
datadog-heroku-agent-amd64-deb 0.00MB 526.45MB 526.45MB 70.00MB
datadog-agent-x86_64-rpm -0.00MB 1279.90MB 1279.91MB 140.00MB
datadog-agent-x86_64-suse -0.00MB 1279.90MB 1279.91MB 140.00MB
datadog-iot-agent-x86_64-rpm -0.00MB 113.26MB 113.26MB 10.00MB
datadog-iot-agent-x86_64-suse -0.00MB 113.26MB 113.26MB 10.00MB
datadog-dogstatsd-x86_64-rpm -0.00MB 78.40MB 78.40MB 10.00MB
datadog-dogstatsd-x86_64-suse -0.00MB 78.40MB 78.40MB 10.00MB
datadog-agent-arm64-deb 0.00MB 1004.85MB 1004.85MB 140.00MB
datadog-iot-agent-arm64-deb 0.00MB 108.67MB 108.67MB 10.00MB
datadog-dogstatsd-arm64-deb -0.00MB 55.59MB 55.59MB 10.00MB
datadog-agent-aarch64-rpm 0.00MB ⚠️ 1014.06MB 1014.06MB 140.00MB
datadog-iot-agent-aarch64-rpm -0.00MB 108.74MB 108.74MB 10.00MB

Decision

⚠️ Warning

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 10, 2024

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv aws.create-vm --pipeline-id=50702362 --os-family=ubuntu

Note: This applies to commit 6e52c8f

@dustmop
Copy link
Contributor Author

dustmop commented Dec 12, 2024

/merge

@dd-devflow
Copy link

dd-devflow bot commented Dec 12, 2024

Devflow running: /merge

View all feedbacks in Devflow UI.


2024-12-12 13:20:52 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 27m.


2024-12-12 13:45:06 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 9e01e49 into main Dec 12, 2024
220 checks passed
@dd-mergequeue dd-mergequeue bot deleted the dustin.long/merge-fleet-policy branch December 12, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog [deprecated] team/agent-shared-components Deprecated. Use team/agent-configuration or team/agent-runtimes labels instead. medium review PR review might take time qa/done QA done before merge and regressions are covered by tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants