-
Notifications
You must be signed in to change notification settings - Fork 28
/
vsphere-cleaner.yml
60 lines (57 loc) · 1.22 KB
/
vsphere-cleaner.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
60
resources:
- name: git-kubo-ci
type: git
source:
uri: https://github.com/pivotal-cf-experimental/kubo-ci
branch: master
paths:
- src/vsphere-cleaner/*
- name: gcs-vsphere-cleaner
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-public
versioned_file: vsphere-cleaner
resource_types:
- name: gcs
type: docker-image
source:
repository: frodenas/gcs-resource
jobs:
- name: tests
plan:
- get: git-kubo-ci
trigger: true
- task: run-tests
config:
platform: linux
image_resource: &image_resource
type: docker-image
source:
repository: gcr.io/cf-pks-golf/pcfkubo/test-runner
tag: stable
inputs:
- name: git-kubo-ci
run:
path: git-kubo-ci/src/vsphere-cleaner/run-tests
- name: publish
plan:
- get: git-kubo-ci
trigger: true
passed:
- tests
- task: generate-binary
config:
platform: linux
image_resource: *image_resource
inputs:
- name: git-kubo-ci
run:
path: git-kubo-ci/src/vsphere-cleaner/generate-binary
args:
- outputs
outputs:
- name: outputs
- put: gcs-vsphere-cleaner
params:
file: outputs/vsphere-cleaner