Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: improve build times for instrumentation image tests #257

Merged
merged 2 commits into from
Feb 2, 2025

Conversation

basti1302
Copy link
Member

@basti1302 basti1302 commented Feb 2, 2025

test(instrumentation): convert Spring boot test apps to simple Java apps:

We do not actually need to start a whole framework with an HTTP server to check one environment variable and exit.

Also:

  • disable all auto-instrumentation by the Java agent for JVM instrumentation image tests
  • remove Node.js 18 Bullseye base image for Node.js tests

All of this should help to speed up the instrumentation image tests.

We do not actually need to start a whole framework with an HTTP server
to check one environment variable and exit.

Also:
- disable all auto-instrumentation by the Java agent for JVM
  instrumentation image tests
- remove Node.js 18 Bullseye base image for Node.js tests

All of this should help to speed up the instrumentation image tests.
@basti1302 basti1302 force-pushed the improve-instrumentation-test-build-times-for-jvm branch from b4b9aff to e29d6b2 Compare February 2, 2025 21:08
@basti1302 basti1302 changed the title test(instrumentation): convert Spring boot test apps to simple Java apps ci: improve build times for instrumentation image tests Feb 2, 2025
@basti1302 basti1302 force-pushed the improve-instrumentation-test-build-times-for-jvm branch from ae863f5 to 0a5e91b Compare February 2, 2025 21:30
This helps in particular with the check for changed files that decides
whether or not to run this lengthy test suite: Previously, we would run
it on any change of .github/workflows/ci.yaml, now we only run it when
.github/actions/injector-and-instrumentation-tests/action.yaml has
changes (and of course if there are changes images/instrumentation).
@basti1302 basti1302 force-pushed the improve-instrumentation-test-build-times-for-jvm branch from 0a5e91b to 088d567 Compare February 2, 2025 21:36
Copy link

sonarqubecloud bot commented Feb 2, 2025

@basti1302 basti1302 merged commit 8bfaedd into main Feb 2, 2025
11 checks passed
@basti1302 basti1302 deleted the improve-instrumentation-test-build-times-for-jvm branch February 2, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant