Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
improve how chart publishing works (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
krancour authored and jeremyrickard committed Nov 26, 2019
1 parent a3e63b9 commit 2bf13af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions scripts/publish-rc-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ cp -r -L chart/osiris /tmp/osiris-edge
cd /tmp/osiris-edge

sed -i "s/^name:.*/name: osiris-edge/g" Chart.yaml
sed -i "s/^version:.*/version: 0.0.1-$DATE-$GIT_VERSION/g" Chart.yaml
sed -i "s/^appVersion:.*/appVersion: $GIT_VERSION/g" Chart.yaml
sed -i "s/^ tag:.*/ tag: $GIT_VERSION/g" values.yaml
sed -i "s/^ pullPolicy:.*/ pullPolicy: IfNotPresent/g" values.yaml

helm dep build .
helm package .
helm package --version 0.0.1-$DATE-$GIT_VERSION --app-version $GIT_VERSION .

az acr helm push -n osiris osiris-edge-0.0.1-$DATE-$GIT_VERSION.tgz
4 changes: 1 addition & 3 deletions scripts/publish-release-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ rm -rf /tmp/osiris
cp -r -L chart/osiris /tmp
cd /tmp/osiris

sed -i "s/^version:.*/version: $SIMPLE_REL_VERSION/g" Chart.yaml
sed -i "s/^appVersion:.*/appVersion: $SIMPLE_REL_VERSION/g" Chart.yaml
sed -i "s/^ tag:.*/ tag: $REL_VERSION/g" values.yaml
sed -i "s/^ pullPolicy:.*/ pullPolicy: IfNotPresent/g" values.yaml

helm dep build .
helm package .
helm package --version $SIMPLE_REL_VERSION --app-version $SIMPLE_REL_VERSION .

az acr helm push -n osiris osiris-$SIMPLE_REL_VERSION.tgz

0 comments on commit 2bf13af

Please sign in to comment.