Skip to content

feat(ci): automate integration tests#2322

Open
wpessers wants to merge 43 commits into
open-telemetry:mainfrom
wpessers:feat/ci/automate-integration-tests
Open

feat(ci): automate integration tests#2322
wpessers wants to merge 43 commits into
open-telemetry:mainfrom
wpessers:feat/ci/automate-integration-tests

Conversation

@wpessers
Copy link
Copy Markdown
Member

@wpessers wpessers commented May 27, 2026

Automated integration testing

resolves #2079

Description

Currently the PR includes a new GitHub workflow to run integration tests. It can be triggered manually, and also is already triggered automatically on tag pushes for the python layer. For an example of such a run: https://github.com/wpessers/opentelemetry-lambda/actions/runs/26541989902 Here the publish step fails, but that's simply because I don't have the necessary infra in my personal aws account that is being used to test this.

TODO

Some stuff left to do before merging this PR:

  • Refactor tests to one parameterized test (nodejs.test.ts and python.test.ts are nearly identical)
  • Do the one-time cloudformation stack setup in CNCF AWS account
  • Add some documentation for the cloudformation stack setup
  • Add Java integration test
  • Add Ruby integration test
  • Trigger nodejs, java, ruby integration tests on tag push also

@wpessers wpessers requested a review from a team as a code owner May 27, 2026 22:24
wpessers added 25 commits May 28, 2026 00:28
…ine language config type, add type guard for checking language support
…egration test cdk toolkit actions and tighten permissions
…uild layer logic for both release and integration test
@wpessers wpessers force-pushed the feat/ci/automate-integration-tests branch from 02c41e3 to 673e796 Compare May 27, 2026 22:30
@wpessers wpessers added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels May 28, 2026
@wpessers
Copy link
Copy Markdown
Member Author

wpessers commented May 30, 2026

Succesful run of all integration tests: https://github.com/wpessers/opentelemetry-lambda/actions/runs/26711829387

@wpessers wpessers force-pushed the feat/ci/automate-integration-tests branch from b94f1d9 to da2a096 Compare May 31, 2026 12:30
@wpessers wpessers force-pushed the feat/ci/automate-integration-tests branch from da2a096 to 3e8eee6 Compare May 31, 2026 12:33
@wpessers wpessers force-pushed the feat/ci/automate-integration-tests branch from 065dc45 to 497991f Compare May 31, 2026 12:36
Copy link
Copy Markdown
Contributor

@RaphaelManke RaphaelManke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup integration tests for each lambda layer

2 participants