Skip to content

Set ci config for cfg mngmt#5

Merged
antonkri merged 3 commits into
eclipse-score:mainfrom
Chahult:ct_set_ci_config_cfg_mngmt
Mar 23, 2026
Merged

Set ci config for cfg mngmt#5
antonkri merged 3 commits into
eclipse-score:mainfrom
Chahult:ct_set_ci_config_cfg_mngmt

Conversation

@Chahult
Copy link
Copy Markdown
Contributor

@Chahult Chahult commented Mar 16, 2026

SWP-249886

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 16, 2026

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
2026/03/22 12:13:24 Downloading https://releases.bazel.build/8.3.0/release/bazel-8.3.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server (8.3.0) and connecting to it...
INFO: Invocation ID: 68826d8d-b5b7-4f85-85c2-615886c3f113
Computing main repo mapping: 
Computing main repo mapping: 
DEBUG: Rule 'score_lifecycle_health+' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "1bd00fa6029aa21697015cc7190dba1deb604797" and dropping ["branch"]
DEBUG: Repository score_lifecycle_health+ instantiated at:
  <builtin>: in <toplevel>
Repository rule git_repository defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/git.bzl:208:33: in <toplevel>
DEBUG: Rule 'rules_boost+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-LTilyiMMjpYyAi1PW+8RycyAEHy9clo7915R0Bchb2E="
DEBUG: Repository rules_boost+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:394:31: in <toplevel>
DEBUG: Rule 'score_communication+' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "07e6cf4bd8f3ebd4e470d283d66317617c9aae38" and dropping ["branch"]
DEBUG: Repository score_communication+ instantiated at:
  <builtin>: in <toplevel>
Repository rule git_repository defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/git.bzl:208:33: in <toplevel>
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 3 packages loaded
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)

Analyzing: target //:license-check (19 packages loaded, 9 targets configured)

Analyzing: target //:license-check (72 packages loaded, 9 targets configured)

Analyzing: target //:license-check (85 packages loaded, 9 targets configured)

Analyzing: target //:license-check (90 packages loaded, 9 targets configured)

Analyzing: target //:license-check (142 packages loaded, 527 targets configured)

Analyzing: target //:license-check (159 packages loaded, 4154 targets configured)

Analyzing: target //:license-check (160 packages loaded, 7830 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8040 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8040 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8040 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8040 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8040 targets configured)

Analyzing: target //:license-check (171 packages loaded, 10061 targets configured)

Analyzing: target //:license-check (172 packages loaded, 10181 targets configured)

Analyzing: target //:license-check (172 packages loaded, 10181 targets configured)

Analyzing: target //:license-check (172 packages loaded, 10181 targets configured)

Analyzing: target //:license-check (172 packages loaded, 10181 targets configured)

Analyzing: target //:license-check (172 packages loaded, 10181 targets configured)

INFO: Analyzed target //:license-check (173 packages loaded, 12116 targets configured).
[9 / 16] [Prepa] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes ... (2 actions, 1 running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[14 / 16] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
[15 / 16] Building license.check.license_check.jar (); 0s disk-cache, multiplex-worker
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 218.181s, Critical Path: 2.93s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@github-actions
Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@Chahult Chahult force-pushed the ct_set_ci_config_cfg_mngmt branch 10 times, most recently from 2a4acf3 to 4bdaaad Compare March 17, 2026 08:20
- Add 4 CI workflows: tests.yml, static-analysis.yml,
  bzlmod-lock-check.yml, score-pr-checks.yml
- Update .bazelrc: score_communication tracing stub flag,
  score_variant=True, host_gcc config using @gcc_toolchain
- Align MODULE.bazel deps with OSS mirror (rules_python 1.8.3,
  platforms 1.0.0, rules_rust 0.68.1-score, rules_cc 0.2.16,
  aspect_rules_lint 2.0.0, score_logging 0.1.0)
- Pin score_baselibs to commit 052c2f271be4 (avoids non-dev
  toolchains_llvm conflict), add rules_boost archive_override
- Add score_docs_as_code, score_crates single_version_overrides
- Add score_lifecycle_health dep
- Remove MODULE.bazel.lock from .gitignore, commit fresh lockfile
- Fix copyright header in tests/rust/test_main.rs
@Chahult Chahult force-pushed the ct_set_ci_config_cfg_mngmt branch from 4bdaaad to 86f5e96 Compare March 17, 2026 09:51
Copy link
Copy Markdown
Contributor

@michaelsaborov michaelsaborov left a comment

Choose a reason for hiding this comment

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

According to the original task workflows should support

  • test (unti testing on host?). No such config found, which is ok for now as existing unit tests are not initially verified on score. Unit testing should be clearly addressed in a follow-up task
  • static analysis. Same here. clang-tidy can´t be configured currently, is blocked.
  • bzlmod lock check. Same here. A dedicated upstream workflow for this in eclipse-score/cicd-workflows (bzlmod-lock-check.yml) exists is not referenced here.

Is my understanding correct that for PRs, the effective checks are: formatting (buildifier?), copyright, commit-message lint, docs build, and license check?

Comment thread .github/workflows/score-pr-checks.yml Outdated

jobs:
bazel-module-name-check:
runs-on: ubuntu-latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it´s probably safer to run on ubuntu-24.04. Same for other occurrences.

Comment thread .github/CODEOWNERS Outdated
# /components/*/ @eclipse-score/<module_name>/automotive-score-committers
# As we cannot use groups yet, we list all members explicitly.
# Default owners for everything in the repository
* @antonkri @luizcordeiro @michaelsaborov
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* @antonkri @luizcordeiro @michaelsaborov
* @antonkri @castler @LittleHuba @ramceb @luizcordeiro @michaelsaborov

- CODEOWNERS: apply suggested maintainers list
- workflows: replace ubuntu-latest with ubuntu-24.04 in all jobs
@Chahult
Copy link
Copy Markdown
Contributor Author

Chahult commented Mar 22, 2026

Your understanding is correct. Here's the current status of each workflow:

tests.yml (unit testing on host)
Confirmed — unit tests are not yet runnable on SCORE infrastructure as the host toolchain setup is not complete. This workflow is included as a placeholder to define the target state. A follow-up task will be created to enable it once the toolchain is available.

static-analysis.yml (clang-tidy)
Agreed — clang-tidy is currently blocked upstream. The workflow is included as a placeholder. Will be tracked as a follow-up.

bzlmod-lock-check.yml
bzlmod-lock-check.yml already delegates to eclipse-score/cicd-workflows/.github/workflows/bzlmod-lock-check.yml@main — no changes needed here.

Effective PR checks currently:
Yes, the currently active and enforced checks are:
✅ Formatting (buildifier), Copyright header check, Commit message lint, Docs build, License check.
The other two workflows (tests, static-analysis) are present but not yet fully operational — bzlmod-lock-check is already active via the upstream reusable workflow.

@Chahult Chahult requested a review from michaelsaborov March 22, 2026 12:18
@antonkri antonkri merged commit 73c5a86 into eclipse-score:main Mar 23, 2026
10 checks passed
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.

3 participants