CI: streamline packet jobs definition

- Take advantage of `parallel:matrix` to make the jobs definition shorter
  and more readable.
- Remove helper scripts which are no longer needed
- Remove redundant indirection in the gitlab-ci pipelines definitions
  (only one user)
This commit is contained in:
Max Gautier
2025-03-14 12:25:12 +01:00
parent 0f9f9fb569
commit 4f3b214ef5
66 changed files with 113 additions and 246 deletions

View File

@@ -90,7 +90,7 @@ for f in files:
container_manager = y.get('container_manager', 'containerd')
network_plugin = y.get('kube_network_plugin', 'calico')
x = re.match(r"^[a-z-]+_([a-z0-9]+).*", f.name)
operating_system = x.group(1)
x = re.match(r"^([a-z-]+_)?([a-z0-9]+).*", f.name)
operating_system = x.group(2)
data.set(container_manager=container_manager, network_plugin=network_plugin, os=operating_system)
print(data.jinja(), file=open(args.output, 'w'))