Skip to content

CKE-140 SBOM upload - #287

Merged
coremedia-ci merged 5 commits into
mainfrom
venus/CKE-140-SBOM-upload
Nov 24, 2026
Merged

coremedia-ci merged 5 commits into
mainfrom
venus/CKE-140-SBOM-upload

Conversation

@jens-meisner

Copy link
Copy Markdown
Contributor

No description provided.

jens-meisner and others added 5 commits November 19, 2026 09:44
Add a plan for uploading a CycloneDX SBOM of the whole workspace to
Dependency-Track for main and future maintenance/<major> branches, as
component-foundation does.

The setup of component-foundation can't be reused here: this repository
is public, so it can't call the private reusable-sbom-upload.yml of
CoreMedia/github-actions or safely use the self-hosted runner, and
Dependency-Track is only reachable from the internal network. As a
temporary solution, the QA gate generates the SBOM before the push and
stores it as the artifact sbom-<SHA>. A nightly job on the team Jenkins
venus-ci-01, defined in the venus-ci-01 branch of CoreMedia/ci-jobs,
uploads the artifact of each branch head as ckeditor-plugins-workspace
below the parent project Ckeditor Plugins.

The plan tracks decisions, open questions, prerequisites and rollout
steps as checkboxes. It is removed before the branch is integrated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The parent project Ckeditor Plugins already exists in Dependency-Track
with the version "-", which the Jenkins job sends as parentVersion, so
the job doesn't need to create it.

A fresh maintenance/<major> branch gets no SBOM before its first merged
pull request: its first commit only changes .changeset/config.json, and
every release from the branch goes through the QA gate first. The
Jenkins job logs a warning for the missing artifact and doesn't count it
as a failed branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Before the push to main or a maintenance branch, the QA gate generates a
CycloneDX 1.6 SBOM of the whole workspace with pnpm sbom, so an SBOM that
cannot be generated blocks the merge. It stores the SBOM with a
metadata.json (branch, commit, version) as the artifact sbom-<SHA>, named
after the pushed commit and kept for 90 days.

A nightly job on an internal Jenkins uploads the SBOM of each branch head
to Dependency-Track. This repository is public, so it can neither use the
shared private upload workflow nor reach Dependency-Track itself.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The nightly job on venus-ci-01 is implemented on the ci-jobs branch
ckeditor-plugins-sbom-upload. It uploads the SBOM artifact of each branch
head with the dependencyTrackPublisher step of the Dependency-Track
plugin, as the Blueprint SBOM upload does, and takes the Dependency-Track
URL and API key from the plugin's global configuration.

The job uploads every night without skipping unchanged heads, since
re-uploading the same SBOM is harmless. A failed upload fails only its
branch; a missing artifact only logs a warning.

The prerequisites now include the plugin and its global configuration on
venus-ci-01. They also list the API key permissions the plugin needs:
after the upload it looks up the project and updates its tags, which
requires VIEW_PORTFOLIO and PORTFOLIO_MANAGEMENT besides BOM_UPLOAD and
PROJECT_CREATION_UPLOAD.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coremedia-ci
coremedia-ci merged commit 09ec144 into main Nov 24, 2026
9 checks passed
@coremedia-ci
coremedia-ci deleted the venus/CKE-140-SBOM-upload branch November 24, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants