Skip to content

Migrate CI pipeline from java-profiler-build into java-profiler#446

Draft
jbachorik wants to merge 9 commits intomainfrom
jb/merge_build
Draft

Migrate CI pipeline from java-profiler-build into java-profiler#446
jbachorik wants to merge 9 commits intomainfrom
jb/merge_build

Conversation

@jbachorik
Copy link
Copy Markdown
Collaborator

@jbachorik jbachorik commented Mar 27, 2026

What does this PR do?:

Consolidates the CI/CD pipeline from the separate java-profiler-build repository directly into java-profiler, making the build self-contained.

  • Merges all GitLab CI configuration (.gitlab/) from java-profiler-build
  • Registers the project with ADMS (repository.datadog.yml) and adds octo-sts policies
  • Moves gitlab/ to .gitlab/ for unified CI structure
  • Switches to java-profiler IAM service account and SSM prefix
  • Flattens the pipeline and fixes cross-cutting CI issues
  • Gates push pipelines on GitHub PR existence — cancels gracefully when no PR is open
  • Fixes ARM runner tags: arch:arm64 instead of unavailable runner:apm-k8s-arm-metal

Motivation:

The split between java-profiler and java-profiler-build added overhead and friction. Having CI self-contained simplifies contributions and maintenance.

Additional Notes:

N/A

How to test the change?:

Validate by triggering a pipeline on this branch and verifying all stages complete successfully.

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.
  • JIRA: PROF-14208

@dd-octo-sts
Copy link
Copy Markdown

dd-octo-sts bot commented Mar 27, 2026

CI Test Results

Run: #24074180597 | Commit: a95cee9 | Duration: 21m 8s (longest job)

All 32 test jobs passed

Status Overview

JDK glibc-aarch64/debug glibc-amd64/debug musl-aarch64/debug musl-amd64/debug
8 - - -
8-ibm - - -
8-j9 - -
8-librca - -
8-orcl - - -
11 - - -
11-j9 - -
11-librca - -
17 - -
17-graal - -
17-j9 - -
17-librca - -
21 - -
21-graal - -
21-librca - -
25 - -
25-graal - -
25-librca - -

Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled

Summary: Total: 32 | Passed: 32 | Failed: 0


Updated: 2026-04-07 09:48:55 UTC

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@dd-octo-sts
Copy link
Copy Markdown

dd-octo-sts bot commented Apr 3, 2026

Scan-Build Report

User:runner@runnervm727z3
Working Directory:/home/runner/work/java-profiler/java-profiler/ddprof-lib/src/test/make
Command Line:make -j4 all
Clang Version:Ubuntu clang version 18.1.3 (1ubuntu1)
Date:Tue Apr 7 09:25:52 2026

Bug Summary

Bug TypeQuantityDisplay?
All Bugs1
Logic error
Stack address stored into global variable1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorStack address stored into global variablestackWalker.cppwalkVM84837

- Merge all GitLab CI config from java-profiler-build repository
- Register project with ADMS and add octo-sts policies
- Move gitlab/ to .gitlab/ for unified CI structure
- Switch to java-profiler IAM service account and SSM prefix
- Flatten pipeline and fix cross-cutting CI issues
- Gate push pipelines on GitHub PR existence; cancel gracefully when no PR
- Fix ARM runner tags: arch:arm64 instead of runner:apm-k8s-arm-metal

PROF-14208
@jbachorik jbachorik changed the title [WIP] CI Build Reworked Migrate CI pipeline from java-profiler-build into java-profiler Apr 3, 2026
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