Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mark synced e2e helpers generated; use dd-auth for local runs
  • Loading branch information
ava-silver committed Jun 18, 2026
commit cacb696ed1fe9278bc0b4f72bce2eb95d49fb2e6
13 changes: 9 additions & 4 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,18 @@ runs in `afterAll` regardless of outcome.

```
cd e2e
cp .env.local.example .env.local # fill in DATADOG_API_KEY / DATADOG_APP_KEY
npm install
aws-vault exec sso-serverless-sandbox-account-admin -- npm test

# Datadog auth: dd-auth mints short-lived keys for the org -- no pasted keys.
dd-auth --domain app.datadoghq.com -- bash -c '
export DATADOG_API_KEY="$DD_API_KEY" DATADOG_APP_KEY="$DD_APP_KEY"
aws-vault exec sso-serverless-sandbox-account-admin -- npm test
'
```

`.env.local` is loaded automatically (real env vars win). Set `SKIP_LAMBDA_TESTS=true`
to skip the suite.
`dd-auth` injects `$DD_API_KEY` / `$DD_APP_KEY` into the wrapped subprocess; the
suite reads them as `DATADOG_API_KEY` / `DATADOG_APP_KEY`. AWS credentials still come
from `aws-vault`. Set `SKIP_LAMBDA_TESTS=true` to skip the suite.

## Configuration

Expand Down
5 changes: 5 additions & 0 deletions e2e/helpers/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Synced from serverless-ci/e2e/shared -- generated by the e2e-shared sync. Collapsed in diffs.
exec.ts linguist-generated=true
lambda-telemetry-checker.ts linguist-generated=true
lambda-verifier.ts linguist-generated=true
naming.ts linguist-generated=true
Loading