From ade1506a4da268e051ca21768fdb96164848c657 Mon Sep 17 00:00:00 2001 From: Michael Petersen Date: Fri, 19 Jun 2020 10:10:28 -0700 Subject: [PATCH] Updated goodbye world example so that it matches the hello world example - Also updated the output from hello goodbye to goodbye world --- content/en/docs/Getting Started/pipelines.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/en/docs/Getting Started/pipelines.md b/content/en/docs/Getting Started/pipelines.md index 57bb11f..5de6065 100644 --- a/content/en/docs/Getting Started/pipelines.md +++ b/content/en/docs/Getting Started/pipelines.md @@ -32,9 +32,10 @@ spec: steps: - name: goodbye image: ubuntu - script: | - set -e - echo "Goodbye World!" + command: + - echo + args: + - "Goodbye World!" ``` Write the YAML above to a file named `task-goodbye.yaml`, and apply it to your Kubernetes cluster: @@ -93,7 +94,7 @@ It may take a few moments before your `Task` completes. When it executes, it sho show the following output: ``` -[goodbye] Hello Goodbye! +[goodbye] Goodbye World! ``` To create a `Pipeline`, create a Kubernetes object using the Tekton API with -- GitLab