forked from cloudfoundry-community/logsearch-boshrelease
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.concourse.yml
50 lines (48 loc) · 1.15 KB
/
.concourse.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
jobs:
- name: pr tests
public: true
serial: true
plan:
- get: git-pull-requests
trigger: true
version: every
- put: git-pull-requests
params:
path: git-pull-requests
status: pending
- task: test-pr
privileged: true
config:
image_resource:
type: docker-image
source:
repository: andreikrasnitski/logsearch-pr
tag: latest
inputs:
- name: git-pull-requests
platform: linux
run:
path: bash
args: ['-c', 'cd git-pull-requests/src/logsearch-config && bundle install && bundle exec rake']
on_success:
put: git-pull-requests
params:
path: git-pull-requests
status: success
on_failure:
put: git-pull-requests
params:
path: git-pull-requests
status: failure
resources:
- name: git-pull-requests
type: pull-request
source:
access_token: {{github-access-token}}
private_key: {{github-private-key}}
repo: {{github-repo}}
resource_types:
- name: pull-request
type: docker-image
source:
repository: jtarchie/pr