Remove obsolete build scripts and tasks

This commit is contained in:
Kris De Volder
2017-05-10 14:20:40 -07:00
parent 7127c5b78a
commit 6bfb07eb8c
7 changed files with 0 additions and 126 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/bash
set -e
workdir=`pwd`
if [ -d "maven-cache" ]; then
echo "Prepopulating maven cache"
tar xzf maven-cache/*.tar.gz -C ${HOME}
else
echo "!!!No stored maven cache found!!! "
echo "!!!This may slow down the build!!!"
fi
cd sts4/vscode-extensions
./build-all.sh
cd $workdir
cp `find sts4/vscode-extensions -name "*.vsix"` vsix-files

View File

@@ -1,12 +0,0 @@
inputs:
- name: sts4
- name: maven-cache
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"

View File

@@ -1,9 +0,0 @@
#!/bin/bash
timestamp=`date -u +%Y%m%d%H%M`
base_dir=`pwd`
cd sts4/vscode-extensions/${extension_id}
base_version=`jq -r .version package.json`
echo ${extension_id}-${base_version}-RC${timestamp} > ${base_dir}/out/tag

View File

@@ -1,11 +0,0 @@
platform: linux
image_resource:
type: docker-image
source:
repository: kdvolder/sts4-build-env
inputs:
- name: sts4
outputs:
- name: out
run:
path: sts4/concourse/tasks/create-rc-build-tag.sh

View File

@@ -1,27 +0,0 @@
#
# A one-of task you can run on concourse to run a single maven test
#
# Run this with the following command from the ROOT of the sts4 repo:
#
# fly -t tools execute -x --config concourse/tasks/run-manifest-yaml-test.yml
inputs:
- name: sts4
platform: linux
image_resource:
type: docker-image
source:
repository: kdvolder/sts4-build-env
run:
dir: sts4/vscode-extensions/vscode-manifest-yaml
path: ../mvnw
args:
- "-U"
- "-f"
- "../pom.xml"
- "-pl"
- "vscode-manifest-yaml"
- "-am"
- "-DfailIfNoTests=false"
- "-Dtest=ManifestYamlEditorTest#reconcileShowsWarningOnUnknownService"
- "clean"
- "install"

View File

@@ -1,33 +0,0 @@
#!/bin/bash
set -e
workdir=`pwd`
sources=$workdir/sts4/vscode-extensions/$extension_id
version=`cat version/version`
echo "extension_id=${extension_id}"
echo "version=${version}"
if [ -d "maven-cache" ]; then
echo "Prepopulating maven cache"
tar xzf maven-cache/*.tar.gz -C ${HOME}
else
echo "!!!No stored maven cache found!!! "
exit -1
fi
cd "sts4/vscode-extensions/${extension_id}"
npm version "${version}"
echo "Version set to " `npm version`
echo -e "\n\n*Version: ${version}*" >> README.md
# Build commons vscode
cd ${sources}/../commons-vscode
npm install
cd "$sources"
npm install ../commons-vscode
npm install
npm run vsce-package
cp *.vsix $workdir/out

View File

@@ -1,16 +0,0 @@
inputs:
- name: sts4
- name: maven-cache
- name: version
outputs:
- name: out
platform: linux
run:
path: sts4/concourse/tasks/versioned-build.sh
params:
extension_id: undefined_extension_id
image_resource:
type: docker-image
source:
repository: kdvolder/sts4-build-env