You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# make the repo read-only, with the exception of coverage output
185
+
touch coverage.out
186
+
chmod -R a-w .
187
+
chmod u+w coverage.out
184
188
make testcover
189
+
# ignore changes to codecov.yml
190
+
if [[ $(git status --porcelain -- . ":(exclude).github/codecov.yml") ]]; then
191
+
echo "Error: Unit tests should not create or alter files inside the repository. Please use the appropriate testing helpers or otherwise temporary locations."
Copy file name to clipboardExpand all lines: docker/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,7 @@ config.yaml) each time the container is run.
289
289
| __Agent__ | | (these don't work with DISABLE_AGENT) |
290
290
| `TYPE` | | [`Labels.type`](https://docs.crowdsec.net/Crowdsec/v1/references/acquisition/) for file in time-machine: `-e TYPE="<type>"`|
291
291
| `DSN` | | Process a single source in time-machine: `-e DSN="file:///var/log/toto.log"`or `-e DSN="cloudwatch:///your/group/path:stream_name?profile=dev&backlog=16h"` or `-e DSN="journalctl://filters=_SYSTEMD_UNIT=ssh.service"` |
292
+
| `UNREGISTER_ON_EXIT` | | Remove the agent from the LAPI when its container is stopped. |
292
293
| | | |
293
294
| __Bouncers__ | | |
294
295
| `BOUNCER_KEY_<name>` | | Register a bouncer with the name `<name>` and a key equal to the value of the environment variable. |
0 commit comments