name changing-pulp-upload description Use when changing upload, global CLI flags (--config, --build-id, --namespace), --rpm-path, --parent-package, --sbom-path, --artifact-results, Tekton workspace paths, or Konflux downstream integration. Container image *build*: changing-pulp-container.
Changing pulp upload / Konflux integration
Overview
Downstream Tekton pipelines invoke pulp-tool upload with fixed paths and flags. Changes must stay compatible with both call sites. Source of truth: CLAUDE.md . Code map: docs/ARCHITECTURE.md — keep logic in PulpHelper / UploadService only.
Workflow
Read CLAUDE.md (two pipelines, regression checklist).
Re-open current upstream task YAML on GitHub (pipelines evolve):
Implement + extend tests for every checklist item touched.
Update CLAUDE.md if invocation, paths, or flags change.
Update docs/cli-reference.md and docs/ARCHITECTURE.md when behavior or layout changes.
Regression checklist
Before merge, verify (extend tests where applicable):
upload / upload-files behavior, defaults, required options
Global: --config, --build-id, --namespace
--rpm-path, --parent-package, --sbom-path, --artifact-results
Config/TLS/paths assumed in containers; image entrypoint and invocation (image build : changing-pulp-container )
RPM discovery under --rpm-path
Both pipelines still match (config path, flags, workspace /var/workdir/results, oras-staging/ where used)
Red flags — stop and re-read CLAUDE.md
Changing a default flag without checking both Tekton scripts
Assuming one pipeline’s flags apply to the other (--sbom-path is import-to-quay only)
Duplicating upload logic outside PulpHelper / UploadService
Skipping upstream YAML review (“we only changed tests” on upload paths)
Common rationalizations
Excuse Reality "Only affects rpmbuild-pipeline" Release path uses different config and fewer flags — check both "Tests pass locally" Container paths and Tekton result files need explicit coverage "Upstream YAML is stable" ORAS/staging layout changes; re-verify linked tasks
Quick reference
import-to-quay push-artifacts-to-storage Config /pulp-access/cli.toml/etc/rok-access/cli.tomlUpload flags --parent-package, --sbom-path, --artifact-results--rpm-path onlyMissing config Skip upload; empty Tekton results Exit 0 without pulp-tool
Full command examples and secrets behavior: CLAUDE.md .