helm-charts/.github/workflows/charts-release.yaml
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 93e761fd99
feat(common): Release version 1.3.2 (#120)
* fix(common): Increase CronJob pod annotations indent from 10 to 12 (#118)
* feat(common): Add tests for CronJob jobTemplate metadata
* feat(common): Update netshoot image
* feat(common): Update code-server image
* feat(ci): add workflow to create oci artifact (#38)
* ci: Update release workflows

---------
Signed-off-by: Tyler Witlin <tyler@codezero.io>
Co-authored-by: Gabe Cook <gabe565@gmail.com>
Co-authored-by: Tyler Witlin <45468117+coolguy1771@users.noreply.github.com>
2023-02-19 11:40:27 +01:00

71 lines
1.8 KiB
YAML

name: "Charts: Release"
concurrency: helm-release
on:
workflow_dispatch:
inputs:
charts:
description: >
Charts to release. Comma-separated string.
Defaults to releasing everything.
default: ""
required: false
push:
branches:
- main
paths:
- "charts/**"
env:
HELM_VERSION: 3.11.1
jobs:
prepare:
name: Prepare data required for release
runs-on: ubuntu-22.04
outputs:
libraryChartsToRelease: ${{ steps.collect-charts.outputs.chartsLibrary }}
applicationChartsToRelease: ${{ steps.collect-charts.outputs.chartsApplication }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Collect charts to release
uses: bjw-s/helm-charts-actions/collect-charts@main
id: collect-charts
with:
repoConfigFile: ./.ci/repo-config.yaml
overrideCharts: "[${{ inputs.charts }}]"
release-library-charts:
name: Release Library charts to GitHub pages
uses: ./.github/workflows/charts-release-ghpages.yaml
needs:
- prepare
with:
charts: "${{ needs.prepare.outputs.libraryChartsToRelease }}"
secrets: inherit
release-application-charts:
name: Release Application charts to GitHub pages
uses: ./.github/workflows/charts-release-ghpages.yaml
needs:
- prepare
- release-library-charts
with:
charts: "${{ needs.prepare.outputs.applicationChartsToRelease }}"
secrets: inherit
release-github-oci:
name: Release Application charts to GitHub pages
uses: ./.github/workflows/charts-release-oci.yaml
needs:
- prepare
- release-library-charts
with:
charts: "${{ needs.prepare.outputs.applicationChartsToRelease }}"
secrets: inherit