Skip to content

Conversation

aThorp96
Copy link
Contributor

$ ~/code/dotfiles/scripts/osp_index_info.sh quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6ddc8dfedc41431f7ff577ca93aecf2554dabf20965d05d6e0f512728cdf9b76
Pulling index image quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6ddc8dfedc41431f7ff577ca93aecf2554dabf20965d05d6e0f512728cdf9b76
Only available version
Using version 5.0.5-646
---
- pipelines-cache-rhel9@sha256:47a9957d719ffba22b2e850ba0e7692a4d35637e42aac9cce3b9805b8d10ba78:
    downstream_commit: 518b39ba91973a9c4b214f3a6d14f3fc32540a88
- pipelines-chains-controller-rhel9@sha256:b8673cd79ff95c1a36bb407457c07290b39ae6c321195da6a74fa7bb57ac2a33:
    downstream_commit: c1111a6a66b1ae92cd3785a1cf5cb7bb36ac990b
    upstream_commit: https://github.com/tektoncd/chains/commit/ab93ad44dcfeb860b6648a91328acd218a71dfab
- pipelines-cli-tkn-rhel9@sha256:e50390aba52425222c62601ac02d35186b6b276846e58f223b483cd7abe0afda:
    downstream_commit: 8924a64a1d8ea42cf808334e1ccb40258a51e96a
- pipelines-console-plugin-rhel9@sha256:aba7a9bf9f94e0428ee3fa11ad62aa2e0b1a3c0afba3266834e938efa932e0e9:
    downstream_commit: 4d6a55726ff0c94929d3847646261d5f22f6a7c1
- pipelines-controller-rhel9@sha256:2497079afff160218b2018eb6baedf15384247350ef88452f6687bc9bee3a4ac:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-entrypoint-rhel9@sha256:3912580e60267e5faf37cad2cae67b5586eb0417c01cf70c4b8c0e9971880d40:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-events-rhel9@sha256:863ddc6d14e69660f25f6858edaf828a025306c1b0e1ff01302656dc69679d37:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-git-init-rhel9@sha256:5f9bc36d07c2194867744d4b372c48970bc441a6b0690514604b1794794e4f93:
    downstream_commit: 50b0a9606271af48971b7801f95f6c3fcb357407
    upstream_commit: https://github.com/openshift-pipelines/ecosystem-images/commit/bbdd23294059bead546a43ce09cb04859762d04d
- pipelines-hub-api-rhel9@sha256:20c74e3ee306d779ae545ef78addc7f990ba5c63e6f5181bad40afffe74ec269:
    downstream_commit: 3a7263bda0f56e22f23253decd77c2bd59d204a7
- pipelines-hub-db-migration-rhel9@sha256:d06cb63f45c9c46b814b8381d8078289f209b5721263e3cefc65c753251afe44:
    downstream_commit: 3a7263bda0f56e22f23253decd77c2bd59d204a7
- pipelines-hub-ui-rhel9@sha256:48f3e03942332b0389d4adb8b765c3b302d5a1efd6f062e31babb464d869d351:
    downstream_commit: 00cc7cf6c96a3749b4c26cfbc5853973050e08e2
- pipelines-manual-approval-gate-controller-rhel9@sha256:3327854954430cfdf713abc9286e65c90f3f0d24d34fa20e639d81f4c214f3b5:
    downstream_commit: 7a6a722de8246d3ee986e37d98c7e6cbf835e8c8
    upstream_commit: https://github.com/openshift-pipelines/manual-approval-gate/commit/7a6a722de8246d3ee986e37d98c7e6cbf835e8c8
- pipelines-manual-approval-gate-webhook-rhel9@sha256:05342455ed46cd755d0796eff0d0a223bb2ac8c91219a64fccfab9dfee25f75f:
    downstream_commit: 7a6a722de8246d3ee986e37d98c7e6cbf835e8c8
- pipelines-nop-rhel9@sha256:d7381641cd68ac98f9d5296abb3269175f0c98bfe1d2baeaa6480391af1b3eb2:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-opc-rhel9@sha256:ff343fe4bf3195991e1a2d323b4ab1d61afa95685a4bb5898c8a5bdd76804879:
    downstream_commit: 214d82d7a88e21b849b4da633a1b2a1767da885b
- pipelines-operator-bundle@sha256:4248a428d29411ea3e293dff7b44c890fead586b289315671a28e37b9ff86421:
    downstream_commit: 3512ccd325b14eeb6cc5d891a010113efb398df2
- pipelines-operator-proxy-rhel9@sha256:66bb2eb9394cc902e1bbd0dc4433f6724f1acbaa2da50878966ea281132fb191:
    downstream_commit: 2763bc1c2a0dad0b143896c54e8d027d7b4ec463
    upstream_commit: https://github.com/tektoncd/operator/commit/ea141cf3ee89e9d9ddae590cedca4e934369bb5a
- pipelines-operator-webhook-rhel9@sha256:81f3e13d45a0d265bec6fd77c7506448be7e46f309822aecc07f0d9b3dc6cd8c:
    downstream_commit: 2763bc1c2a0dad0b143896c54e8d027d7b4ec463
    upstream_commit: https://github.com/tektoncd/operator/commit/ea141cf3ee89e9d9ddae590cedca4e934369bb5a
- pipelines-pipelines-as-code-cli-rhel9@sha256:6f155e3fddeaede49ede2cd6421e09a922e58176bb79cb01b35036c085fe3830:
    downstream_commit: 1d15c2dc54c762d778faa1188ab5b6ea4a8f2d12
- pipelines-pipelines-as-code-controller-rhel9@sha256:e1ff572933d7e873c960f18e454b66e77d6e85fe2f5914a4e404eb2d159b00f2:
    downstream_commit: b3e0069015b853bc8d1467d9df91dee864bc1d01
    upstream_commit: https://github.com/openshift-pipelines/pipelines-as-code/commit/842f13c659870f5bb59c94fd2e92f44b18dbe02a
- pipelines-pipelines-as-code-watcher-rhel9@sha256:6ac49e282797890210fb48aefbdad026973b9b87901159431fd5c4ee05439e31:
    downstream_commit: 489a5278330be98fa5b4f94ab0629e226a26d274
    upstream_commit: https://github.com/openshift-pipelines/pipelines-as-code/commit/842f13c659870f5bb59c94fd2e92f44b18dbe02a
- pipelines-pipelines-as-code-webhook-rhel9@sha256:382a7f0526b8612f83f67badbe1ffef4f9bd099374f6c0945d6d75e4915e0ed7:
    downstream_commit: 22528b49a3c5055a6ee425ca40440a13df064ec4
    upstream_commit: https://github.com/openshift-pipelines/pipelines-as-code/commit/842f13c659870f5bb59c94fd2e92f44b18dbe02a
- pipelines-pruner-controller-rhel9@sha256:a303156d2412f548bc53a8d1af404e672c9bd262cf4d74bb4fb3b8144c4c127c:
    downstream_commit: 6dae776fa7aa93c957bb93a0c3e3571facc71eb9
- pipelines-resolvers-rhel9@sha256:b38d4b17e857b97f83fd13edb0ee47706e0a78c144a4229fc9f5d2f42c6046a2:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-results-api-rhel9@sha256:afc9ae423d29e4d10b76a34d51bb8d0f99eb92b63b7ae04d59910e73dcd8188f:
    downstream_commit: 0e262e3d1f0222546652099c9771435f46428471
    upstream_commit: https://github.com/tektoncd/results/commit/ca65ada2293f8a253d934abe68a810e07491e471
- pipelines-results-retention-policy-agent-rhel9@sha256:46426e408f0a9e8e2bfc1aad39d71b546e2393f8d641a5a933e638f7499ed692:
    downstream_commit: f64c04c40af8e15274e75ef8d2a0173a517d35c3
    upstream_commit: https://github.com/tektoncd/results/commit/ca65ada2293f8a253d934abe68a810e07491e471
- pipelines-results-watcher-rhel9@sha256:0275b0c1a82ca1b5d9ba17a7b0560af66fc9ee7f38c4edfc7c6121a69b922751:
    downstream_commit: 6ec6955ead7f221b6257399cd325db1cdf829e24
    upstream_commit: https://github.com/tektoncd/results/commit/ca65ada2293f8a253d934abe68a810e07491e471
- pipelines-rhel9-operator@sha256:7b41cdaec39daaedc791c350d78c12dd236640e0ffc9ed4f8448fc6348c08113:
    downstream_commit: 6d6b2bb6905d20f2fecef48aa8b2666142a887a2
    upstream_commit: https://github.com/openshift-pipelines/operator/commit/ea141cf3ee89e9d9ddae590cedca4e934369bb5a
- pipelines-sidecarlogresults-rhel9@sha256:fd5c526d00bddf3c76da8d6cc4bd0c3eb1fd152cb73cfc9b6f0816112e3a4a0f:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-triggers-controller-rhel9@sha256:298c9db3fa2afddad4dd58f24dc8466b333e7e2704bb3b18d2fce29a6ff043c5:
    downstream_commit: b649fbbfb5222654e4611c034705de3af23e2120
    upstream_commit: https://github.com/tektoncd/triggers/commit/4dbb0a68134832edca75bc7715e4d7599befb5c5
- pipelines-triggers-core-interceptors-rhel9@sha256:93f4748f728efcc4a5d5d3f4a2e1fbf7f49cc259624973e857fd160d8b76831e:
    downstream_commit: c4c2027966ac4b8938d983e476e20992ee1362d0
    upstream_commit: https://github.com/tektoncd/triggers/commit/4dbb0a68134832edca75bc7715e4d7599befb5c5
- pipelines-triggers-eventlistenersink-rhel9@sha256:0704367885821a5a07929a3d4bc245d79e6d347952c7c1c8d8fb44c950f76cde:
    downstream_commit: 63b992b2e15b4f73c4a596974c393798d1d71593
    upstream_commit: https://github.com/tektoncd/triggers/commit/4dbb0a68134832edca75bc7715e4d7599befb5c5
- pipelines-triggers-webhook-rhel9@sha256:9a59aab96b853b8787dd4b6849f9cca0097bc3d28ad2e8dad89a94671f8ed997:
    downstream_commit: 7610d8240a96517019ad8b06bbace18c2657aea1
    upstream_commit: https://github.com/tektoncd/triggers/commit/4dbb0a68134832edca75bc7715e4d7599befb5c5
- pipelines-webhook-rhel9@sha256:f5f5472a0bf7532a3417f65dbe38604e85d337305e8a982b9c500b1249ec6f17:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-workingdirinit-rhel9@sha256:e704c81a1271e256648e66f46ef1c5de692c4deef700ac124b1b99556b8d56d1:
    downstream_commit: 9945e503df504f55c7c4e6c24305a5547463adfb
    upstream_commit: https://github.com/tektoncd/pipeline/commit/43c0bb99fa768ff711ad92445c43179b93232877
- pipelines-serve-tkn-cli-rhel9@sha256:41d669fbe8bb48481890fb9fb52de9d4cac98cb74e6a6b284d046a8d21b06e58: {}
- kn-client-kn-rhel8@sha256:d21cc7e094aa46ba7f6ea717a3d7927da489024a46a6c1224c0b3c5834dcb7a6: {}
- buildah@sha256:a6e04c061b8d261dba85d01dcb64d3f7dba8c0b9765e03f05ec79850a248d75a: {}
- postgresql-13@sha256:36647bd6d50d2e0e9c99ecf190bd515577c7ce9476e49d927c4d4065011e3441: {}
- skopeo@sha256:993f799d58c48151ecae7a84e63860f6c0039e8e18efed5ad67e7752f4b7e408: {}
- source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4: {}
- openjdk-17@sha256:cdbd64ba1b7826d09bc180fa19aa6fbc09ddb5bff5e02b7e1351353bbabebb78: {}
- ubi-minimal@sha256:14f14e03d68f7fd5f2b18a13478b6b127c341b346c86b6e0b886ed2b7573b8e0: {}

@aThorp96 aThorp96 requested a review from enarha August 12, 2025 17:49
@openshift-ci openshift-ci bot requested review from enarha and ramessesii2 August 12, 2025 17:49
Copy link
Contributor

Code Review by Gemini

The following issues and improvements are identified in the code changes:

Issues

  1. Functional Change in Pipelines-as-Code Image Source:
    The removal of IMAGE_PAC_PAC_CONTROLLER, IMAGE_PAC_PAC_WATCHER, and IMAGE_PAC_PAC_WEBHOOK environment variables in the staging configurations (staging/base/main-pipeline-service-configuration.yaml, staging/stone-stage-p01/deploy.yaml, staging/stone-stg-rh01/deploy.yaml) means that the Pipelines-as-Code components will now be sourced from the quay.io/openshift-pipeline registry (as provided by the updated pipelines-index-4.15 image) instead of the previously overridden ghcr.io/gbenhaim registry. This is a significant functional change in the origin of these images. While likely intended as part of an upgrade to official components, it should be explicitly confirmed that this change in image source is desired and has been tested.

    • File: components/pipeline-service/staging/base/main-pipeline-service-configuration.yaml
      --- a/components/pipeline-service/staging/base/main-pipeline-service-configuration.yaml
      +++ b/components/pipeline-service/staging/base/main-pipeline-service-configuration.yaml
      @@ -2084,28 +2084,20 @@ metadata:
        namespace: openshift-operators
       spec:
         channel: pipelines-5.0
         name: openshift-pipelines-operator-rh
         source: custom-operators
         sourceNamespace: openshift-marketplace
         config:
           env:
             - name: AUTOINSTALL_COMPONENTS
               value: "false"
      -      - name: IMAGE_ADDONS_TKN_CLI_SERVE
      -        value: registry.redhat.io/openshift-pipelines/pipelines-serve-tkn-cli-rhel9@sha256:d055d2b35a663aef3e1aafdbed0b12957867c0670c946ebae66e9c44a768bda2
      -      - name: IMAGE_PAC_PAC_CONTROLLER
      -        value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-controller@sha256:dea65f29afcecdd837b0b7389c6824d546b5098bf98ba98f02f27d6a85b0b376
      -      - name: IMAGE_PAC_PAC_WATCHER
      -        value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-watcher@sha256:09964eff749f2fb620ae1500cfc538d0765cf0e29fb2f177abb3521400fad403
      -      - name: IMAGE_PAC_PAC_WEBHOOK
      -        value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-webhook@sha256:440d6f9311d23b994ef68ffe0513eba832b891fdfb6360385bb635ba154f7526
       ---
    • File: components/pipeline-service/staging/stone-stage-p01/deploy.yaml
      --- a/components/pipeline-service/staging/stone-stage-p01/deploy.yaml
      +++ b/components/pipeline-service/staging/stone-stage-p01/deploy.yaml
      @@ -2647,48 +2647,40 @@ spec:
       apiVersion: operators.coreos.com/v1alpha1
       kind: CatalogSource
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
         name: custom-operators
         namespace: openshift-marketplace
       spec:
         displayName: custom-operators
      -  image: quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6788ffeab369f7a773d7022358f67cd93d094003c3b6c82e3278f620e9065135
      +  image: quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6ddc8dfedc41431f7ff577ca93aecf2554dabf20965d05d6e0f512728cdf9b76
         sourceType: grpc
         updateStrategy:
           registryPoll:
             interval: 30m
       ---
       apiVersion: operators.coreos.com/v1alpha1
       kind: Subscription
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
         name: openshift-pipelines-operator
         namespace: openshift-operators
       spec:
         channel: pipelines-5.0
         config:
           env:
           - name: AUTOINSTALL_COMPONENTS
             value: "false"
      -    - name: IMAGE_ADDONS_TKN_CLI_SERVE
      -      value: registry.redhat.io/openshift-pipelines/pipelines-serve-tkn-cli-rhel9@sha256:d055d2b35a663aef3e1aafdbed0b12957867c0670c946ebae66e9c44a768bda2
      -    - name: IMAGE_PAC_PAC_CONTROLLER
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-controller@sha256:dea65f29afcecdd837b0b7389c6824d546b5098bf98ba98f02f27d6a85b0b376
      -    - name: IMAGE_PAC_PAC_WATCHER
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-watcher@sha256:09964eff749f2fb620ae1500cfc538d0765cf0e29fb2f177abb3521400fad403
      -    - name: IMAGE_PAC_PAC_WEBHOOK
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-webhook@sha256:440d6f9311d23b994ef68ffe0513eba832b891fdfb6360385bb635ba154f7526
         name: openshift-pipelines-operator-rh
         source: custom-operators
         sourceNamespace: openshift-marketplace
       ---
    • File: components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
      --- a/components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
      +++ b/components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
      @@ -2659,48 +2659,40 @@ spec:
       apiVersion: operators.coreos.com/v1alpha1
       kind: CatalogSource
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
         name: custom-operators
         namespace: openshift-marketplace
       spec:
         displayName: custom-operators
      -  image: quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6788ffeab369f7a773d7022358f67cd93d094003c3b6c82e3278f620e9065135
      +  image: quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6ddc8dfedc41431f7ff577ca93aecf2554dabf20965d05d6e0f512728cdf9b76
         sourceType: grpc
         updateStrategy:
           registryPoll:
             interval: 30m
       ---
       apiVersion: operators.coreos.com/v1alpha1
       kind: Subscription
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
         name: openshift-pipelines-operator
         namespace: openshift-operators
       spec:
         channel: pipelines-5.0
         config:
           env:
           - name: AUTOINSTALL_COMPONENTS
             value: "false"
      -    - name: IMAGE_ADDONS_TKN_CLI_SERVE
      -      value: registry.redhat.io/openshift-pipelines/pipelines-serve-tkn-cli-rhel9@sha256:d055d2b35a663aef3e1aafdbed0b12957867c0670c946ebae66e9c44a768bda2
      -    - name: IMAGE_PAC_PAC_CONTROLLER
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-controller@sha256:dea65f29afcecdd837b0b7389c6824d546b5098bf98ba98f02f27d6a85b0b376
      -    - name: IMAGE_PAC_PAC_WATCHER
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-watcher@sha256:09964eff749f2fb620ae1500cfc538d0765cf0e29fb2f177abb3521400fad403
      -    - name: IMAGE_PAC_PAC_WEBHOOK
      -      value: ghcr.io/gbenhaim/pipelines-as-code/pipelines-as-code-webhook@sha256:440d6f9311d23b994ef68ffe0513eba832b891fdfb6360385bb635ba154f7526
         name: openshift-pipelines-operator-rh
         source: custom-operators
         sourceNamespace: openshift-marketplace
       ---

Improvements

  1. Consistency in Subscription Naming (Existing Issue):
    In staging/stone-stage-p01/deploy.yaml and staging/stone-stg-rh01/deploy.yaml, the metadata.name for the Subscription resource is openshift-pipelines-operator, while the spec.name (which refers to the package name in the CatalogSource) is openshift-pipelines-operator-rh. For consistency and clarity, it is generally recommended that the metadata.name of the Subscription resource matches the spec.name (the package name). This is an existing inconsistency not introduced by this PR, but it's an opportunity for improvement.

    • File: components/pipeline-service/staging/stone-stage-p01/deploy.yaml

      # Current state:
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: openshift-pipelines-operator # This line
        namespace: openshift-operators
      spec:
        channel: pipelines-5.0
        config:
          env:
          - name: AUTOINSTALL_COMPONENTS
            value: "false"
        name: openshift-pipelines-operator-rh # This line
        source: custom-operators
        sourceNamespace: openshift-marketplace

      Suggested Change:

      --- a/components/pipeline-service/staging/stone-stage-p01/deploy.yaml
      +++ b/components/pipeline-service/staging/stone-stage-p01/deploy.yaml
      @@ -2654,7 +2654,7 @@ kind: Subscription
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
      -  name: openshift-pipelines-operator
      +  name: openshift-pipelines-operator-rh
         namespace: openshift-operators
       spec:
         channel: pipelines-5.0
    • File: components/pipeline-service/staging/stone-stg-rh01/deploy.yaml

      # Current state:
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: openshift-pipelines-operator # This line
        namespace: openshift-operators
      spec:
        channel: pipelines-5.0
        config:
          env:
          - name: AUTOINSTALL_COMPONENTS
            value: "false"
        name: openshift-pipelines-operator-rh # This line
        source: custom-operators
        sourceNamespace: openshift-marketplace

      Suggested Change:

      --- a/components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
      +++ b/components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
      @@ -2666,7 +2666,7 @@ kind: Subscription
       metadata:
         annotations:
           argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
           argocd.argoproj.io/sync-wave: "0"
      -  name: openshift-pipelines-operator
      +  name: openshift-pipelines-operator-rh
         namespace: openshift-operators
       spec:
         channel: pipelines-5.0

@aThorp96 aThorp96 force-pushed the update-osp-dev-stage branch from a58eaa0 to b99d5e4 Compare August 12, 2025 18:02
Copy link
Contributor

Code Review by Gemini

## Code Review

### Issues and Bugs

*   **Inconsistent Environment Variable Configuration:** The `GIT_SSL_CAINFO` environment variable is added to the `tekton-pipelines-remote-resolvers` controller in `production/base/main-pipeline-service-configuration.yaml` and `staging/base/main-pipeline-service-configuration.yaml`, but it is missing from `development/main-pipeline-service-configuration.yaml`. If this environment variable is required for proper functioning (as implied by the comment), it should be consistently applied across all environments.

    **File: `components/pipeline-service/development/main-pipeline-service-configuration.yaml`**

    ```diff
    --- a/components/pipeline-service/development/main-pipeline-service-configuration.yaml
    +++ b/components/pipeline-service/development/main-pipeline-service-configuration.yaml
    @@ -1909,6 +1909,10 @@ spec:
         tekton-pipelines-remote-resolvers:
           spec:
             replicas: 4
             template:
               spec:
                 containers:
                   - name: controller
                     env:
+                      # TODO: this is resolved in next operator release and should be removed when it's deployed
+                      # https://github.com/tektoncd/operator/commit/f5941cd59f6c7724b2c9d3ad84d11e8a425d2738
+                      - name: GIT_SSL_CAINFO
+                        value: /tekton-custom-certs/ca-bundle.crt
                     resources:
                       limits:
                         memory: 10Gi
                       requests:
                         cpu: "500m"
                         memory: 10Gi
         tekton-pipelines-controller:
    ```

### Improvements

*   **Removal of Explicit Image Overrides:** The removal of `IMAGE_ADDONS_TKN_CLI_SERVE`, `IMAGE_PAC_PAC_CONTROLLER`, `IMAGE_PAC_PAC_WATCHER`, and `IMAGE_PAC_PAC_WEBHOOK` environment variables from the `Subscription` configuration in `development` and `staging` environments is a positive change. This suggests that the updated `pipelines-index-4.15` operator bundle now correctly includes and manages these images by default, reducing the need for manual overrides and simplifying the configuration. No specific changes are suggested here, as this appears to be an intended and beneficial simplification.

### General Observations

*   The `CatalogSource` image digest has been correctly updated to `quay.io/openshift-pipeline/pipelines-index-4.15@sha256:6ddc8dfedc41431f7ff577ca93aecf2554dabf20965d05d6e0f512728cdf9b76` across all modified files (`development`, `staging/base`, `staging/stone-stage-p01`, `staging/stone-stg-rh01`), which aligns with the commit body. This is the primary purpose of the commit and is correctly implemented.

@rcerven
Copy link
Contributor

rcerven commented Aug 12, 2025

/lgtm

@aThorp96
Copy link
Contributor Author

/retest

@openshift-ci openshift-ci bot removed the lgtm label Aug 13, 2025
Copy link
Contributor

Code Review by Gemini

## Code Review

### Bug/Issue

**File: `components/pipeline-service/development/main-pipeline-service-configuration.yaml`**

The `GIT_SSL_CAINFO` environment variable, which is added as a workaround in `production` and `staging` environments, is missing from the `development` environment. If this workaround is necessary for the Tekton Operator, it should be applied consistently across all environments where the operator is deployed to prevent potential issues in development.

**Exact lines to change:**

```diff
--- a/components/pipeline-service/development/main-pipeline-service-configuration.yaml
+++ b/components/pipeline-service/development/main-pipeline-service-configuration.yaml
@@ -1909,6 +1909,10 @@ spec:
             template:
               spec:
                 containers:
                   - name: controller
                     env:
+                      # TODO: this is resolved in next operator release and should be removed when it's deployed
+                      # https://github.com/tektoncd/operator/commit/f5941cd59f6c7724b2c9d3ad84d11e8a425d2738
                       - name: GIT_SSL_CAINFO
                         value: /tekton-custom-certs/ca-bundle.crt
                     resources:
                       limits:
                         memory: 10Gi

@gbenhaim
Copy link
Member

/approve
/lgtm

Copy link

openshift-ci bot commented Aug 13, 2025

@aThorp96: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/appstudio-upgrade-tests 0bddac8 link false /test appstudio-upgrade-tests
ci/prow/appstudio-e2e-tests 0bddac8 link true /test appstudio-e2e-tests
ci/prow/konflux-e2e-v416-optional 0bddac8 link false /test konflux-e2e-v416-optional

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@aThorp96
Copy link
Contributor Author

/rebase

@aThorp96 aThorp96 closed this Aug 13, 2025
@aThorp96 aThorp96 force-pushed the update-osp-dev-stage branch from 0bddac8 to b7e62f7 Compare August 13, 2025 12:49
@openshift-ci openshift-ci bot removed the lgtm label Aug 13, 2025
Copy link

openshift-ci bot commented Aug 13, 2025

New changes are detected. LGTM label has been removed.

Copy link

openshift-ci bot commented Aug 13, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aThorp96, gbenhaim, rcerven

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot removed the approved label Aug 13, 2025
Copy link
Contributor

Code Review by Gemini

The provided diff is empty, which means there are no code changes to review.

The commit body contains a log of image information (image names, SHA256 hashes, and associated commit IDs), which appears to be output from a script like osp_index_info.sh. This information is useful for understanding the components being deployed or updated, but it is not code that can be reviewed for bugs or improvements.

To perform a code review, please provide the actual code changes (e.g., configuration files, scripts, or manifests) that correspond to the "update pipelines deployment" mentioned in the commit title. Without code, I cannot identify issues, suggest improvements, or specify lines to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants