Last active
December 12, 2017 13:20
-
-
Save alext/e2de098f733b203bd350e4ccbacfe986 to your computer and use it in GitHub Desktop.
Concourse pipeline that displays a Christmas tree.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: 'x' | |
type: time | |
source: | |
interval: 20s | |
check_every: 20s | |
- name: 'y' | |
type: time | |
source: | |
interval: 2000h | |
jobs: | |
- name: + | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: false | |
- name: +=+=+= | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [19] | |
- name: =+=+=+=+=+= | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [10] | |
- name: +=+=+=+=+=+=+=+=+ | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [19] | |
- name: =+=+=+=+=+=+=+=+=+=+=+ | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [10] | |
- name: +=+=+=+=+=+=+=+=+=+=+=+=+=+= | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [19] | |
- name: =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | |
serial: true | |
plan: | |
- get: 'x' | |
trigger: true | |
- get: 'y' | |
trigger: true | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [10] | |
- name: +++ | |
serial: true | |
plan: | |
- get: 'y' | |
trigger: true | |
- task: shine | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: alpine | |
run: | |
path: sleep | |
args: [59] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment