Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-10894

Leverage PVC + caching in release-tests timeouts

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • QA
    • None

      Story (Required)

       

      Approach (Required)

              mkdir -p /gocache/cache
              mkdir -p /gocache/mod
              export GOCACHE=/gocache/cache
              export GOMODCACHE=/gocache/modThis sets up the cache. Inorder to reuse it, you need to have a PVC  workspaces:
          - mountPath: /gocache
      
            name: gitops-gocache.  ---> This is added in the task
            In the pipeline as well, root level:  workspaces:
          - description: Use a PVC named "gitops-gocache".
            name: gitops-gocachetask level:      workspaces:
              - name: gitops-gocache
                workspace: gitops-gocache ---> Increased memory in the task:  steps:
         
      
       - computeResources:
              limits:
                cpu: '2'
                memory: 4Gi
              requests:
                cpu: 500m
                memory: 2Gi 

       

      Done Checklist

      • Code is completed, reviewed, documented and checked in
      • Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
      • Continuous Delivery pipeline(s) is able to proceed with new code included
      • Customer facing documentation, API docs etc. are produced/updated, reviewed and published
      • Acceptance criteria are met

              rh-ee-anataraj Anitha Natarajan
              rhn-support-sselvan Sri Vignesh Selvan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: