forked from BrianMMcClain/mysql-concourse-resource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.yml
37 lines (36 loc) · 788 Bytes
/
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
resource_types:
- name: mysql
type: docker-image
source:
repository: brianmmcclain/mysql-concourse-resource
tag: 0.0.1
resources:
- name: my-mysql
type: mysql
source:
host: ((host))
user: ((user))
password: ((password))
database: ((database))
table: ((table))
jobs:
- name: hello-world
plan:
- get: my-mysql
trigger: true
- task: show-result
config:
inputs:
- name: my-mysql
platform: linux
image_resource:
type: docker-image
source: {repository: ubuntu}
run:
path: cat
args: ["./my-mysql/concourse-mysql-resource.XXXXXX"]
- put: my-mysql
params:
sql_path: ./my-mysql/concourse-mysql-resource.XXXXXX
column: processed
value: true