From a2b42e4e4681c28c0acda4badfd58cd0ec80337f Mon Sep 17 00:00:00 2001 From: ssube Date: Tue, 25 Jun 2019 07:59:38 -0500 Subject: [PATCH] docs: fix docker examples, add warnings to log output --- .codeclimate.yml | 20 ++++++++++++++++++++ README.md | 2 +- docs/config-docker.yml | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..77da81d --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,20 @@ +version: "2" + +exclude_patterns: + - docs/dev/style.md + - src/migration/ + - vendor/ + +plugins: + duplication: + enabled: true + config: + languages: + typescript: + mass_threshold: 225 # avoid increasing, increments of 5 + fixme: + enabled: true + markdownlint: + enabled: true + shellcheck: + enabled: true diff --git a/README.md b/README.md index e8f5245..fa80fa0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ defaults, and other magic. ## Usage -To run with Docker (**recommended**): `docker run -v ${HOME}:/root:ro --rm -i ssube/salty-dog:master` +To run with Docker (**recommended**): `docker run --rm ssube/salty-dog:master` To download, validate, and apply a Kubernetes resource: diff --git a/docs/config-docker.yml b/docs/config-docker.yml index d54377e..301c126 100644 --- a/docs/config-docker.yml +++ b/docs/config-docker.yml @@ -3,5 +3,7 @@ data: level: info name: salty-dog streams: + - level: warn + path: !stream stderr - level: info path: /tmp/salty-dog.log