From a53d443519a912fb8ada9dc1bbc9b63761d0b3ef Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Tue, 15 Aug 2023 15:08:19 +0100 Subject: [PATCH] Add CI badges to front page (#22) * Add CI badges to front page * Check if it's "us broken" or "them broken" * Fix as per CI results: we'll have to try this every now and then * Prepare for 1.0.4 --- Dockerfile | 4 ++-- README.md | 7 ++++++- VERSION | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99ceb6b..8aea416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM graphiteapp/graphite-statsd:1.1.10-4 -ARG VSN=1.0.3 +ARG VSN=1.0.4 WORKDIR /etc/service/dogstatsd-2-statsd # Read /entrypoint to understand why we use run and /etc/service RUN set -ex \ && sed -i 's/8125/8135/g' /opt/statsd/config/udp.js \ - && apk add --no-cache npm=8.1.3-r0 git=2.34.7-r0 \ + && apk add --no-cache npm=8.1.3-r0 git=2.34.8-r0 \ && git clone --depth 1 --branch $VSN https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd.git . \ && npm install --omit=dev \ && printf "#!/bin/bash\n\nexec node index.js" > run \ diff --git a/README.md b/README.md index bccc21a..f5ffcf5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# dogstatsd-2-statsd +# dogstatsd-2-statsd [![Build][build-img]][build] [![Lint][lint-img]][lint] + +[build-img]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/build.yml/badge.svg +[build]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/build.yml +[lint-img]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/lint.yml/badge.svg +[lint]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/lint.yml We implement a very basic translation layer for when you're using Datadog as a remote sink for your metrics but, e.g. locally you're using diff --git a/VERSION b/VERSION index 21e8796..ee90284 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.3 +1.0.4 diff --git a/package-lock.json b/package-lock.json index ba4bd66..2d05ce5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dogstatsd-2-statsd", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dogstatsd-2-statsd", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "devDependencies": { "eslint": "8.35.0", diff --git a/package.json b/package.json index 0cc23c3..bb8223a 100644 --- a/package.json +++ b/package.json @@ -26,5 +26,5 @@ "yaml-lint": "node_modules/.bin/yamllint -c .yaml-lint.yml .github/**/*.yml .*.yml *.yml" }, "type": "module", - "version": "1.0.3" + "version": "1.0.4" }