Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (42 loc) · 2.85 KB
/
Copy pathMakefile
File metadata and controls
58 lines (42 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-include .env
export
USER_UID ?= $(shell id -u)
USER_GID ?= $(shell id -g)
opencode-down: ## stop and remove opencode container
docker/compose-with-plugins.sh down --remove-orphans
opencode-build: opencode-down ## build opencode container
docker/compose-with-plugins.sh build --no-cache
opencode-build-plugins: opencode-down ## build with plugins from .env (PLUGINS=<name>,<name>)
@bash docker/build-plugins.sh
test-compose: ## check compose.override.yml.dist loads with and without the kanban plugin
docker/test-compose-plugins.sh
opencode-run: opencode-down ## run opencode container
docker/compose-with-plugins.sh up -d --wait opencode
@echo ' ▄ '
@echo ' █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█'
@echo ' █ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀'
@echo ' ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀'
@echo ' '
@echo ' Local access: http://localhost:4096 (user: opencode, password: OPENCODE_SERVER_PASSWORD from .env)'
kanban-poller-run: ## start the kanban poller (needs the kanban plugin in PLUGINS)
docker/compose-with-plugins.sh --profile kanban-poller up -d kanban-poller
kanban-poller-logs: ## follow the kanban poller logs
docker/compose-with-plugins.sh --profile kanban-poller logs -f kanban-poller
kanban-poller-down: ## stop and remove the kanban poller
docker/compose-with-plugins.sh --profile kanban-poller stop kanban-poller
docker/compose-with-plugins.sh --profile kanban-poller rm -f kanban-poller
kanban-poller-once: ## run a single kanban poller pass, performing real actions
docker/compose-with-plugins.sh --profile kanban-poller run --rm kanban-poller --once
kanban-poller-dry-run: ## run a single kanban poller pass without writes or agent runs
docker/compose-with-plugins.sh --profile kanban-poller run --rm kanban-poller --once --dry-run
mention-poller-run: ## start the mention poller (needs the mention plugin in PLUGINS)
docker/compose-with-plugins.sh --profile mention-poller up -d mention-poller
mention-poller-logs: ## follow the mention poller logs
docker/compose-with-plugins.sh --profile mention-poller logs -f mention-poller
mention-poller-down: ## stop and remove the mention poller
docker/compose-with-plugins.sh --profile mention-poller stop mention-poller
docker/compose-with-plugins.sh --profile mention-poller rm -f mention-poller
mention-poller-once: ## run a single mention poller pass, performing real actions
docker/compose-with-plugins.sh --profile mention-poller run --rm mention-poller --once
mention-poller-dry-run: ## run a single mention poller pass without writes or agent runs
docker/compose-with-plugins.sh --profile mention-poller run --rm mention-poller --once --dry-run