diff --git a/concourse/pipeline.yml b/concourse/pipeline.yml index c3c60b333..23c5e3867 100644 --- a/concourse/pipeline.yml +++ b/concourse/pipeline.yml @@ -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 \ No newline at end of file