-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpipeline.yaml
51 lines (51 loc) · 1.33 KB
/
pipeline.yaml
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
---
resource_types:
- name: config
type: git
source:
uri: ((pipeline-repo))
private_key: ((github-private_key))
branch: main
- name: pivnet
type: docker-image
source:
repository: pivotalcf/pivnet-resource
tag: latest-final
resources:
- name: platform-automation
type: pivnet
source:
product_slug: platform-automation
api_token: ((pivnet-api-key))
jobs:
- name: install-ops-manager
serial: true
plan:
- get: platform-automation-image
resource: platform-automation
params:
globs: ["*image*.tgz"]
unpack: true
- get: platform-automation-tasks
resource: platform-automation
params:
globs: ["*tasks*.zip"]
unpack: true
- task: test
image: platform-automation-image
file: platform-automation-tasks/tasks/test.yml
- get: config
- task: prepare-tasks-with-secrets
image: platform-automation-image
file: platform-automation-tasks/tasks/prepare-tasks-with-secrets.yml
input_mapping:
tasks: platform-automation-tasks
output_mapping:
tasks: platform-automation-tasks
params:
CONFIG_PATHS: config
- task: download-product
image: platform-automation-image
file: platform-automation-tasks/tasks/download-product.yml
params:
CONFIG_FILE: download-ops-manager.yml