Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
ci: Fix release pipeline not uploading helm charts correctly (#6944)
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies committed Feb 22, 2022
1 parent b73a379 commit 0609c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,7 @@ jobs:
RESOURCE_JSON: resources.json
RESOURCE_MARKDOWN: resources.md
RELEASE_NOTES_FILE: ${{ env.RELEASE_NOTES_FILE }}
run: |
./gh-actions-scripts/generate-k8s-resource-stats.sh
cat "$RELEASE_NOTES_FILE"
run: ./gh-actions-scripts/generate-k8s-resource-stats.sh

- name: Create GitHub Pre-Release
working-directory: keptn
Expand All @@ -404,10 +402,9 @@ jobs:
- name: Upload helm charts
env:
ARTIFACTS: "./dist/keptn-installer/*.tgz"
RELEASE_TAG: ${{ steps.create-release-package.outputs.tag-name }}
run: |
mv "$ARTIFACTS" ./helm-charts/packages
mv "./dist/keptn-installer/*.tgz" ./helm-charts/packages
cd ./helm-charts
helm repo index ./ --url https://charts.keptn.sh/ --merge ./index.yaml
git add *.tgz
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,9 @@ jobs:
- name: Upload helm charts
env:
ARTIFACTS: "./dist/keptn-installer/*.tgz"
RELEASE_TAG: ${{ steps.create-release-package.outputs.tag-name }}
run: |
mv "$ARTIFACTS" ./helm-charts/packages
mv "./dist/keptn-installer/*.tgz" ./helm-charts/packages
cd ./helm-charts
helm repo index ./ --url https://charts.keptn.sh/ --merge ./index.yaml
git add *.tgz
Expand Down

0 comments on commit 0609c7d

Please sign in to comment.