Skip to content

Commit

Permalink
docs: Clean-up examples. Fixes argoproj#4124 (argoproj#4128)
Browse files Browse the repository at this point in the history
  • Loading branch information
secretlifeof committed Nov 19, 2020
1 parent 4998b2d commit 6e2b0cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ In case you want to follow along with this walkthrough, here's a quick overview
argo submit hello-world.yaml # submit a workflow spec to Kubernetes
argo list # list current workflows
argo get hello-world-xxx # get info about a specific workflow
argo logs -w hello-world-xxx # get logs from all steps in a workflow
argo logs hello-world-xxx-yyy # get logs from a specific step in a workflow
argo logs hello-world-xxx # print the logs from a workflow
argo delete hello-world-xxx # delete workflow
```

Expand All @@ -66,7 +65,7 @@ kubectl delete wf hello-world-xxx

Let's start by creating a very simple workflow template to echo "hello world" using the docker/whalesay container image from DockerHub.

You can run this directly from your shell with a simple docker command:
You can run this directly from your shell with a simple docker command:

```sh
$ docker run docker/whalesay cowsay "hello world"
Expand Down Expand Up @@ -1521,4 +1520,4 @@ spec:

Continuous integration is a popular application for workflows. Currently, Argo does not provide event triggers for automatically kicking off your CI jobs, but we plan to do so in the near future. Until then, you can easily write a cron job that checks for new commits and kicks off the needed workflow, or use your existing Jenkins server to kick off the workflow.

A good example of a CI workflow spec is provided at https://github.com/argoproj/argo/tree/master/examples/influxdb-ci.yaml. Because it just uses the concepts that we've already covered and is somewhat long, we don't go into details here.
A good example of a CI workflow spec is provided at https://github.com/argoproj/argo/tree/master/examples/influxdb-ci.yaml. Because it just uses the concepts that we've already covered and is somewhat long, we don't go into details here.

0 comments on commit 6e2b0cf

Please sign in to comment.