Add a output to 'build-vsix' task
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
fly -t tools destroy-pipeline -p sts4
|
||||
branch=`git rev-parse --abbrev-ref HEAD`
|
||||
fly -t tools destroy-pipeline -p sts4-${branch}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ resources:
|
||||
type: git
|
||||
source:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: master
|
||||
branch: {{branch}}
|
||||
username: kdvolder
|
||||
private_key: {{rsa_id}}
|
||||
paths:
|
||||
@@ -18,7 +18,7 @@ resources:
|
||||
type: git
|
||||
source:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: master
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
- name: slack-notification
|
||||
type: slack-notification
|
||||
@@ -47,17 +47,7 @@ jobs:
|
||||
- get: sts4
|
||||
trigger: true
|
||||
- task: build-vscode-extensions
|
||||
config:
|
||||
inputs:
|
||||
- name: sts4
|
||||
platform: linux
|
||||
image_resource:
|
||||
type: docker-image
|
||||
source:
|
||||
repository: kdvolder/sts4-build-env
|
||||
run:
|
||||
path: "./build-all.sh"
|
||||
dir: "sts4/vscode-extensions"
|
||||
file: sts4/concourse/tasks/build-vscode-extensions.yml
|
||||
on_failure:
|
||||
put: slack-notification
|
||||
params:
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
fly -t tools set-pipeline --load-vars-from ${HOME}/.sts4-concourse-credentials.yml -p sts4 -c pipeline.yml
|
||||
branch=`git rev-parse --abbrev-ref HEAD`
|
||||
fly -t tools set-pipeline --var "branch=${branch}"--load-vars-from ${HOME}/.sts4-concourse-credentials.yml -p sts4-${branch} -c pipeline.yml
|
||||
|
||||
9
concourse/tasks/build-vscode-extensions.sh
Executable file
9
concourse/tasks/build-vscode-extensions.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
workdir=`pwd`
|
||||
|
||||
cd sts4/vscode-extensions
|
||||
./build-all.sh
|
||||
|
||||
cd $workdir
|
||||
mv sts4/vscode-extensions/vscode-*/target/*.vsix vsix-files/
|
||||
11
concourse/tasks/build-vscode-extensions.yml
Normal file
11
concourse/tasks/build-vscode-extensions.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
inputs:
|
||||
- name: sts4
|
||||
outputs:
|
||||
- name: vsix-files
|
||||
platform: linux
|
||||
image_resource:
|
||||
type: docker-image
|
||||
source:
|
||||
repository: kdvolder/sts4-build-env
|
||||
run:
|
||||
path: "sts4/concourse/tasks/build-vscode-extensions.sh"
|
||||
Reference in New Issue
Block a user