Skip to content

Commit

Permalink
#118: Seems that the `tkn pipelinerun logs $PIPELINE_RUN_NAME --follo…
Browse files Browse the repository at this point in the history
…w` has a problem getting stuck.

Trying with adding --all
  • Loading branch information
jonashackt committed Mar 17, 2023
1 parent 8e404a1 commit 2bc4419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ jobs:
PIPELINE_RUN_NAME=$(kubectl create -f tekton/pipelines/pipeline-run.yml --output=jsonpath='{.metadata.name}')
echo "--- Show Tekton PipelineRun logs"
tkn pipelinerun logs $PIPELINE_RUN_NAME --follow
tkn pipelinerun logs $PIPELINE_RUN_NAME --follow --all
echo "--- Check if Tekton PipelineRun Failed & exit GitHub Actions Step accordingly"
kubectl get pipelineruns $PIPELINE_RUN_NAME --output=jsonpath='{.status.conditions[*].reason}' | grep Failed && exit 1 || exit 0
Expand Down

0 comments on commit 2bc4419

Please sign in to comment.