github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/promoter.argoproj.io/PromotionStrategy/testdata/missing-sha-and-not-ready.yaml (about)

     1  apiVersion: promoter.argoproj.io/v1alpha1
     2  kind: PromotionStrategy
     3  metadata:
     4    name: strategy
     5    namespace: test
     6  spec:
     7    activeCommitStatuses:
     8      - key: argocd-health
     9    environments:
    10      - autoMerge: true
    11        branch: environments/qal-usw2
    12      - autoMerge: true
    13        branch: environments/e2e-usw2
    14    gitRepositoryRef:
    15      name: repo
    16  status:
    17    conditions:
    18      - lastTransitionTime: '2025-10-15T16:31:47Z'
    19        message: 'ChangeTransferPolicy "strategy-environments-qal-usw2-27894e05" is not Ready because "ReconciliationError": Reconciliation failed: failed to calculate ChangeTransferPolicy status: failed to get SHAs for proposed branch "environments/qal-usw2-next": exit status 128: fatal: ''origin/environments/qal-usw2-next'' is not a commit and a branch ''environments/qal-usw2-next'' cannot be created from it'
    20        observedGeneration: 1
    21        reason: ChangeTransferPolicyNotReady
    22        status: 'False'
    23        type: Ready
    24    environments:
    25      - active:
    26          dry: {}
    27          hydrated: {}
    28        branch: environments/qal-usw2
    29        proposed:
    30          dry: {}
    31          hydrated: {}
    32      - active:
    33          dry: {}
    34          hydrated: {}
    35        branch: environments/e2e-usw2
    36        proposed:
    37          dry: {}
    38          hydrated: {}