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

Adds Describe CLI command to describe the approval task

XMLWordPrintable

    • Pipelines Sprint Pioneers 2, Pipelines Sprint Pioneers 3, Pipelines Sprint Pioneers 4, Pipelines Sprint Pioneers 5, Pipelines Sprint Pioneers 6

      • Describe the approval task 
      • Global Flags
      • –kubeconfig  → kubectl config file
      • –namespace  → namespace to use
      • UX
        tkn approvaltask describe <approvalTaskName>
        tkn at desc <approvalTaskName> 

        Output

       

      Name:           foo
      Namespace:      default
      Timeout:        1h0m0s
      Labels:
        tekton.dev/customRun: foo-wait
        tekton.dev/memberOf: tasks
        tekton.dev/pipeline: foo8m9h
        tekton.dev/pipelineRun: foo8m9h
        tekton.dev/pipelineTask: wait
      
      
      
      👥 Approvers
         * bar
         * tekton
         * user1
         * user2
      
      
      
      🧑‍💻 ApproverResponse
      
         Name ApprovedAs Message
       * bar  ✅  lgtm
      
      
      
      🌡️  Status
      
        NumberOfApprovalsRequired PendingApprovals STATUS
        3                          2               wait/approved/rejected
      

       

              ppunamiy Puneet Punamiya
              ppunamiy Puneet Punamiya
              Rupali Behera Rupali Behera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: