From 4162599081b2ae02e4a8b50b82f9a5f5f2adc726 Mon Sep 17 00:00:00 2001 From: Steven Soroka Date: Mon, 16 Mar 2020 19:24:02 -0400 Subject: [PATCH] Remove dep from contribution guidelines (#7180) --- CONTRIBUTING.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 71e2b4520..a9a6eb008 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,30 +30,24 @@ and the accumulator can be found in the GoDoc: **Adding a dependency:** -Assuming you can already build the project, run these in the telegraf directory: +Telegraf uses Go modules. Assuming you can already build the project, run this in the telegraf directory: -1. `dep ensure -vendor-only` -2. `dep ensure -add github.com/[dependency]/[new-package]` +1. `go get github.com/[dependency]/[new-package]` **Unit Tests:** Before opening a pull request you should run the linter checks and the short tests. -**Run static analysis:** - ``` make check -``` - -**Run short tests:** - -``` make test ``` **Execute integration tests:** +(Optional) + Running the integration tests requires several docker containers to be running. You can start the containers with: ```