PT #162599228: Theia extensions publish job stage 1
This commit is contained in:
@@ -815,6 +815,62 @@ jobs:
|
||||
text: |
|
||||
Build ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has succeed!
|
||||
Release candidate available for testing $TEXT_FILE_CONTENT
|
||||
- name: publish-theia-release
|
||||
serial: true
|
||||
plan:
|
||||
- aggregate:
|
||||
- get: tasks
|
||||
- get: sts4
|
||||
passed:
|
||||
- build-theia-cf-manifest-yaml-rc
|
||||
- build-theia-concourse-rc
|
||||
- build-theia-bosh-rc
|
||||
- build-theia-spring-boot-rc
|
||||
- get: theia-version
|
||||
passed:
|
||||
- build-theia-concourse-rc
|
||||
- build-theia-cf-manifest-yaml-rc
|
||||
- build-theia-bosh-rc
|
||||
- build-theia-spring-boot-rc
|
||||
params:
|
||||
bump: final
|
||||
- get: s3-concourse-theia-snapshot
|
||||
passed:
|
||||
- build-theia-concourse-rc
|
||||
- get: s3-cf-manifest-yaml-theia-snapshot
|
||||
passed:
|
||||
- build-theia-cf-manifest-yaml-rc
|
||||
- get: s3-bosh-theia-snapshot
|
||||
passed:
|
||||
- build-theia-bosh-rc
|
||||
- get: s3-spring-boot-theia-snapshot
|
||||
passed:
|
||||
- build-theia-spring-boot-rc
|
||||
- task: publish-theia-releases
|
||||
file: tasks/concourse/tasks/publish-theia-releases.yml
|
||||
input_mapping:
|
||||
sts4: tasks
|
||||
on_failure:
|
||||
put: slack-notification
|
||||
params:
|
||||
text: |
|
||||
Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has failed!
|
||||
on_success:
|
||||
put: slack-notification
|
||||
params:
|
||||
channel: "#tools-team-internal"
|
||||
text_file: theia-version/version
|
||||
text: |
|
||||
STS 4 Theia Extensions $TEXT_FILE_CONTENT released
|
||||
Releases now available on Vscode Marketplace:
|
||||
• <https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-manifest-yaml|Cloudfoundry Manifest Editor>
|
||||
• <https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-concourse|Concourse CI Pipeline Editor>
|
||||
• <https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-bosh|Bosh Deployment Manifest Editor>
|
||||
• <https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-spring-boot|Spring Boot Support>
|
||||
# - aggregate:
|
||||
# - put: theia-version
|
||||
# params:
|
||||
# file: theia-version/version
|
||||
|
||||
- name: build-concourse-rc
|
||||
plan:
|
||||
@@ -1075,6 +1131,9 @@ jobs:
|
||||
- get: version
|
||||
params:
|
||||
bump: patch
|
||||
- get: theia-version
|
||||
params:
|
||||
bump: patch
|
||||
- task: bump-versions
|
||||
file: sts4/concourse/tasks/bump-versions.yml
|
||||
- put: sts4
|
||||
@@ -1084,6 +1143,9 @@ jobs:
|
||||
- put: version
|
||||
params:
|
||||
file: version/version
|
||||
- put: theia-version
|
||||
params:
|
||||
file: theia-version/version
|
||||
- name: bump-version-minor
|
||||
serial: true
|
||||
plan:
|
||||
@@ -1092,6 +1154,9 @@ jobs:
|
||||
- get: version
|
||||
params:
|
||||
bump: minor
|
||||
- get: theia-version
|
||||
params:
|
||||
bump: minor
|
||||
- task: bump-versions
|
||||
file: sts4/concourse/tasks/bump-versions.yml
|
||||
- put: sts4
|
||||
@@ -1101,6 +1166,9 @@ jobs:
|
||||
- put: version
|
||||
params:
|
||||
file: version/version
|
||||
- put: theia-version
|
||||
params:
|
||||
file: theia-version/version
|
||||
- name: bump-version-major
|
||||
serial: true
|
||||
plan:
|
||||
@@ -1109,6 +1177,9 @@ jobs:
|
||||
- get: version
|
||||
params:
|
||||
bump: major
|
||||
- get: theia-version
|
||||
params:
|
||||
bump: major
|
||||
- task: bump-versions
|
||||
file: sts4/concourse/tasks/bump-versions.yml
|
||||
- put: sts4
|
||||
@@ -1118,6 +1189,9 @@ jobs:
|
||||
- put: version
|
||||
params:
|
||||
file: version/version
|
||||
- put: theia-version
|
||||
params:
|
||||
file: theia-version/version
|
||||
# - name: build-atom-snapshot-website
|
||||
# serial: true
|
||||
# plan:
|
||||
@@ -1391,6 +1465,7 @@ groups:
|
||||
- build-theia-cf-manifest-yaml-rc
|
||||
- build-theia-spring-boot-rc
|
||||
- trigger-theia-rc-build
|
||||
- publish-theia-release
|
||||
- build-cf-manifest-yaml-theia-snapshot
|
||||
- build-concourse-theia-snapshot
|
||||
- build-bosh-theia-snapshot
|
||||
|
||||
17
concourse/tasks/publish-theia-releases.sh
Normal file
17
concourse/tasks/publish-theia-releases.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
workdir=`pwd`
|
||||
|
||||
theia_tgz_files=`ls ${workdir}/s3-*-theia-*/theia-*.tgz`
|
||||
|
||||
for theia_tgz_file in $theia_tgz_files
|
||||
do
|
||||
echo "****************************************************************"
|
||||
echo "*** Publishing : ${theia_tgz_file}"
|
||||
echo "****************************************************************"
|
||||
echo ""
|
||||
echo "We are running the following command:"
|
||||
echo ""
|
||||
echo " npm publish $theia_tgz_file --access public"
|
||||
echo ""
|
||||
done
|
||||
14
concourse/tasks/publish-theia-releases.yml
Normal file
14
concourse/tasks/publish-theia-releases.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
inputs:
|
||||
- name: sts4
|
||||
- name: s3-cf-manifest-yaml-theia-snapshot
|
||||
- name: s3-concourse-theia-snapshot
|
||||
- name: s3-bosh-theia-snapshot
|
||||
- name: s3-spring-boot-theia-snapshot
|
||||
platform: linux
|
||||
run:
|
||||
path: sts4/concourse/tasks/publish-theia-releases.sh
|
||||
image_resource:
|
||||
type: docker-image
|
||||
source:
|
||||
repository: kdvolder/sts4-build-env
|
||||
|
||||
@@ -41,7 +41,9 @@ cat > package.json << EOF
|
||||
"@theia/markers": "latest",
|
||||
"@theia/monaco": "latest",
|
||||
"@theia/typescript": "latest",
|
||||
"@theia/messages": "latest"
|
||||
"@theia/messages": "latest",
|
||||
"@theia/java": "latest",
|
||||
"@theia/textmate-grammars": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@theia/cli": "latest"
|
||||
|
||||
Reference in New Issue
Block a user