forked from vmware-archive/concourse-pipeline-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inline-pipeline.yml
59 lines (56 loc) · 1.29 KB
/
inline-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
groups:
- name: main
jobs:
- check-os-version
- issue-ls-command
resources:
- name: concourse-pipeline-samples
type: git
source:
branch: master
uri: https://github.com/pivotalservices/concourse-pipeline-samples.git
jobs:
- name: check-os-version
serial: true
public: true
plan:
- get: concourse-pipeline-samples
trigger: true
- task: check-image-os-version
config:
platform: linux
image_resource:
type: docker-image
source:
repository: <your-ip-address-goes-here>:5000/ubuntu
tag: "latest"
insecure_registries: [ "<your-ip-address-goes-here>:5000" ]
inputs:
- name: concourse-pipeline-samples
run:
path: cat
args:
- "/etc/lsb-release"
- name: issue-ls-command
serial: true
public: true
plan:
- get: concourse-pipeline-samples
trigger: true
passed:
- check-os-version
- task: issue-ls-command
config:
platform: linux
image_resource:
type: docker-image
source:
repository: <your-ip-address-goes-here>:5000/ubuntu
tag: "latest"
insecure_registries: [ "<your-ip-address-goes-here>:5000" ]
inputs:
- name: concourse-pipeline-samples
run:
path: ls
args:
- "-la"