Skip to content

Commit

Permalink
Fix regex for searching Opennebula images
Browse files Browse the repository at this point in the history
  • Loading branch information
Korulag committed May 22, 2024
1 parent 759511e commit 6841c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alts/worker/runners/opennebula.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def find_template_and_image_ids(
templates = self.opennebula_client.templatepool.info(-1, -1, -1, -1)
channels = '|'.join(CONFIG.allowed_channel_names)
regex_str = (
r'(?P<platform_name>\w+(-\w+)?)-(?P<version>\d+.\d+)'
r'(?P<platform_name>\w+(-\w+)?)-(?P<version>\d+(.\d+)?)'
r'-(?P<arch>\w+).*.test_system'
f'(.({channels}))?'
r'.b\d+'
Expand Down

0 comments on commit 6841c31

Please sign in to comment.