@jobmatchme/bee-slack 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,6 +45,60 @@ then launches `bee-slack` against that local stack.
|
|
|
45
45
|
The package is intended for public npm publication from GitHub Actions using npm
|
|
46
46
|
Trusted Publishing via GitHub OIDC.
|
|
47
47
|
|
|
48
|
+
Container images are published to GHCR from GitHub Actions on version tags. The
|
|
49
|
+
image entrypoint expects a mounted JSON config file and runs:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
bee-slack /config/config.json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Container image
|
|
56
|
+
|
|
57
|
+
Build the container locally with:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
docker build -t bee-slack:local .
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Run it with a mounted config file:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
docker run --rm \
|
|
67
|
+
-v "$(pwd)/local.config.json:/config/config.json:ro" \
|
|
68
|
+
bee-slack:local
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Kubernetes
|
|
72
|
+
|
|
73
|
+
A reusable Helm chart is included under
|
|
74
|
+
[`charts/bee-slack`](./charts/bee-slack). The chart supports either:
|
|
75
|
+
|
|
76
|
+
- mounting an existing Secret that contains `config.json`
|
|
77
|
+
- creating the config Secret from values at install time
|
|
78
|
+
|
|
79
|
+
The chart mounts `/workspace` as an ephemeral `emptyDir`. That is enough for
|
|
80
|
+
the local blob store used for Slack attachments and generated artifacts, but
|
|
81
|
+
those files are intentionally not persisted across pod restarts or recreations.
|
|
82
|
+
|
|
83
|
+
Example values files for both secret-handling modes are included under:
|
|
84
|
+
|
|
85
|
+
- [`charts/bee-slack/values-existing-secret.example.yaml`](./charts/bee-slack/values-existing-secret.example.yaml)
|
|
86
|
+
- [`charts/bee-slack/values-inline-config.example.yaml`](./charts/bee-slack/values-inline-config.example.yaml)
|
|
87
|
+
|
|
88
|
+
Example install using an existing Secret:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
helm upgrade --install bee-slack ./charts/bee-slack \
|
|
92
|
+
--namespace ai-agents \
|
|
93
|
+
--create-namespace \
|
|
94
|
+
--set config.existingSecretName=bee-slack-config \
|
|
95
|
+
--set image.repository=ghcr.io/jobmatchme/bee-slack \
|
|
96
|
+
--set image.tag=0.1.4
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
The mounted config file must contain the same structure as
|
|
100
|
+
`local.config.example.json`.
|
|
101
|
+
|
|
48
102
|
## License
|
|
49
103
|
|
|
50
104
|
MIT
|