Skip to content

Commit 6da6762

Browse files
authored
Merge pull request #78 from joellord/master
Fixed Tekton version
2 parents 8d8e5af + 5fb891e commit 6da6762

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.workshop/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mv -f code/* . && rmdir code
2020
mkdir -p .bin && echo "export PATH=$HOME/.bin:$PATH" >> .bash_profile
2121

2222
# Releases for Tekton CLI at: https://github.com/tektoncd/cli/releases
23-
TKN_CLI_VERSION=0.5.0
23+
TKN_CLI_VERSION=0.7.0
2424
curl -kL https://github.com/tektoncd/cli/releases/download/v${TKN_CLI_VERSION}/tkn_${TKN_CLI_VERSION}_Linux_x86_64.tar.gz -o /tmp/tkn.tar.gz && \
2525
tar -xvzf /tmp/tkn.tar.gz -C /tmp && \
2626
chmod 755 /tmp/tkn && \

workshop/content/08trigger-pipeline.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ tkn pipeline start deploy-pipeline \
4545

4646
After running this command, the pipeline you created earlier is now running. Some pods get created to execute the tasks defined as part of the pipeline. After 4-5 minutes, the pipeline run should finish successfully.
4747

48-
Additionally, you will begin to see the pipeline run logs immediately after the pod for the first task is done initializing.
49-
5048
== Tekton CLI Logs
5149

50+
To see the logs for your Tekton pipeline run, you can use the provided command or run the following:
51+
52+
[source,bash,role=execute]
53+
----
54+
tkn pipelinerun logs $(tkn pipelineruns list | grep deploy-pipeline-run | awk '{print $1, $8}') -f
55+
----
56+
5257
The logs output tells you what tasks are running as well as what step it is running. You’ll see the output structured as [task_name : step_name]. An example from this pipeline run is below for the _generate_ step of the build task:
5358

5459
[source,bash]

0 commit comments

Comments
 (0)