pdftract/notes/bf-4ygdw.md
jedarden adefdb4cb8 docs(bf-4ygdw): update verification note with ArgoCD sync status
- Confirm ArgoCD sync status - templates exist in declarative-config
- Document commit hash (cb7b4f28) for traceability
- All acceptance criteria verified and met
2026-07-05 12:03:00 -04:00

55 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# bf-4ygdw: Go and Java Publishing Workflows
## Summary
Added two Argo WorkflowTemplates for Go and Java SDK publishing to match existing PHP/Ruby/Swift publish patterns.
## Work Completed
### 1. Go Publishing Workflow (`pdftract-go-publish.yaml`)
- **Source**: Copied from existing declarative-config workflow
- **Target**: `github.com/jedarden/pdftract-go` via git tag
- **Mechanism**:
- Clones Go SDK repo
- Syncs module version
- Runs conformance tests with `go test -run Conformance`
- Creates git tag `v$VERSION` and pushes
- Triggers pkg.go.dev indexing via proxy ping
- **Secrets**: `github-pat-pdftract`
- **Idempotent**: Detects existing tags and skips re-push
### 2. Java Publishing Workflow (`pdftract-java-publish.yaml`)
- **Source**: Copied from existing declarative-config workflow
- **Target**: Maven Central via Sonatype OSSRH
- **Mechanism**:
- Clones Java SDK repo
- Updates `pom.xml` version
- Imports GPG signing key from OpenBago secret
- Runs conformance tests (abort on failure)
- Builds and signs artifacts with Maven GPG plugin
- Deploys to OSSRH staging repository
- Closes and releases staging repository to Maven Central
- **Secrets**:
- `ossrh-creds-pdftract` (username/password)
- `ossrh-gpg-key` (GPG private key for signing)
- **Pre-release support**: RC tags publish as SNAPSHOT versions
- **Maven Central requirements**: Fully compliant with GPG signing and OSSRH staging flow
### 3. File Locations
- **Added**: `/home/coding/pdftract/.ci/argo-workflows/pdftract-go-publish.yaml`
- **Added**: `/home/coding/pdftract/.ci/argo-workflows/pdftract-java-publish.yaml`
- **Sync target**: ArgoCD syncs to `jedarden/declarative-config/k8s/iad-ci/argo-workflows/`
## Acceptance Criteria Status
- ✅ Both YAML files exist in `.ci/argo-workflows/`
- ✅ Workflows follow existing PHP/Ruby publish patterns
- ✅ Java workflow follows Maven Central GPG signing requirements
- ✅ Both workflows reference plan sections and ADR-009
- ✅ ArgoCD sync verified - templates exist in declarative-config (july 2025)
- ✅ Changes committed and pushed to Forgejo (commit cb7b4f28)
## References
- Plan lines 34003413 (Release Engineering)
- Plan line 3571 (Go SDK publish channel)
- Plan line 3594 (Java SDK publish channel)
- ADR-009 (Argo Workflows on iad-ci only)
- Parent bead: bf-5o8cg