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

     1  apiVersion: promoter.argoproj.io/v1alpha1
     2  kind: ChangeTransferPolicy
     3  metadata:
     4    annotations:
     5      promoter.argoproj.io/reconcile-at: '2025-10-15T17:11:51.672763364Z'
     6    creationTimestamp: '2025-10-15T16:26:17Z'
     7    generation: 1
     8    labels:
     9      promoter.argoproj.io/environment: environments-qal-usw2
    10      promoter.argoproj.io/promotion-strategy: strategy
    11    name: strategy-environments-qal-usw2-27894e05
    12    namespace: test
    13    ownerReferences:
    14      - apiVersion: promoter.argoproj.io/v1alpha1
    15        blockOwnerDeletion: true
    16        controller: true
    17        kind: PromotionStrategy
    18        name: strategy
    19        uid: 146aaaba-72d5-4155-bf5b-b5fd03b8a6d0
    20    resourceVersion: '116412858'
    21    uid: 62e1ed12-d808-4c78-9217-f80822f930ae
    22  spec:
    23    activeBranch: environments/qal-usw2
    24    activeCommitStatuses:
    25      - key: argocd-health
    26    autoMerge: true
    27    gitRepositoryRef:
    28      name: repo
    29    proposedBranch: environments/qal-usw2-next
    30  status:
    31    active:
    32      commitStatuses:
    33        - key: argocd-health
    34          phase: pending
    35      dry: {}
    36      hydrated:
    37        author: ServiceAccount
    38        commitTime: '2025-10-15T15:38:20Z'
    39        sha: b060fc7f5079a5aa7364a3844cfe26ee3084e282
    40        subject: '[Changed] - infrastructure deployment'
    41    conditions:
    42      - lastTransitionTime: '2025-10-15T17:34:14Z'
    43        message: 'PullRequest "deployment-environments-qal-usw2-next-environments-qal-usw2-7a8e7b70" is not Ready because "ReconciliationError": Reconciliation failed: failed to merge pull request: failed to merge pull request: failed to merge pull request: PUT https://github.example.com/api/v3/repos/org/deployment/pulls/3/merge: 405 At least 2 approving reviews are required by reviewers with write access. Required status check "continuous-integration/jenkins/pr-head" is expected. You''re not authorized to push to this branch.'
    44        observedGeneration: 1
    45        reason: PullRequestNotReady
    46        status: 'False'
    47        type: Ready
    48    history:
    49      - active:
    50          dry: {}
    51          hydrated:
    52            author: ServiceAccount
    53            commitTime: '2025-10-15T15:38:20Z'
    54            sha: b060fc7f5079a5aa7364a3844cfe26ee3084e282
    55            subject: '[Changed] - infrastructure deployment'
    56        proposed:
    57          hydrated: {}
    58        pullRequest: {}
    59      - active:
    60          dry: {}
    61          hydrated:
    62            author: ServiceAccount
    63            commitTime: '2025-10-15T15:15:27Z'
    64            sha: bb607f8854d83de1724bcc5515f685adf9d8a704
    65            subject: Initial commit
    66        proposed:
    67          hydrated: {}
    68        pullRequest: {}
    69    proposed:
    70      dry:
    71        author: user <user@example.com>
    72        commitTime: '2025-10-15T16:24:35Z'
    73        repoURL: https://github.example.com/org/deployment.git
    74        sha: ac7866685e376f32aaf09dced3cf2d39dc1ba50e
    75        subject: Create promotion-strategy.yaml
    76      hydrated:
    77        author: Argo CD
    78        body: 'Co-authored-by: user <user@example.com>'
    79        commitTime: '2025-10-15T16:26:18Z'
    80        sha: 2e8097c049a97c05e6f787f46aabfe3cc2a8af21
    81        subject: 'ac78666: Create promotion-strategy.yaml'
    82    pullRequest:
    83      id: '3'
    84      prCreationTime: '2025-10-15T17:11:53Z'
    85      state: open
    86      url: https://github.example.com/org/deployment/pull/3
    87