Skip to content

Release Charts

Release Charts #51

name: Release Charts
on:
workflow_dispatch:
inputs:
platformChoice:
description: 'Release chart for specific platform'
required: true
type: choice
options:
- besu
- fabric
- indy
- quorum
- r3-corda
- r3-corda-ent
- substrate
- shared
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/[email protected]
with:
version: v3.8.1
- name: Install additional Helm repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add bevel https://sownak.github.io/bevel
- name: Besu charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/hyperledger-besu/charts
if: ${{ github.event.inputs.platformChoice == 'besu' }}
- name: Fabric charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/hyperledger-fabric/charts
if: ${{ github.event.inputs.platformChoice == 'fabric' }}
- name: Indy charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/hyperledger-indy/charts
if: ${{ github.event.inputs.platformChoice == 'indy' }}
- name: Quorum charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/quorum/charts
if: ${{ github.event.inputs.platformChoice == 'quorum' }}
- name: Corda charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/r3-corda/charts
if: ${{ github.event.inputs.platformChoice == 'r3-corda' }}
- name: Corda Enterprise charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/r3-corda-ent/charts
if: ${{ github.event.inputs.platformChoice == 'r3-corda-ent' }}
- name: Substrate charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/substrate/charts
if: ${{ github.event.inputs.platformChoice == 'substrate' }}
- name: Shared charts
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: platforms/shared/charts
if: ${{ github.event.inputs.platformChoice == 'shared' }}