Created
October 21, 2019 17:49
-
-
Save clhynfield/bf488894c0b27d967161c56624011c6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The pipeline downloads dependencies consumed by the tasks and places them into | |
# a trusted storage provider (artifactory in this case). This helps other | |
# concourse deployments without internet access retrieve task dependencies. | |
resource_types: | |
- name: pivnet | |
type: docker-image | |
source: | |
repository: pivotalcf/pivnet-resource | |
tag: latest-final | |
| |
- name: artifactory | |
type: docker-image | |
source: | |
repository: malston/artifactory-resource | |
| |
resources: | |
- name: platform-automation-pivnet | |
type: pivnet | |
source: | |
api_token: ((pivnet_token)) | |
product_slug: platform-automation | |
product_version: ((pcf_automation_version)) | |
sort_by: semver | |
| |
- name: platform-automation-tasks | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "platform-automation-tasks-(?<version>.*).zip" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
- name: platform-automation-image | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "platform-automation-image-(?<version>.*).tgz" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
- name: pas-product | |
type: pivnet | |
source: | |
api_token: ((pivnet_token)) | |
product_slug: elastic-runtime | |
product_version: ((pas_version_regex)) | |
sort_by: semver | |
| |
- name: pas-product-file | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "cf-(?<version>.*).pivotal" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
- name: healthwatch-product | |
type: pivnet | |
source: | |
api_token: ((pivnet_token)) | |
product_slug: p-healthwatch | |
product_version: ((healthwatch_version_regex)) | |
sort_by: semver | |
| |
- name: healthwatch-product-file | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "p-healthwatch-(?<version>.*).pivotal" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
- name: opsman-image | |
type: pivnet | |
source: | |
api_token: ((pivnet_token)) | |
product_slug: ops-manager | |
product_version: ((opsman_image_wildcard)) | |
sort_by: semver | |
| |
- name: opsman-image-blob | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "pcf-vsphere-(?<version>.*).ova" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
- name: stemcell | |
type: pivnet | |
source: | |
api_token: ((pivnet_token)) | |
product_slug: stemcells | |
product_version: ((stemcell_version_regex)) | |
sort_by: semver | |
| |
- name: stemcell-blob | |
type: artifactory | |
source: | |
endpoint: ((artifactory_url)) | |
repository: ((artifactory_repo)) | |
regex: "bosh-stemcell-(?<version>.*)-vsphere-esxi-ubuntu-trusty-go_agent.tgz" | |
username: ((artifactory_username)) | |
password: ((artifactory_password)) | |
skip_ssl_verification: true | |
| |
jobs: | |
- name: get-platform-automation | |
plan: | |
- get: platform-automation-pivnet | |
trigger: true | |
- aggregate: | |
- put: platform-automation-tasks | |
params: | |
file: platform-automation-pivnet/*tasks-*.zip | |
- put: platform-automation-image | |
params: | |
file: platform-automation-pivnet/*image-*.tgz | |
| |
- name: get-stemcell | |
plan: | |
- get: stemcell | |
trigger: true | |
params: | |
globs: | |
- bosh-stemcell-*vsphere-* | |
- put: stemcell-blob | |
params: | |
file: stemcell/bosh-stemcell-* | |
| |
- name: get-pas-product | |
plan: | |
- get: pas-product | |
params: | |
globs: ["cf*.pivotal"] | |
trigger: true | |
- put: pas-product-file | |
params: | |
file: pas-product/cf-*.pivotal | |
| |
- name: get-healthwatch-product | |
plan: | |
- get: healthwatch-product | |
params: | |
globs: ["p-healthwatch*.pivotal"] | |
trigger: true | |
- put: healthwatch-product-file | |
params: | |
file: healthwatch-product/p-healthwatch-*.pivotal | |
| |
- name: get-opsman-image | |
plan: | |
- get: opsman-image | |
params: | |
globs: ["pcf-vsphere-*.ova"] | |
trigger: true | |
- put: opsman-image-blob | |
params: | |
file: opsman-image/pcf-vsphere-*.ova |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment