Remove example dir
* This should not be used as a canonical pipeline, and examples of the time resource and parallel jobs exist in the documentation Signed-off-by: Denise Yu <dyu@pivotal.io>
This commit is contained in:
parent
cb9e92d7ee
commit
ec872512b9
|
@ -80,8 +80,8 @@ Concourse instance to the next.
|
|||
|
||||
### Learn More
|
||||
|
||||
* The [Official Site](https://concourse-ci.org) for documentation and
|
||||
reference material.
|
||||
* The [Official Site](https://concourse-ci.org) for documentation,
|
||||
reference material, and example pipelines (which no longer live in this repository).
|
||||
* The [Concourse Tutorial](https://concoursetutorial.com) by Stark & Wayne is
|
||||
great for a guided introduction to all the core concepts.
|
||||
* See Concourse in action with our [production pipelines](https://ci.concourse-ci.org/)
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
resource_types:
|
||||
- name: time
|
||||
type: registry-image
|
||||
source:
|
||||
repository: concourse/time-resource
|
||||
|
||||
resources:
|
||||
- name: every-minute
|
||||
type: time
|
||||
source:
|
||||
interval: 1m
|
||||
|
||||
config: &config
|
||||
platform: linux
|
||||
image_resource:
|
||||
type: registry-image
|
||||
source:
|
||||
repository: busybox
|
||||
run:
|
||||
path: /bin/sh
|
||||
args:
|
||||
- -cex
|
||||
- |
|
||||
sleep 10
|
||||
echo hello world
|
||||
|
||||
jobs:
|
||||
- name: test-parallel
|
||||
plan:
|
||||
- get: every-minute
|
||||
trigger: true
|
||||
- in_parallel:
|
||||
limit: 3
|
||||
steps:
|
||||
- task: echo1
|
||||
config: *config
|
||||
- task: echo2
|
||||
config:
|
||||
platform: linux
|
||||
image_resource:
|
||||
type: registry-image
|
||||
source:
|
||||
repository: busybox
|
||||
run:
|
||||
path: /bin/sh
|
||||
args:
|
||||
- -cex
|
||||
- |
|
||||
sleep 5
|
||||
eccho
|
||||
- task: echo3
|
||||
config: *config
|
||||
- task: echo4
|
||||
config: *config
|
||||
fail_fast: true
|
Loading…
Reference in New Issue