-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,41 +9,8 @@ branches: | |
only: | ||
- master | ||
|
||
install: | ||
# Get ICP CV | ||
- scripts/./get-icp-cv.sh | ||
# Install `helm` in travis environment. | ||
- ls $GOPATH | ||
- cd $GOPATH/src/ | ||
- curl https://kubernetes-helm.storage.googleapis.com/helm-v2.6.1-linux-386.tar.gz > helm.tar.gz | ||
- tar xzf helm.tar.gz | ||
- mv linux-386/helm $GOPATH/bin/ | ||
# Setting Git user. | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis Bot" | ||
# Cloning destination repository. | ||
- cd - | ||
- cd ../ | ||
# - git clone https://[email protected]/ODMDev/odm-helm-charts-repo.git | ||
# - cd odm-helm-charts-repo/ | ||
# - git remote rm origin | ||
# - git remote add origin https://[email protected]/ODMDev/odm-helm-charts-repo.git | ||
# - cd ../odm-docker-kubernetes/helm/stable | ||
|
||
# Building the documentation. | ||
script: | ||
# Make error if 'LICENSE(D) and IBM are found on a same line.' | ||
- sh -c "! egrep -ri '(LICENSE[D]?).*(IBM)' --exclude='.travis.yml' ." | ||
# - helm init -c | ||
# - $HOME/.cache/cv lint odmcharts | ||
# --strict should mark warnings as errors. grep make exit 1 on error(s). | ||
# Enable When warnings are closed. | ||
# - $HOME/.cache/cv lint --strict odmcharts | tee /dev/tty | grep "no failures" | ||
# - helm package odmcharts | ||
# - cp *.tgz ../../../odm-helm-charts-repo/ | ||
# - cd ../../../odm-helm-charts-repo/ | ||
# - helm repo index ./ --url https://odmdev.github.io/odm-helm-charts-repo/ | ||
# - git status | ||
# - git add . | ||
# - git commit -m "doc updated via travis build." | ||
# - git push --set-upstream origin master | ||
|