Skip to content

Commit 394522d

Browse files
committed
Makefile: Drop tasks-shell
This is hopelessly outdated and useless. Production does not use that, and local developers just use toolbox or podman-run -- they wouldn't have any of these secrets directories anyway.
1 parent 50d21cc commit 394522d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Makefile

-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
all:
22
@echo "usage: make containers" >&2
3-
@echo " make tasks-shell" >&2
43
@echo " make tasks-container" >&2
54
@echo " make tasks-push" >&2
65
@echo " make check" >&2
@@ -11,23 +10,11 @@ check:
1110

1211
TAG := $(shell date --iso-8601)
1312
TASK_SECRETS := /var/lib/cockpit-secrets/tasks
14-
WEBHOOK_SECRETS := /var/lib/cockpit-secrets/webhook
15-
TASK_CACHE := /var/cache/cockpit-tasks
1613
DOCKER ?= $(shell which podman docker 2>/dev/null | head -n1)
1714

1815
containers: tasks-container
1916
@true
2017

21-
tasks-shell:
22-
$(DOCKER) run -ti --rm \
23-
--shm-size=1024m \
24-
--volume=$(CURDIR)/tasks:/usr/local/bin \
25-
--volume=$(TASK_SECRETS):/run/secrets/tasks/:ro \
26-
--volume=$(WEBHOOK_SECRETS):/run/secrets/webhook/:ro \
27-
--volume=$(TASK_CACHE):/cache:rw \
28-
--entrypoint=/bin/bash \
29-
quay.io/cockpit/tasks -i
30-
3118
tasks-container:
3219
$(DOCKER) build -t quay.io/cockpit/tasks:$(TAG) tasks/container
3320
$(DOCKER) tag quay.io/cockpit/tasks:$(TAG) quay.io/cockpit/tasks:latest

0 commit comments

Comments
 (0)