Skip to content

Conversation

@james-nesbitt
Copy link
Collaborator

@james-nesbitt james-nesbitt commented Jul 8, 2025

  • refactor the regex for interpreting command output as a list of images the regex was overly permissive probably due to golang string simplifications
  • added a test for the MKE387 output which was the trigger for the change
  • some terraform updates for the smoke tests.

@james-nesbitt james-nesbitt requested a review from ekitagawa July 8, 2025 09:13
- refactor the regex for interpreting command output as a list of images
  the regex was overly permissive probably due to golang string simplifications
- added a test for the MKE387 output which was the trigger for the change

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt force-pushed the PRODENG-3066-docker-image-regex-refactor branch from 4a456bc to b96fa80 Compare July 8, 2025 09:16
@james-nesbitt
Copy link
Collaborator Author

smoke test failure looks unrelated, but rather an issue with the TF init call. I will see if i can reproduce locally.

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@ekitagawa
Copy link

It's working on my test env. LGTM!

�[37mDEBU�[0m [ssh] 3.141.196.124:22: executing `/usr/bin/docker run -i -v /var/run/docker.sock:/var/run/docker.sock --rm docker.io/mirantis/ucp:3.8.6 images --list --debug` 
�[36mINFO�[0m MKE images: Skipping compatible engine version check for --force-engine-minimum 
mirantis/ucp-agent:3.8.6
mirantis/ucp-alertmanager:3.8.6
mirantis/ucp-auth-store:3.8.6```

Copy link

@ekitagawa ekitagawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@james-nesbitt james-nesbitt marked this pull request as ready for review July 9, 2025 08:01
@james-nesbitt james-nesbitt merged commit 2ebbed1 into main Jul 9, 2025
8 checks passed
@james-nesbitt james-nesbitt deleted the PRODENG-3066-docker-image-regex-refactor branch July 9, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants