Skip to content

Migrate tests to Gitlab #8656

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

Draft
wants to merge 111 commits into
base: master
Choose a base branch
from
Draft

Migrate tests to Gitlab #8656

wants to merge 111 commits into from

Conversation

randomanderson
Copy link
Contributor

@randomanderson randomanderson commented Apr 1, 2025

What Does This Do

Runs the test suite in Gitlab.

The main bulk of the changes are in .gitlab-ci.yml which creates the test jobs, applies the appropriate caches, uploads the results to Datadog CI Observability, saves artifacts, etc

Changes to tests

  • Using specific container versions because they need to be mirrored
  • Replacing many instances where localhost was assumed

Motivation

Additional Notes

Further work needs to be done on "right-sizing" the test jobs. There are multiple knobs to tweak between:

  • total memory
  • CPU cores
  • Gradle workers
  • Gradle memory per work
  • Number of parallel jobs
    where there is an optimization between job runtime, number of jobs, size of cache, "stability".

Contributor Checklist

Jira ticket: [PROJ-IDENT]

This reverts commit 26a7adb.
…-tests

# Conflicts:
#	dd-java-agent/instrumentation/kafka-clients-3.8/src/test/groovy/KafkaClientCustomPropagationConfigTest.groovy
#	dd-java-agent/instrumentation/kafka-clients-3.8/src/test/groovy/KafkaClientTestBase.groovy
…e-tests

# Conflicts:
#	dd-smoke-tests/crashtracking/src/test/java/datadog/smoketest/CrashtrackingSmokeTest.java
#	dd-smoke-tests/crashtracking/src/test/java/datadog/smoketest/TestUDPServer.java
#	dd-smoke-tests/src/main/java/datadog/smoketest/OutputThreads.java
@randomanderson randomanderson force-pushed the landerson/migrate-tests branch from 862cc6c to 96cfd44 Compare April 16, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: tooling Build & Tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants