Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system-probe: tasks: Save all dockers from docker-compose files in the protocols dir #14873

Merged
merged 2 commits into from
Dec 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions tasks/system_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,12 +1227,11 @@ def save_test_dockers(ctx, output_dir, arch, windows=is_windows):
if windows:
return

docker_compose_paths = (
# Add relative docker-compose paths
# For example:
# "./pkg/network/protocols/dockers/testdata/docker-compose.yml",
"./pkg/network/protocols/amqp/testdata/docker-compose.yml",
)
docker_compose_paths = glob.glob("./pkg/network/protocols/*/testdata/docker-compose.yml")
# Add relative docker-compose paths
# For example:
# docker_compose_paths.append("./pkg/network/protocols/dockers/testdata/docker-compose.yml")

images = set()
for docker_compose_path in docker_compose_paths:
with open(docker_compose_path, "r") as f:
Expand Down