Skip to content

Commit

Permalink
Add released helm package
Browse files Browse the repository at this point in the history
  • Loading branch information
pvorb committed Jul 21, 2020
1 parent c635cf7 commit 0919157
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 29 deletions.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
/.settings/**
/.factorypath
/.vscode
/target/**
/.idea
/*.iml

# Explicitly include packaged helm charts, since they are required for building the helm chart index.
# SNAPSHOTs are explicitly excluded from the index.
!target/
target/*
!target/helm
target/helm/k8s-secret-provisioner
target/helm/index.yaml
!target/helm/*.tgz
target/helm/*-SNAPSHOT.tgz
47 changes: 20 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,23 @@ before_install:

install: /bin/true

jobs:
include:
- stage: test
script:
- mvn clean verify -B

- stage: deploy
if: branch = master
script:
- mvn clean deploy -B
- |
if [ "$TRAVIS_BRANCH" = "master" ]; then
cp README.md target/helm
cd target/helm
helm repo index .
ls -ltr
fi
deploy:
provider: pages
github_token: $GITHUB_TOKEN
local_dir: target/helm
target_branch: gh-pages
verbose: true
skip_cleanup: true
keep_history: true
on:
branch: master
script:
- mvn clean deploy -B
- |
if [ "$TRAVIS_BRANCH" = "master" ]; then
cp README.md target/helm
cd target/helm
helm repo index .
ls -ltr
fi
deploy:
provider: pages
github_token: $GITHUB_TOKEN
local_dir: target/helm
target_branch: gh-pages
verbose: true
skip_cleanup: true
keep_history: true
on:
branch: master
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Creating a new release involves the following steps:

* `mvn gitflow:release-start`
* Update `CHANGELOG.md`
* `gitflow:release-finish`
* `mvn gitflow:release-finish`
* `git push origin master`
* `git push --tags`
* `git push origin develop`
Binary file added target/helm/k8s-secret-provisioner-1.0.4.tgz
Binary file not shown.

0 comments on commit 0919157

Please sign in to comment.