chore: add e2e lambda fixture#709
Draft
ava-silver wants to merge 1 commit into
Draft
Conversation
10 tasks
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
10 tasks
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ava.silver/chore/add-e2e-shared-helpers #709 +/- ##
========================================================================
Coverage 77.69% 77.69%
========================================================================
Files 12 12
Lines 1112 1112
Branches 350 350
========================================================================
Hits 864 864
Misses 118 118
Partials 130 130 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7488413 to
26daf29
Compare
26daf29 to
0c280ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Adds the Serverless Framework fixture the e2e suite deploys, under
e2e/fixtures/lambda-node/:serverless.yml-- a single Node.js function plus the `serverless-plugin-datadog` config under test (layers + extension + tracing + logs). Everything unique per run (service name, freshness tag, region, keys) is injected via env so the file stays static; `frameworkVersion` and runtime are pinned.handler.js-- a trivial handler that emits one log line per invocation; no tracer setup, since the plugin auto-instruments.package.json-- pins Serverless Framework v3. The plugin itself is installed from a packed tarball at setup time (see #710).Motivation
Infra-only slice of the e2e stack -- the workload the lifecycle test drives through APPLY/REMOVE. Kept separate so it can be eyeballed without the test logic.
Testing Guidelines
Deployed and torn down by the lifecycle test in #710; not exercised on its own.
Additional Notes
Default region is `ap-northeast-3`, overridable via `AWS_REGION`.
Types of changes
Check all that apply