Skip to content

Restore the k8scontent publish workflow - #14968

Draft
Vincent056 wants to merge 1 commit into
ComplianceAsCode:masterfrom
Vincent056:restore-k8scontent-publish
Draft

Restore the k8scontent publish workflow#14968
Vincent056 wants to merge 1 commit into
ComplianceAsCode:masterfrom
Vincent056:restore-k8scontent-publish

Conversation

@Vincent056

Copy link
Copy Markdown
Contributor

Description:

Restore the push-triggered k8s-content.yaml workflow that publishes ghcr.io/complianceascode/k8scontent (:latest + per-commit SHA tags). Restored verbatim from before the removal; the metal-toolbox/container-push reusable workflow it depends on still exists. The removed PR-test variants stay removed.

Rationale:

The k8s GitHub Actions were removed in #13567 as "no longer needed", but the Compliance Operator e2e lanes still pull ghcr.io/complianceascode/k8scontent:latest as their default content image (DEFAULT_CONTENT_IMAGE in the compliance-operator Makefile). The tag has been frozen at the 2025-06-13 build ever since - CO CI has been testing against year-old content for 14 months.

Concrete breakage this masked: 82fc125 (June 2026) moved the kubelet rule filepath to /tmp/runtime/openscap-kubeletconfig, but the frozen image still reads /var/run/compliance-operator/kubeletconfig/.... The operator-side half of that change (ComplianceAsCode/compliance-operator#1255) cannot pass e2e against the stale image, while the current operator only passes because the image is stale.

Sequencing note for reviewers: once :latest refreshes, the compliance-operator master serial lane's kubelet tests will fail until compliance-operator#1255 (which delivers the new path) merges - that PR is approved and ready, so the window can be kept short.

🤖 Generated with Claude Code

@openshift-ci

openshift-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

@Vincent056: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-node-compliance afc63b6 link false /test e2e-aws-openshift-node-compliance

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Vincent056
Vincent056 marked this pull request as draft August 7, 2026 15:02
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Aug 7, 2026

@Mab879 Mab879 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please fix the YAML lint findings.

@Mab879 Mab879 added this to the 0.1.82 milestone Aug 7, 2026
The k8s GitHub Actions were removed in ComplianceAsCode#13567 as no longer needed, but
the Compliance Operator e2e lanes still pull
ghcr.io/complianceascode/k8scontent:latest as their content image. The
tag has been frozen at the 2025-06-13 build since the removal, so CO CI
has been testing against year-old content. Among other drift, that old
content predates the kubelet rule filepath move to
/tmp/runtime/openscap-kubeletconfig (82fc125), which blocks the
operator-side half of that change from passing e2e.

Restore the push-triggered publish workflow only (k8s-content.yaml);
the removed PR-test variants stay removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Vincent056
Vincent056 force-pushed the restore-k8scontent-publish branch from afc63b6 to 1374b7c Compare August 7, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Used by openshift-ci bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants