Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(KFLUXVNGD-157): Add custom certificate support for coverity-oci-ta task #1867

Closed
wants to merge 1 commit into from

Conversation

hmariset
Copy link
Contributor

Add param to support the custom certificate support for coverity-check-oci-ta task to connect to internal registry. For this we have updated the use-trusted-artifact step, which download/upload the artifact from/to a registry.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-157

…-ta task

Add param to support the custom certificate support for coverity-check-oci-ta task
to connect to internal registry. For this we have updated the use-trusted-artifact
step, which download/upload the artifact from/to a registry.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-157
Signed-off-by: Homaja Marisetty <[email protected]>
@hmariset hmariset requested review from kdudka and a team as code owners January 28, 2025 18:43
@hmariset hmariset requested review from yftacherzog and a team January 28, 2025 18:44
Copy link
Contributor

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that coverity-availability-check-oci-ta/0.1 is now obsoleted by coverity-availability-check-oci-ta/0.2, which is a symlink to coverity-availability-check/0.2: https://github.com/konflux-ci/build-definitions/blob/e3d943064ac3f74fa462d54ba4020077d0091a11/task/coverity-availability-check-oci-ta/0.2/coverity-availability-check-oci-ta.yaml

@@ -29,6 +29,15 @@ spec:
description: The Trusted Artifact URI pointing to the artifact with
the application source code.
type: string
- name: caTrustConfigMapKey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hmariset Could you please check the CI failure? https://github.com/konflux-ci/build-definitions/actions/runs/13017347426/job/36309685062?pr=1867

I get the same diff when I run hack/generate-ta-tasks.sh locally:

--- a/task/coverity-availability-check-oci-ta/0.1/coverity-availability-check-oci-ta.yaml
+++ b/task/coverity-availability-check-oci-ta/0.1/coverity-availability-check-oci-ta.yaml
@@ -29,15 +29,6 @@ spec:
       description: The Trusted Artifact URI pointing to the artifact with
         the application source code.
       type: string
-    - name: caTrustConfigMapKey
-      description: The name of the key in the ConfigMap that contains the
-        CA bundle data.
-      type: string
-      default: ca-bundle.crt
-    - name: caTrustConfigMapName
-      description: The name of the ConfigMap to read CA bundle data from.
-      type: string
-      default: trusted-ca
   results:
     - name: STATUS
       description: Tekton task simple status to be later checked
@@ -54,13 +45,6 @@ spec:
         secretName: $(params.COV_LICENSE)
     - name: workdir
       emptyDir: {}
-    - name: trusted-ca
-      configMap:
-        items:
-          - key: $(params.caTrustConfigMapKey)
-            path: ca-bundle.crt
-        name: $(params.caTrustConfigMapName)
-        optional: true
   stepTemplate:
     volumeMounts:
       - mountPath: /var/workdir

@hmariset
Copy link
Contributor Author

Closing this PR since this task is deprecated and removed from docker-build-oci-ta pipeline recently.

@hmariset hmariset closed this Jan 31, 2025
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.

2 participants