Skip to content

ci: Use cicd-actions setup-bazel-cache and unblock user namespace for linux-sandbox actions#151

Merged
lurtz merged 4 commits into
mainfrom
use-score-setup-bazel-cache
Jun 16, 2026
Merged

ci: Use cicd-actions setup-bazel-cache and unblock user namespace for linux-sandbox actions#151
lurtz merged 4 commits into
mainfrom
use-score-setup-bazel-cache

Conversation

@lurtz

@lurtz lurtz commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

There is now a release of cicd-actions! Lets make use of that and simplify our code.

cicd-workflows are also being updated: eclipse-score/cicd-workflows#125

setup-bazel-cache

This centralizes bazel caching logic within S-CORE and moves it into a central place of perfection.

unblock linux user namespaces for linux-sandbox

The code in cicd-actions is better tested and should be considered a single source of perfection

lurtz added 2 commits June 15, 2026 14:40
This centralizes bazel caching logic within S-CORE and moves it into a central place of perfection.
The code in cicd-actions is better tested and should be considered a single source of perfection
@lurtz lurtz marked this pull request as ready for review June 15, 2026 14:48
@lurtz lurtz requested a review from Copilot June 15, 2026 14:48
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

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]
Extracting Bazel installation...
Starting local Bazel server (8.4.1) and connecting to it...
INFO: Invocation ID: 04def12d-e548-4e88-b03d-00b85cd52415
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 4 packages loaded
Loading: 4 packages loaded
    currently loading: 
Loading: 4 packages loaded
    currently loading: 
Loading: 4 packages loaded
    currently loading: 
Analyzing: target //:license-check (5 packages loaded, 0 targets configured)
Analyzing: target //:license-check (5 packages loaded, 0 targets configured)

Analyzing: target //:license-check (30 packages loaded, 10 targets configured)

Analyzing: target //:license-check (93 packages loaded, 10 targets configured)

Analyzing: target //:license-check (148 packages loaded, 2749 targets configured)

Analyzing: target //:license-check (162 packages loaded, 5495 targets configured)

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

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

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

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

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

Analyzing: target //:license-check (174 packages loaded, 10132 targets configured)

Analyzing: target //:license-check (175 packages loaded, 10256 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10376 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10376 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10376 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10376 targets configured)

INFO: Analyzed target //:license-check (177 packages loaded, 11955 targets configured).
[11 / 17] [Prepa] Writing repo mapping manifest for @@score_tooling+//dash/tool/formatters:dash_format_converter [for tool]
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
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: 214.152s, Critical Path: 0.39s
INFO: 17 processes: 5 disk cache hit, 12 internal.
INFO: Build completed successfully, 17 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

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the repository’s GitHub Actions CI workflows to use the centralized eclipse-score/cicd-actions implementations for Bazel caching and for unblocking Linux user namespaces required by Bazel’s linux-sandbox, and removes the now-redundant in-repo composite action.

Changes:

  • Replace bazel-contrib/setup-bazel@0.19.0 with eclipse-score/cicd-actions/setup-bazel-cache in relevant workflows.
  • Replace the local composite action for linux-sandbox user namespaces with eclipse-score/cicd-actions/unblock-user-namespace-for-linux-sandbox.
  • Delete the repository’s .github/actions/unblock_user_namespace_for_linux_sandbox composite action.

Reviewed changes

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

File Description
.github/workflows/copilot-setup-steps.yml Switch Copilot setup workflow to centralized Bazel cache + linux-sandbox unblock actions.
.github/workflows/build_and_test_host.yml Switch host build/test workflow to centralized Bazel cache + linux-sandbox unblock actions.
.github/workflows/build_and_test_cross_compilation.yml Switch cross-compilation workflow to centralized Bazel cache + linux-sandbox unblock actions.
.github/actions/unblock_user_namespace_for_linux_sandbox/action.yml Remove local composite action now replaced by centralized cicd-action.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/copilot-setup-steps.yml Outdated
Comment thread .github/workflows/copilot-setup-steps.yml Outdated
Comment thread .github/workflows/build_and_test_host.yml Outdated
Comment thread .github/workflows/build_and_test_cross_compilation.yml Outdated
@lurtz lurtz enabled auto-merge June 15, 2026 15:43
@NEOatNHNG

NEOatNHNG commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Is there a reason why only use it for the build workflows and not for the other workflows using bazel?

Ah, never mind, those use the workflow template from cicd workflows.

@lurtz lurtz added this pull request to the merge queue Jun 16, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 16, 2026
@lurtz lurtz added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 3caf37e Jun 16, 2026
16 checks passed
@lurtz lurtz deleted the use-score-setup-bazel-cache branch June 16, 2026 08:52
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