Skip to content

ci: add workflow_dispatch + dry_run support to release workflow - #331

Merged
umaucher merged 11 commits into
eclipse-score:mainfrom
umaucher:um_release_workflow
Jul 10, 2026
Merged

ci: add workflow_dispatch + dry_run support to release workflow#331
umaucher merged 11 commits into
eclipse-score:mainfrom
umaucher:um_release_workflow

Conversation

@umaucher

@umaucher umaucher commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

Adds workflow_dispatch trigger with a dry_run flag to the release workflow, and restructures it into two jobs.

Why

Before creating a real release tag it must be possible to validate the full build/test/coverage pipeline without side effects. Previously the workflow only triggered on release: created, making it impossible to test without creating an actual GitHub release.

Changes

  • workflow_dispatch trigger with version (X.Y.Z) and dry_run (default: true) inputs
  • prepare-release job (skipped on dry run): bumps MODULE.bazel, commits, creates tag + GitHub release
  • release-verification job: runs build → unit tests → Rust coverage → C++ coverage → uploads ZIP artifact; attaches to release only when not a dry run
  • Fixes setup-bazel @0.15.0@0.18.0 (canonical version in cicd-workflows)
  • Fixes upload-artifact @v4@v6 (canonical version in cicd-workflows)
  • Keeps existing release: created trigger for backward compatibility

Testing

Dry run can be triggered from this branch without merging:

gh workflow run release.yml --repo eclipse-score/persistency --ref um_release_workflow --field version=0.3.3 --field dry_run=true

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: f74aca24-8cf7-44bb-ab60-412cedc2f8b5
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: 
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)

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

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

Analyzing: target //:license-check (97 packages loaded, 25 targets configured)

Analyzing: target //:license-check (137 packages loaded, 1976 targets configured)

Analyzing: target //:license-check (139 packages loaded, 2712 targets configured)

Analyzing: target //:license-check (139 packages loaded, 2712 targets configured)

Analyzing: target //:license-check (139 packages loaded, 2712 targets configured)

Analyzing: target //:license-check (153 packages loaded, 5403 targets configured)

Analyzing: target //:license-check (153 packages loaded, 5403 targets configured)

Analyzing: target //:license-check (158 packages loaded, 5452 targets configured)

Analyzing: target //:license-check (158 packages loaded, 5452 targets configured)

Analyzing: target //:license-check (161 packages loaded, 7339 targets configured)

Analyzing: target //:license-check (163 packages loaded, 10117 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

Analyzing: target //:license-check (165 packages loaded, 10145 targets configured)

INFO: Analyzed target //:license-check (166 packages loaded, 10271 targets configured).
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 66 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[15 / 17] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
[16 / 17] 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: 39.121s, Critical Path: 2.57s
INFO: 17 processes: 12 internal, 4 processwrapper-sandbox, 1 worker.
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

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

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

@umaucher
umaucher force-pushed the um_release_workflow branch from 9504d30 to ea5a959 Compare July 9, 2026 12:18
@umaucher
umaucher marked this pull request as ready for review July 9, 2026 13:34
@umaucher

umaucher commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@umaucher
umaucher merged commit 01fd757 into eclipse-score:main Jul 10, 2026
17 checks passed
@umaucher
umaucher deleted the um_release_workflow branch July 10, 2026 06:13
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.

2 participants