Merge branch 'master' of github.com:spring-projects/sts4

This commit is contained in:
Kris De Volder
2017-08-14 14:02:43 -07:00

View File

@@ -37,6 +37,12 @@ resources:
branch: {{branch}}
private_key: {{rsa_id}}
uri: git@github.com:spring-projects/atom-concourse.git
- name: atom-bosh
type: git
source:
branch: {{branch}}
private_key: {{rsa_id}}
uri: git@github.com:spring-projects/atom-bosh.git
- name: tasks
type: git
source:
@@ -131,6 +137,14 @@ resources:
secret_access_key: {{s3_secretkey}}
region_name: {{s3_region}}
regexp: sts4/atom/snapshots/concourse-pipeline-yaml-(.*).tgz
- name: s3-atom-bosh-snapshot
type: s3
source:
bucket: {{s3_bucket}}
access_key_id: {{s3_accesskey}}
secret_access_key: {{s3_secretkey}}
region_name: {{s3_region}}
regexp: sts4/atom/snapshots/bosh-yaml-(.*).tgz
- name: snapshot-website
type: s3-multi
source:
@@ -606,4 +620,32 @@ jobs:
- put: s3-atom-concourse-snapshot
params:
file: out/concourse-pipeline-yaml-*.tgz
acl: public-read
- name: build-bosh-yaml-atom-package
plan:
- aggregate:
- get: sts4
passed:
- atom-language-servers-test
- get: atom-bosh
trigger: true
- get: s3-bosh-fatjar-snapshot
trigger: true
passed:
- atom-language-servers-test
- task: build-bosh-yaml-atom-package
input_mapping:
package_sources: atom-bosh
fatjar: s3-bosh-fatjar-snapshot
file: sts4/concourse/tasks/build-atom-package.yml
on_failure:
put: slack-notification
params:
text: |
Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has failed!
on_success:
aggregate:
- put: s3-atom-bosh-snapshot
params:
file: out/bosh-yaml-*.tgz
acl: public-read