Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier committed Dec 28, 2023
1 parent 32bceec commit 5822191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ There are Make targets that help you build and run e2e tests locally:

* Compile an integration:
```bash
make fetch-resources-<exporter_name>
make build-<exporter_name>
```

Expand All @@ -64,7 +63,8 @@ make build-<exporter_name>
make test-e2e-<exporter_name> \
ACCOUNT_ID=<NEWRELIC_ACCOUNT_ID> \
API_KEY=<NEWRELIC_API_KEY> \
LICENSE_KEY=<NEWRELIC_LICENSE_KEY>
LICENSE_KEY=<NEWRELIC_LICENSE_KEY> \
ACCOUNT_REGION=<US,EU,Staging>
```

### nri-config-generator
Expand Down

0 comments on commit 5822191

Please sign in to comment.