Start fleshing out the 'publish vsix' bits of our pipeline

This commit is contained in:
Kris De Volder
2017-05-10 16:15:17 -07:00
parent 2f6c385916
commit 2c37d28864
2 changed files with 57 additions and 0 deletions

View File

@@ -288,6 +288,51 @@ jobs:
text: |
Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has succeed!
Release candidate available for testing $TEXT_FILE_CONTENT
- name: publish-release
serial: true
plan:
- aggregate:
- get: sts4
- get: s3-concourse-vsix-snapshot
passed:
- build-concourse-rc
- get: s3-manifest-yaml-vsix-snapshot
passed:
- build-manifest-yaml-rc
- get: version
passed:
- build-concourse-rc
- build-manifest-yaml-rc
params:
bump: final
- task: publish-vsix-releases
file: sts4/concourse/tasks/publish-vsix-releases.yml
on_failure:
put: slack-notification
params:
channel: "@kdvolder"
text: |
Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has failed!
on_success:
put: slack-notification
params:
channel: "@kdvolder"
text_file: version/version
text: |
STS 4 VScode Extensions $TEXT_FILE_CONTENT released
Releases now available on Vscode Marketplace:
- [Cloudfoundry Manifest YML Support](https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-manifest-yaml)
- [Concourse CI Pipeline Editor](https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-concourse)
- aggregate:
- put: sts4-out
params:
repository: sts4
only_tag: true
tag: version/version
tag_prefix: V_
- put: version
params:
file: version/version
- name: build-snapshot-website
serial: true
plan:

View File

@@ -0,0 +1,12 @@
inputs:
- name: sts4
- name: s3-manifest-yaml-vsix-snapshot
- name: s3-concourse-vsix-snapshot
platform: linux
run:
path: sts4/concourse/tasks/publish-vsix-releases.sh
image_resource:
type: docker-image
source:
repository: kdvolder/sts4-build-env