1+ ---
2+ name : Release Helm charts
3+ on :
4+ push :
5+ # workflow_dispatch:
6+ # inputs:
7+ # tag:
8+ # description: 'Tag in semver format'
9+ # required: true
10+
11+ jobs :
12+ container_prod_all_providers :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2 # Checking out the repo
16+ - uses : azure/setup-helm@v1
17+ - uses : actions/setup-python@v2
18+ with :
19+ python-version : 3.7
20+ - name : Set up chart-testing
21+ 22+ # - name: Run chart-testing (list-changed)
23+ # id: list-changed
24+ # run: |
25+ # changed=$(ct list-changed)
26+ # if [[ -n "$changed" ]]; then
27+ # echo "::set-output name=changed::true"
28+ # fi
29+ - name : Run chart-testing (lint)
30+ run : ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos bitnami=https://charts.bitnami.com/bitnami
31+ # - name: Package charts
32+ # run: |
33+ # set -e
34+ # cd docs/
35+ # helm package ../helm-charts/*
36+ # - name: Generate Release Body
37+ # env:
38+ # RELEASE_BODY_FILE: "${{ github.event.inputs.tag }}-prod-all-providers-release-body.md"
39+ # run: |
40+ # echo "## Components" > ${RELEASE_BODY_FILE}
41+ # echo "" >> ${RELEASE_BODY_FILE}
42+ # echo "This release includes the following:" >> ${RELEASE_BODY_FILE}
43+ # echo "" >> ${RELEASE_BODY_FILE}
44+ # echo "### Source image" >> ${RELEASE_BODY_FILE}
45+ # echo "" >> ${RELEASE_BODY_FILE}
46+ # echo "- $(grep ^FROM ./docker/prod-all-providers/Dockerfile |cut -d ' ' -f2) + OS updates" >> ${RELEASE_BODY_FILE}
47+ # echo "" >> ${RELEASE_BODY_FILE}
48+ # echo "### Gems" >> ${RELEASE_BODY_FILE}
49+ # echo "" >> ${RELEASE_BODY_FILE}
50+ # echo "$(grep -e 'vmpooler ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
51+ # echo "$(grep -e 'vmpooler-provider-.* ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
52+ # - name: Tag Release
53+ # uses: ncipollo/release-action@v1
54+ # with:
55+ # tag: ${{ github.event.inputs.tag }}-prod-all-providers
56+ # token: ${{ secrets.GITHUB_TOKEN }}
57+ # draft: false
58+ # prerelease: false
59+ # bodyFile: ${{ github.event.inputs.tag }}-prod-all-providers-release-body.md
60+ # generateReleaseNotes: true
0 commit comments