Skip to content

fix(k8s): argo cd git-source targetRevision tracks main while service image pin tracks release #1261

Closed

Description

@dan-petty

Summary

Argo CD Application git-source targetRevisions under k8s/argocd/ should track main so that in-cluster GitOps reconciliation tracks continuous integration on main without requiring manual release-branch synchronization. Service images in k8s/devops/kustomization.yaml remain pinned to the release version.

Tasks

  • Update all git-source targetRevision fields across k8s/argocd/ to main.
  • Update src/devops_cli/commands/release.py verification and prepare functions to expect main for Argo CD git sources while retaining the release version pin for the service image.
  • Update Argo CD test suites (tests/test_k8s_argocd_apps.py and tests/test_release.py) to enforce targetRevision: main.
  • Document the updated topology in k8s/README.md.

Activity

  1. added this to the v0.2.28 milestone on Oct 6, 2026
  2. added
    type/bug
    scope/k8s
    priority/p1-high
    on Oct 6, 2026
  3. dan-petty-bot commented on Oct 6, 2026

    @dan-petty-bot
    Collaborator

    What changed

    #1262, merged into release/v0.2.28 as abb8d9b.

    Summary

    Closes #1261.

    Sets all Argo CD git-source targetRevision fields across k8s/argocd/ to main while retaining the release version pin for the service container image in k8s/devops/kustomization.yaml.

    • TargetRevision Alignment: The root cluster.yaml and all 20 leaf Applications in k8s/argocd/apps/ now track main.
    • Release Image Tag Pin: k8s/devops/kustomization.yaml continues to pin the authoritative release version (v0.2.27).
    • Validation: Updated _verify_argocd_target_revisions in src/devops_cli/commands/release.py and test suites (tests/test_k8s_argocd_apps.py, tests/test_release.py) to enforce targetRevision: main.
    • Quality Gates: All 14 CI quality gates pass locally via uv run devops ci.

    27 file(s) changed.

    How it was verified

    Check runs at 78623b3:

    • Prune PR DevContainer Images: pass
    • CodeQL: pass
    • Analyze (actions): pass
    • Static Analysis: pass
    • Analyze (python): pass
    • Tests & Coverage: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1261-argocd-target-revision-main.md:

    No Acceptance Criteria section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/k8stype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions