github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/promoter.argoproj.io/PromotionStrategy/testdata/different-proposed-commits.yaml (about)

     1  apiVersion: promoter.argoproj.io/v1alpha1
     2  kind: PromotionStrategy
     3  metadata:
     4    name: promotion-strategy
     5    namespace: gitops-promoter
     6  spec:
     7    activeCommitStatuses:
     8      - key: argocd-health
     9    environments:
    10      - autoMerge: false
    11        branch: wave/0/west
    12      - autoMerge: false
    13        branch: wave/1/west
    14      - autoMerge: false
    15        branch: wave/2/west
    16      - autoMerge: false
    17        branch: wave/3/west
    18      - autoMerge: false
    19        branch: wave/4/west
    20      - autoMerge: false
    21        branch: wave/5/west
    22    gitRepositoryRef:
    23      name: cdp-deployments
    24  status:
    25    conditions:
    26      - lastTransitionTime: '2025-08-02T06:43:44Z'
    27        message: Reconciliation succeeded
    28        observedGeneration: 6
    29        reason: ReconciliationSuccess
    30        status: 'True'
    31        type: Ready
    32    environments:
    33      - active:
    34          commitStatuses:
    35            - key: argocd-health
    36              phase: pending
    37          dry:
    38            author: Fake Person <fake@example.com>
    39            commitTime: '2025-09-24T14:13:27Z'
    40            repoURL: https://git.example.com/fake-org/fake-repo
    41            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
    42            subject: 'chore: fake new commit message'
    43          hydrated:
    44            author: GitOps Promoter
    45            commitTime: '2025-09-24T14:14:21Z'
    46            sha: 6b1095752ea7bef9c5c4251cb0722ce33dfd68d1
    47            subject: >-
    48              This is a no-op commit merging from wave/0/west-next into
    49              wave/0/west
    50        branch: wave/0/west
    51        history:
    52          - active:
    53              dry:
    54                author: Fake Person <fake@example.com>
    55                commitTime: '2025-09-23T17:33:12Z'
    56                repoURL: https://git.example.com/fake-org/fake-repo
    57                sha: 28f351384c8b8e58624726c4c3713979d0143775
    58                subject: 'chore: fake old commit message'
    59              hydrated:
    60                author: argo-cd[bot]
    61                body: "Fake commit message"
    62                commitTime: '2025-09-23T17:36:40Z'
    63                sha: 3ebd45b702bc23619c8ae6724e81955afc644555
    64                subject: Promote 28f35 to `wave/0/west` (#2929)
    65            proposed:
    66              hydrated: {}
    67            pullRequest: {}
    68          - active:
    69              dry:
    70                author: asingh51 <fake@example.com>
    71                commitTime: '2025-09-22T21:04:40Z'
    72                repoURL: https://git.example.com/fake-org/fake-repo
    73                sha: 9dc9529ddba077fcdf8cffef716b7d20e1e8b844
    74                subject: >-
    75                  Onboarding new cluster to argocd-genai  on wave 5 [ARGO-2499]
    76                  (#2921)
    77              hydrated:
    78                author: argo-cd[bot]
    79                body: "Fake commit message"
    80                commitTime: '2025-09-22T21:56:33Z'
    81                sha: 2fefa5165e46988666cbb1d2d4f39e21871fa671
    82                subject: Promote 9dc95 to `wave/0/west` (#2925)
    83            proposed:
    84              hydrated: {}
    85            pullRequest: {}
    86          - active:
    87              dry:
    88                author: Fake Person <fake@example.com>
    89                commitTime: '2025-09-22T19:29:53Z'
    90                repoURL: https://git.example.com/fake-org/fake-repo
    91                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
    92                subject: >-
    93                  chore: temporarily disable server-side diff on argo-argo
    94                  (ARGO-2528) (#2917)
    95              hydrated:
    96                author: argo-cd[bot]
    97                body: "Fake commit message"
    98                commitTime: '2025-09-22T19:32:09Z'
    99                sha: 6c6493caa0d5b7211bb09c93a7047c90db393cd6
   100                subject: Promote 7f912 to `wave/0/west` (#2922)
   101            proposed:
   102              hydrated: {}
   103            pullRequest: {}
   104        proposed:
   105          dry:
   106            author: Fake Person <fake@example.com>
   107            commitTime: '2025-09-24T14:13:27Z'
   108            repoURL: https://git.example.com/fake-org/fake-repo
   109            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   110            subject: 'chore: fake new commit message'
   111          hydrated:
   112            author: GitOps Promoter
   113            commitTime: '2025-09-24T14:14:16Z'
   114            sha: 9dfd6245b7b2e86660a13743ecc85d26bf3df04c
   115            subject: Merge branch 'wave/0/west' into wave/0/west-next
   116      - active:
   117          commitStatuses:
   118            - key: argocd-health
   119              phase: pending
   120          dry:
   121            author: Fake Person <fake@example.com>
   122            commitTime: '2025-09-24T14:13:27Z'
   123            repoURL: https://git.example.com/fake-org/fake-repo
   124            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   125            subject: 'chore: fake new commit message'
   126          hydrated:
   127            author: GitOps Promoter
   128            commitTime: '2025-09-24T14:14:01Z'
   129            sha: 580bbde2b775a8c6dc1484c4ba970426029e63b4
   130            subject: >-
   131              This is a no-op commit merging from wave/1/west-next into
   132              wave/1/west
   133        branch: wave/1/west
   134        history:
   135          - active:
   136              dry:
   137                author: Fake Person <fake@example.com>
   138                commitTime: '2025-09-23T17:33:12Z'
   139                repoURL: https://git.example.com/fake-org/fake-repo
   140                sha: 28f351384c8b8e58624726c4c3713979d0143775
   141                subject: 'chore: fake old commit message'
   142              hydrated:
   143                author: argo-cd[bot]
   144                body: "Fake commit message"
   145                commitTime: '2025-09-23T17:37:46Z'
   146                sha: c2b69cd2186df736ee4e27a6de5590135a3c5823
   147                subject: Promote 28f35 to `wave/1/west` (#2928)
   148            proposed:
   149              hydrated: {}
   150            pullRequest: {}
   151          - active:
   152              dry:
   153                author: Fake Person <fake@example.com>
   154                commitTime: '2025-09-22T19:29:53Z'
   155                repoURL: https://git.example.com/fake-org/fake-repo
   156                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
   157                subject: >-
   158                  chore: temporarily disable server-side diff on argo-argo
   159                  (ARGO-2528) (#2917)
   160              hydrated:
   161                author: argo-cd[bot]
   162                body: "Fake commit message"
   163                commitTime: '2025-09-22T20:15:13Z'
   164                sha: baf2f21f5085adaa7fe4720ca41d4f7ff918d4fd
   165                subject: Promote 7f912 to `wave/1/west` (#2883)
   166            proposed:
   167              hydrated: {}
   168            pullRequest: {}
   169          - active:
   170              dry:
   171                author: Fake Person <fake@example.com>
   172                commitTime: '2025-09-16T16:32:32Z'
   173                repoURL: https://git.example.com/fake-org/fake-repo
   174                sha: 789df516a84b1d3beb2f8ffe56e052b5b411aa74
   175                subject: >-
   176                  chore: upgrade to 3.2.0-rc1, argo and team instances (ARGO-2412)
   177                  (#2875)
   178              hydrated:
   179                author: argo-cd[bot]
   180                body: "Fake commit message"
   181                commitTime: '2025-09-16T16:45:40Z'
   182                sha: 728e1a237732a20281f986916301a5dca254e3a4
   183                subject: Promote 789df to `wave/1/west` (#2876)
   184            proposed:
   185              hydrated: {}
   186            pullRequest: {}
   187        proposed:
   188          commitStatuses:
   189            - key: promoter-previous-environment
   190              phase: pending
   191          dry:
   192            author: Fake Person <fake@example.com>
   193            commitTime: '2025-09-24T14:13:27Z'
   194            repoURL: https://git.example.com/fake-org/fake-repo
   195            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   196            subject: 'chore: fake new commit message'
   197          hydrated:
   198            author: GitOps Promoter
   199            commitTime: '2025-09-24T14:13:56Z'
   200            sha: 50b7c73718813b9b92a0e1e166798cbd55874bbd
   201            subject: Merge branch 'wave/1/west' into wave/1/west-next
   202      - active:
   203          commitStatuses:
   204            - key: argocd-health
   205              phase: pending
   206          dry:
   207            author: Fake Person <fake@example.com>
   208            commitTime: '2025-09-23T17:33:12Z'
   209            repoURL: https://git.example.com/fake-org/fake-repo
   210            sha: 28f351384c8b8e58624726c4c3713979d0143775
   211            subject: 'chore: fake old commit message'
   212          hydrated:
   213            author: GitOps Promoter
   214            commitTime: '2025-09-23T17:34:05Z'
   215            sha: 169626417d1863434901c9225ded78963b7bd691
   216            subject: >-
   217              This is a no-op commit merging from wave/2/west-next into
   218              wave/2/west
   219        branch: wave/2/west
   220        history:
   221          - active:
   222              dry:
   223                author: Fake Person <fake@example.com>
   224                commitTime: '2025-09-22T19:29:53Z'
   225                repoURL: https://git.example.com/fake-org/fake-repo
   226                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
   227                subject: >-
   228                  chore: temporarily disable server-side diff on argo-argo
   229                  (ARGO-2528) (#2917)
   230              hydrated:
   231                author: argo-cd[bot]
   232                body: "Fake commit message"
   233                commitTime: '2025-09-22T20:59:45Z'
   234                sha: 1bfe993b41fe27b298c0aab9a5f185b29a478178
   235                subject: Promote 7f912 to `wave/2/west` (#2884)
   236            proposed:
   237              hydrated: {}
   238            pullRequest: {}
   239        proposed:
   240          commitStatuses:
   241            - key: promoter-previous-environment
   242              phase: pending
   243          dry:
   244            author: Fake Person <fake@example.com>
   245            commitTime: '2025-09-23T17:33:12Z'
   246            repoURL: https://git.example.com/fake-org/fake-repo
   247            sha: 28f351384c8b8e58624726c4c3713979d0143775
   248            subject: 'chore: fake old commit message'
   249          hydrated:
   250            author: Argo CD
   251            body: "Fake commit message"
   252            commitTime: '2025-09-23T17:33:50Z'
   253            sha: 6e0e11f0102faa5779223159a2b16ccee63a8ac0
   254            subject: '28f3513: chore: fake old commit message'
   255      - active:
   256          commitStatuses:
   257            - key: argocd-health
   258              phase: pending
   259          dry:
   260            author: Fake Person <fake@example.com>
   261            commitTime: '2025-09-24T14:13:27Z'
   262            repoURL: https://git.example.com/fake-org/fake-repo
   263            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   264            subject: 'chore: fake new commit message'
   265          hydrated:
   266            author: GitOps Promoter
   267            commitTime: '2025-09-24T14:14:08Z'
   268            sha: 73cf41db84a6e97a74c967243e65ffce66dd4198
   269            subject: >-
   270              This is a no-op commit merging from wave/3/west-next into
   271              wave/3/west
   272        branch: wave/3/west
   273        history:
   274          - active:
   275              dry:
   276                author: Fake Person <fake@example.com>
   277                commitTime: '2025-09-22T19:29:53Z'
   278                repoURL: https://git.example.com/fake-org/fake-repo
   279                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
   280                subject: >-
   281                  chore: fake super old commit message
   282              hydrated:
   283                author: argo-cd[bot]
   284                body: "Fake commit message"
   285                commitTime: '2025-09-22T21:00:07Z'
   286                sha: e7456f8ff4a5943ace3bb425e2d4e7dd43a53e46
   287                subject: Promote 7f912 to `wave/3/west` (#2887)
   288            proposed:
   289              hydrated: {}
   290            pullRequest: {}
   291        proposed:
   292          commitStatuses:
   293            - key: promoter-previous-environment
   294              phase: pending
   295          dry:
   296            author: Fake Person <fake@example.com>
   297            commitTime: '2025-09-24T14:13:27Z'
   298            repoURL: https://git.example.com/fake-org/fake-repo
   299            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   300            subject: 'chore: fake new commit message'
   301          hydrated:
   302            author: Argo CD
   303            body: "Fake commit message"
   304            commitTime: '2025-09-24T14:13:49Z'
   305            sha: daf0534e9db36334c82870cbb2e5d14cc687e0f5
   306            subject: 'f94c9d4: chore: fake new commit message'
   307      - active:
   308          commitStatuses:
   309            - key: argocd-health
   310              phase: pending
   311          dry:
   312            author: Fake Person <fake@example.com>
   313            commitTime: '2025-09-24T14:13:27Z'
   314            repoURL: https://git.example.com/fake-org/fake-repo
   315            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   316            subject: 'chore: fake new commit message'
   317          hydrated:
   318            author: GitOps Promoter
   319            commitTime: '2025-09-24T14:14:30Z'
   320            sha: 5abc8f1fd4056ad9f78723f3a83ac2291e87c821
   321            subject: >-
   322              This is a no-op commit merging from wave/4/west-next into
   323              wave/4/west
   324        branch: wave/4/west
   325        history:
   326          - active:
   327              dry:
   328                author: Fake Person <fake@example.com>
   329                commitTime: '2025-09-22T19:29:53Z'
   330                repoURL: https://git.example.com/fake-org/fake-repo
   331                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
   332                subject: >-
   333                  chore: temporarily disable server-side diff on argo-argo
   334                  (ARGO-2528) (#2917)
   335              hydrated:
   336                author: argo-cd[bot]
   337                body: "Fake commit message"
   338                commitTime: '2025-09-22T21:00:29Z'
   339                sha: 1d6e2b279108f6430825c889f6d2248fe4388aba
   340                subject: Promote 7f912 to `wave/4/west` (#2885)
   341            proposed:
   342              hydrated: {}
   343            pullRequest: {}
   344        proposed:
   345          commitStatuses:
   346            - key: promoter-previous-environment
   347              phase: pending
   348          dry:
   349            author: Fake Person <fake@example.com>
   350            commitTime: '2025-09-24T14:13:27Z'
   351            repoURL: https://git.example.com/fake-org/fake-repo
   352            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   353            subject: 'chore: fake new commit message'
   354          hydrated:
   355            author: Argo CD
   356            body: "Fake commit message"
   357            commitTime: '2025-09-24T14:14:09Z'
   358            sha: 91d942a1da3799d6027a7c407eee98b1f9cdcde0
   359            subject: 'f94c9d4: chore: fake new commit message'
   360      - active:
   361          commitStatuses:
   362            - key: argocd-health
   363              phase: pending
   364          dry:
   365            author: Fake Person <fake@example.com>
   366            commitTime: '2025-09-24T14:13:27Z'
   367            repoURL: https://git.example.com/fake-org/fake-repo
   368            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   369            subject: 'chore: fake new commit message'
   370          hydrated:
   371            author: GitOps Promoter
   372            commitTime: '2025-09-24T14:14:40Z'
   373            sha: 7bee0fcb985ac4ecccddf70a8b2d02cc0c41f231
   374            subject: >-
   375              This is a no-op commit merging from wave/5/west-next into
   376              wave/5/west
   377        branch: wave/5/west
   378        history:
   379          - active:
   380              dry:
   381                author: Fake Person <fake@example.com>
   382                commitTime: '2025-09-22T19:29:53Z'
   383                repoURL: https://git.example.com/fake-org/fake-repo
   384                sha: 7f91282cc8146644d0721efde1b9069ccbd475a1
   385                subject: >-
   386                  chore: temporarily disable server-side diff on argo-argo
   387                  (ARGO-2528) (#2917)
   388              hydrated:
   389                author: argo-cd[bot]
   390                body: "Fake commit message"
   391                commitTime: '2025-09-22T21:00:59Z'
   392                sha: a9d26ef79a1cc786a2a90446f7e8bbef2e5be653
   393                subject: Promote 7f912 to `wave/5/west` (#2888)
   394            proposed:
   395              hydrated: {}
   396            pullRequest: {}
   397        proposed:
   398          commitStatuses:
   399            - key: promoter-previous-environment
   400              phase: pending
   401          dry:
   402            author: Fake Person <fake@example.com>
   403            commitTime: '2025-09-24T14:13:27Z'
   404            repoURL: https://git.example.com/fake-org/fake-repo
   405            sha: f94c9d42993145d9f10bb2c404b74da14ee3f74e
   406            subject: 'chore: fake new commit message'
   407          hydrated:
   408            author: Argo CD
   409            body: "Fake commit message"
   410            commitTime: '2025-09-24T14:14:24Z'
   411            sha: 20c41602695addbf7760236eff562f5692e585aa
   412            subject: 'f94c9d4: chore: fake new commit message'