Skip to content

[pull] master from DataDog:master#52

Merged
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master
Aug 5, 2025
Merged

[pull] master from DataDog:master#52
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master

Conversation

@pull

@pull pull Bot commented Aug 5, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

NouemanKHAL and others added 3 commits August 5, 2025 14:57
* vendor gstatus

* fix mocks

* fix unit tests and mocks

* remove gstatus from Dockerfile

* add CheckVMLogs helper

* add support for vm_run context manager

* test with glusterfs integration

* cleanup CheckVMLogs implementation

* WIP: working VM setup + agent install , working ddev env agent commands

* working check command and config mounting

* add support for vagrant in env_type in the plugin README

* fix glusterfs init config

* add gluster volumes -> E2E tests passing

* fix glusterfs version to 7

* revert plugin/pytest.py single quote -> double quote changes

* remove unnecessary formatting file changes

* clean README changes

* add comment for CheckVMLogs condition

* remove quote -> double quotes changes

* conftest cleanup

* add support for custom agent build via pipeline-id

* wip: fix pip install command for local package

* working --dev flag for local package installation

* fix agent_env_vars keyword name and cleanup code

* add support for custom memory and cpus for the vagrant VM

* fix exporting env vars + fix vm cpus and memory fields error

* add env metadata key

* small cleanup

* refactor + fix dd_hostname handling

* more cleanup + fix agent restart cmd + use jinja for VagrantFile template

* remove checkVMLogs unused conditions

* revert deleting the conditions.py file, only delete the new CheckVMLogs function

* lint

* fix version number committed by accident

* wip

* fix --dev local package installation, fix agent service restart, remove exception LOL from check.py for testing, fix linting, fix e2e test

* fix sudeoers config interface, fix sudoers bug in format and file name, fix glusterfs monkey patching, fix linting

* lint

* ddev dep freeze

* add paramiko dependency to ddev

* SKIP E2E tests on CI for glusterfs

* fix SKIP E2E tests on CI for glusterfs

* one more attempt to skip e2e tests on CI

* skip env provisioning when agent_type is vagrant on CI for the start command

* fix running_on_ci check

* remove paramiko

* add support for %HOST% template var and fix post_install_commands

* always install glusterfs 11.1

* address review comments + refactor

* delete test_version_metadata from the e2e test

* improve logging, fix lint, fix commands output, use self.platform subprocess functions

* more refactoring and code cleanup, and logs improvements

* refactor start method into smaller methods + cleanup

* update AgentInterface to pass Application instead of Platform, and use application global logging system instead of logging library

* remove unnecessary logging when raising exception

* add VM hostname prefix to run_command debug logging

* add validation and proper error message around agent_build format

* fix env reload command to only restart the agent service, not the entire VM, remove hash diff logic and provision flag

* remove unused _show_logs method, and fix stderr logging level to be error

* fix redundant log message of vagrant file generation, fix vagrant file initializing logic

* use ddev storage_dir to store the vagrant file

* fix exported_env_vars and propagate the right ddev config API keys

* add test_vagrant.py + FIX windows bugs

* improve test names

* use %HOST% variable in glusterfs start_commands

* improve logging messages

* Apply suggestions from code review

Co-authored-by: dkirov-dd <166512750+dkirov-dd@users.noreply.github.com>

* fix type hints

* remove unused constants

* nit

* apply suggestion to parametrize OS specific unit tests

* fix installing local packages on windows -> fix pip command

* remove glusterfs changes from this branch

* remove more glusterfs changes

* ddev lint

* changelog

* Add Vagrant section in developer docs Test Framework

* fix vagrant link

* revert dcd changes

* remove dcd changes

* remove get_id definition from VagrantAgent

* move re import to the top

* remove halt vm and destroy vm vars

* addressing review: oneliner guest_cmds and remove interactive bool from format command

* addressing review: small code improvement

* addressing review: add a comment about not using pathlib

* adressing review: move variable closer to where its used

* adressing review: remove redundant variables

* remove unused template variable for dd_api_key

* remove unnecessary comments and unsued param

---------

Co-authored-by: dkirov-dd <166512750+dkirov-dd@users.noreply.github.com>
* Make config publically available

* Changelog
@pull pull Bot locked and limited conversation to collaborators Aug 5, 2025
@pull pull Bot added the ⤵️ pull label Aug 5, 2025
@pull pull Bot merged commit d033366 into ConnectionMaster:master Aug 5, 2025
1 check passed
@pull pull Bot had a problem deploying to typo-squatting-release August 6, 2025 04:05 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants