2023-03-02 06:20:17 +05:30
|
|
|
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.10.2
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
prepare:
|
|
|
|
name: Prepare data required for release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
|
|
charts-to-release: ${{ steps.collect-charts.outputs.charts }}
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-10-02 12:11:05 +05:30
|
|
|
uses: actions/checkout@v4
|
2023-03-02 06:20:17 +05:30
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Collect charts to release
|
2024-03-01 21:31:13 +05:30
|
|
|
uses: bjw-s/helm-charts-actions/collect-charts@c93c6d64ed2dc4dfe05840808f670dbe05ee7a35
|
2023-03-02 06:20:17 +05:30
|
|
|
id: collect-charts
|
|
|
|
with:
|
|
|
|
repoConfigFile: ./.ci/repo-config.yaml
|
|
|
|
overrideCharts: "[${{ inputs.charts }}]"
|
|
|
|
|
|
|
|
release-github-pages:
|
|
|
|
name: Release Charts to GitHub pages
|
|
|
|
uses: ./.github/workflows/charts-release-ghpages.yaml
|
|
|
|
needs:
|
|
|
|
- prepare
|
|
|
|
with:
|
|
|
|
charts: "${{ needs.prepare.outputs.charts-to-release }}"
|
2023-10-02 12:11:05 +05:30
|
|
|
secrets: inherit
|