From 76ec89fd54d51bc4304873d03a3317059971d565 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Fri, 17 May 2024 12:44:35 +0300 Subject: [PATCH] feat(dev-env): track versions of `docker` and `docker-compose` --- src/bin/vip-dev-env-start.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/vip-dev-env-start.js b/src/bin/vip-dev-env-start.js index 94da10981..3ed12493c 100755 --- a/src/bin/vip-dev-env-start.js +++ b/src/bin/vip-dev-env-start.js @@ -46,8 +46,12 @@ command() const startProcessing = new Date(); + const versions = await lando.engine.daemon.getVersions(); const trackingInfo = getEnvTrackingInfo( slug ); trackingInfo.vscode = Boolean( opt.vscode ); + trackingInfo.docker = versions.engine; + trackingInfo.docker_compose = versions.compose; + await trackEvent( 'dev_env_start_command_execute', trackingInfo ); debug( 'Args: ', arg, 'Options: ', opt );