Skip to content

Commit

Permalink
Fix make ci-clean and runlocal-rp (#3806)
Browse files Browse the repository at this point in the history
* Fix make ci-clean error for running work containers by buildah that prevents prune from working
* Fix make runlocal-rp image syntax
  • Loading branch information
SudoBrendan authored Sep 3, 2024
1 parent efc6952 commit ddff7a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ runlocal-rp: ci-rp podman-secrets
--secret proxy-client.key,target=/app/secrets/proxy-client.key \
--secret proxy-client.crt,target=/app/secrets/proxy-client.crt \
--secret proxy.crt,target=/app/secrets/proxy.crt \
$(LOCAL_ARO_RP_IMAGE):$(VERSION): rp
$(LOCAL_ARO_RP_IMAGE):$(VERSION) rp

.PHONY: runlocal-rp-the-old-way
runlocal-rp-the-old-way:
Expand Down Expand Up @@ -238,6 +238,7 @@ ci-tunnel: fix-macos-vendor

.PHONY: ci-clean
ci-clean:
$(shell podman ps --external --format "{{.Command}} {{.ID}}" | grep buildah | cut -d " " -f 2 | xargs podman rm -f > /dev/null)
podman image prune --all --filter="label=aro-*=true"

# TODO: hard coding dev-config.yaml is clunky; it is also probably convenient to
Expand Down

0 comments on commit ddff7a2

Please sign in to comment.