Get rid of all the experimental cruft to deali with no-fatjar in atom build

We will just publish the dummy packages one last time manually and then
remove all trace of them from the build / repo.
This commit is contained in:
Kris De Volder
2018-02-21 17:16:41 -08:00
parent 959e47139b
commit 7c710cac7e
3 changed files with 6 additions and 33 deletions

View File

@@ -563,8 +563,6 @@ jobs:
trigger: true
passed:
- build-boot-java-atom-package
- task: no-fatjar
file: sts4/concourse/tasks/no-fatjar.yml
- task: build-atom-package
params:
package_name: atom-boot-java

View File

@@ -6,10 +6,8 @@ output=$workdir/out
#atom_commons=$workdir/sts4/atom-extensions/atom-commons
atom_package=$workdir/sts4/atom-extensions/$package_name
if [ -e $fatjar/version ]; then
url=`cat fatjar/url`
fatjar_version=`cat fatjar/version`
fi
url=`cat fatjar/url`
fatjar_version=`cat fatjar/version`
#cd $atom_commons
#npm install
@@ -18,21 +16,11 @@ cd $atom_package
#npm install ${atom_commons}
timestamp=`date -u +%Y%m%d%H%M`
if [ -e $fatjar/version ]; then
cat > properties.json << EOF
{
"jarUrl": "${url}"
}
EOF
else
cat > properties.json << EOF
{
"timestamp": "${timestamp}"
}
EOF
fi
npm install
@@ -56,13 +44,8 @@ git config user.name "Alex Boyko"
git add .
if [ -e $fatjar/version ]; then
git commit \
-m "Publish $fatjar_version"
else
git commit \
-m "Publish $timestamp"
fi
git commit \
-m "Publish $fatjar_version"
# Publish linkable artifact to S3
@@ -71,6 +54,8 @@ npm install bundle-deps
node ./node_modules/bundle-deps/bundle-deps .
timestamp=`date -u +%Y%m%d%H%M`
basename=$(npm pack | tee /dev/tty)
length=${#basename}

View File

@@ -1,10 +0,0 @@
platform: linux
image_resource:
type: docker-image
source:
repository: kdvolder/sts4-build-env
outputs:
- name: fatjar
run:
path: echo
args: [ "Faking it there is no fatjar" ]