[ADF-4850] Travis add check bundle size and docker publish (#5023)

* Add a check bundle job after the release

* Add a docker push step and update rancher

* Split update rancher in a different job

* Split update rancher in a different job

* Install the adf-cli

* Run docker publish and rancher update only on push

* Use the adf-cli local code
This commit is contained in:
Maurizio Vitale
2019-08-27 16:09:00 +01:00
committed by GitHub
parent bfc3f30674
commit d8961ea904
2 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [[ $TRAVIS_BRANCH == "master" ]]; then
TAG_VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
else
TAG_VERSION=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER
fi;
echo $TAG_VERSION;