From b3d2305f9de8ec53b7c9f9832b613b93d1a48c62 Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Sun, 26 Dec 2021 22:29:26 +0000 Subject: [PATCH] burble.dn42 customizations --- .drone.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ .gitignore | 6 +++++- README.md | 3 +++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1a3236d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,54 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: build + image: golang + environment: + CGO_ENABLED: 0 + commands: + - go build + + - name: upload + image: plugins/s3 + settings: + bucket: artifacts + access_key: + from_secret: MINIO_ACCESS_KEY + secret_key: + from_secret: MINIO_SECRET_KEY + endpoint: https://minio.burble.dn42 + region: uk-lon3 + path_style: true + source: pndpd + target: /pndpd/${DRONE_BRANCH} + + - name: upload + image: plugins/s3 + settings: + bucket: artifacts + access_key: + from_secret: MINIO_ACCESS_KEY + secret_key: + from_secret: MINIO_SECRET_KEY + endpoint: https://minio.burble.dn42 + region: uk-lon3 + path_style: true + source: pndpd.service + target: /pndpd/${DRONE_BRANCH} + +--- +kind: secret +name: MINIO_ACCESS_KEY +get: + path: burble.dn42/kv/data/drone/minio + name: ACCESS_KEY + +--- +kind: secret +name: MINIO_SECRET_KEY +get: + path: burble.dn42/kv/data/drone/minio + name: SECRET_KEY diff --git a/.gitignore b/.gitignore index f12ba57..08e0bf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ *.iml .idea -bin/ \ No newline at end of file + +bin/ + +*~ +pndpd diff --git a/README.md b/README.md index be09e71..9cb0d6e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # PNDPD - NDP Responder + Proxy + +[![Build Status](https://ci.burble.dn42/api/badges/mirrors/Pndpd/status.svg?ref=refs/heads/burble.dn42)](https://ci.burble.dn42/mirrors/Pndpd) + ## Features - **Efficiently** process incoming packets using bpf (which runs in the kernel) - Respond to all NDP solicitations on an interface