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

Fix SPM clearn-all #5677

Closed
wants to merge 15 commits into from
Closed

Conversation

hellspawn679
Copy link
Contributor

Which problem is this PR solving?

  • make clean-all was not working for docker-compose/monitor/Makefile

Description of the changes

  • update docker-compose/monitor/Makefile clean-all

How was this change tested?

Checklist

@hellspawn679 hellspawn679 requested a review from a team as a code owner June 25, 2024 07:09
@hellspawn679 hellspawn679 requested a review from jkowall June 25, 2024 07:09
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.13%. Comparing base (be558df) to head (1b46940).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5677       +/-   ##
===========================================
- Coverage   96.38%   54.13%   -42.25%     
===========================================
  Files         329      163      -166     
  Lines       16060     8412     -7648     
===========================================
- Hits        15479     4554    -10925     
- Misses        404     3414     +3010     
- Partials      177      444      +267     
Flag Coverage Δ
badger_v1 8.04% <ø> (ø)
badger_v2 ?
cassandra-3.x-v1 16.60% <ø> (ø)
cassandra-3.x-v2 1.84% <ø> (ø)
cassandra-4.x-v1 16.60% <ø> (ø)
cassandra-4.x-v2 ?
elasticsearch-7.x-v1 18.87% <ø> (ø)
elasticsearch-8.x-v1 19.08% <ø> (ø)
elasticsearch-8.x-v2 19.08% <ø> (+0.01%) ⬆️
grpc_v1 9.47% <ø> (ø)
grpc_v2 ?
kafka 9.76% <ø> (ø)
opensearch-1.x-v1 18.93% <ø> (+0.01%) ⬆️
opensearch-2.x-v1 18.93% <ø> (ø)
opensearch-2.x-v2 18.93% <ø> (ø)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro
Copy link
Member

what "wasn't working" specifically?

@hellspawn679
Copy link
Contributor Author

what "wasn't working" specifically?

image

@yurishkuro
Copy link
Member

looks fine to me. If you don't have latest tags they obviously cannot be purged, but the command didn't fail.

@hellspawn679
Copy link
Contributor Author

hellspawn679 commented Jun 25, 2024

looks fine to me. If you don't have latest tags they obviously cannot be purged, but the command didn't fail.

so we can add a make command like clean-all-dev to remove docker images for when we use make dev and update the docs

@yurishkuro
Copy link
Member

why do we need to add anything? The command works. Even when there is nothing to remove:

$ make clean-all
# Also cleans up intermediate cached containers.
docker system prune -f
Total reclaimed space: 0B
docker rmi -f jaegertracing/all-in-one:dev ; \
	docker rmi -f jaegertracing/all-in-one:latest ; \
	docker rmi -f otel/opentelemetry-collector-contrib:latest ; \
	docker rmi -f prom/prometheus:latest ; \
	docker rmi -f grafana/grafana:latest
Error response from daemon: No such image: jaegertracing/all-in-one:dev
Error response from daemon: No such image: jaegertracing/all-in-one:latest
Error response from daemon: No such image: otel/opentelemetry-collector-contrib:latest
Error response from daemon: No such image: prom/prometheus:latest
Error response from daemon: No such image: grafana/grafana:latest

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