Skip to content

Update CI Docker files#1202

Merged
dgaliffiAMD merged 7 commits intodevelopfrom
users/dgaliffi/docker-install-json
Oct 3, 2025
Merged

Update CI Docker files#1202
dgaliffiAMD merged 7 commits intodevelopfrom
users/dgaliffi/docker-install-json

Conversation

@dgaliffiAMD
Copy link
Contributor

@dgaliffiAMD dgaliffiAMD commented Oct 1, 2025

Motivation

Installing json library in Dockerfiles for #1033.
Installing other packages what will be used soon.
Fixing CI container update workflow.

Technical Details

Add nlohmann-json-dev (or equivalent) to CI Docker images for RHEL, SUSE, and Ubuntu.
Add gmock-dev and gtest-dev (or equivalent) to CI Docker images for RHEL, SUSE, and Ubuntu.
Add --set solver classic to conda config to resolve an issue setting up the conda environment

Test Plan

Running update Docker workflow to update all of our CI dockers and perform a test build with each.

Test Result

Submission Checklist

@dgaliffiAMD dgaliffiAMD requested review from a team and jrmadsen as code owners October 1, 2025 21:17
Copilot AI review requested due to automatic review settings October 1, 2025 21:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the nlohmann JSON library to CI Docker images across multiple Linux distributions (Ubuntu, RHEL, and openSUSE) to support dependencies for the rocm-systems project.

  • Adds nlohmann JSON development packages to all CI Dockerfiles
  • Uses distribution-specific package names for the JSON library
  • Maintains existing package installation structure and formatting

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
projects/rocprofiler-systems/docker/Dockerfile.ubuntu.ci Adds nlohmann-json3-dev to Ubuntu CI package list
projects/rocprofiler-systems/docker/Dockerfile.ubuntu Adds nlohmann-json3-dev to Ubuntu package list
projects/rocprofiler-systems/docker/Dockerfile.rhel.ci Adds json-devel to RHEL CI package list
projects/rocprofiler-systems/docker/Dockerfile.rhel Adds json-devel to RHEL package list
projects/rocprofiler-systems/docker/Dockerfile.opensuse.ci Adds nlohmann_json-devel to openSUSE CI package list
projects/rocprofiler-systems/docker/Dockerfile.opensuse Adds nlohmann_json-devel to openSUSE package list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mradosav-amd
Copy link
Contributor

mradosav-amd commented Oct 2, 2025

Maybe we can also include libgtest-dev and libgmock-dev packages in this PR. It would be easier in future when we add google tests.

Ubuntu/Debian: libgtest-dev and libgmock-dev
RHEL: gtest-devel and gmock-devel
OpenSUSE: gtest-devel and gmock-devel

Fixes error during conda installation.

```
CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic
```
@dgaliffiAMD dgaliffiAMD changed the title Installing nlohmann-json-devel on CI dockers Update CI Docker files Oct 2, 2025
@dgaliffiAMD dgaliffiAMD requested a review from Copilot October 2, 2025 14:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dgaliffiAMD dgaliffiAMD force-pushed the users/dgaliffi/docker-install-json branch from 444b444 to 3feb196 Compare October 2, 2025 17:53
@dgaliffiAMD dgaliffiAMD merged commit c0f8627 into develop Oct 3, 2025
172 of 178 checks passed
@dgaliffiAMD dgaliffiAMD deleted the users/dgaliffi/docker-install-json branch October 3, 2025 01:06
systems-assistant bot pushed a commit to ROCm/rocprofiler-systems that referenced this pull request Oct 3, 2025
- Add `nlohmann-json-dev` (or equivalent) to CI Docker images for RHEL, SUSE, and Ubuntu.
- Add `gmock-dev` and `gtest-dev` (or equivalent) to CI Docker images for RHEL, SUSE, and Ubuntu.
- Add `--set solver classic` to conda config to resolve an issue setting up the conda environment
- Fix Perfetto package installation on ubuntu noble image.
- Add a check and log error if pip installation fail
[rocm-systems] ROCm/rocm-systems#1202 (commit c0f8627)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants