Manually generate chart due to github limitation

This commit is contained in:
Jake Spain 2023-01-30 13:30:51 -05:00
parent 95807dee75
commit 00c3c4058b
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113
4 changed files with 51 additions and 33 deletions

View file

@ -15,8 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Get New Chart Version
id: nv
@ -144,13 +142,15 @@ jobs:
helm package ../helm-charts/*
helm repo index --url https://puppetlabs.github.io/vmpooler-deployment/ .
- name: Git Commit and Push Helm Charts
run: |
git config user.name "puppetlabs-jenkins"
git config user.email "team-quality-engineering@puppet.com"
git add docs
git commit -m "release helm-chart version ${{ steps.nv.outputs.version }}"
git push
# Re-enable this and remove step 4 for manually building the chart if/when
# GitHub allows a way to bypass required status checks on a protected branch.
# - name: Git Commit and Push Helm Charts
# run: |
# git config user.name "puppetlabs-jenkins"
# git config user.email "team-quality-engineering@puppet.com"
# git add docs
# git commit -m "release helm-chart version ${{ steps.nv.outputs.version }}"
# git push
- name: Tag Release
uses: ncipollo/release-action@v1