From 5822191010f8c039a4c5004f35b6521344996749 Mon Sep 17 00:00:00 2001 From: Guillermo Sanchez Gavier Date: Thu, 28 Dec 2023 17:36:03 +0100 Subject: [PATCH] improve docs --- Makefile | 3 ++- README.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6da2c31a..e02dc0b3 100644 --- a/Makefile +++ b/Makefile @@ -31,12 +31,13 @@ package-%: clean build-% @echo "[ package-$* ]: Packaging exporter..." bash ./scripts/package.sh $(PWD) $* $(GOOS) +ACCOUNT_REGION := Staging test-e2e-%: @echo "[ test-e2e-%$* ]: Running e2e test..." @GOOS=linux make build-$* $(NEWRELIC_E2E) --commit_sha=test-string --retry_attempts=15 --retry_seconds=60 \ --account_id=$(ACCOUNT_ID) --api_key=$(API_KEY) --license_key=$(LICENSE_KEY) \ - --spec_path=$(PWD)/exporters/$*/e2e/e2e_spec.yml --verbose_mode=true + --spec_path=$(PWD)/exporters/$*/e2e/e2e_spec.yml --verbose_mode=true --region=$(ACCOUNT_REGION) OS := $(shell uname -s) ifeq ($(OS), Darwin) diff --git a/README.md b/README.md index c04b5623..e5571ad1 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,6 @@ There are Make targets that help you build and run e2e tests locally: * Compile an integration: ```bash -make fetch-resources- make build- ``` @@ -64,7 +63,8 @@ make build- make test-e2e- \ ACCOUNT_ID= \ API_KEY= \ - LICENSE_KEY= + LICENSE_KEY= \ + ACCOUNT_REGION= ``` ### nri-config-generator