Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/release-tag-installer-pre-upgrade-2-6-0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: release-tag-installer-pre-upgrade-2-6-0

on:
push:
tags:
- 'pre-upgrade-2-6-0/[0-9]+.[0-9]+.[0-9]+'

jobs:
package:
runs-on: ubuntu-latest

steps:
- name: Authenticate with GitHub App
id: authenticate
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@v3

- name: Extract version
run: |
CHART_VERSION=${GITHUB_REF#refs/tags/pre-upgrade-2-6-0/}
echo "CHART_VERSION=$CHART_VERSION" >> $GITHUB_ENV

- name: Print Version
run: |
echo CHART_VERSION:${{ env.CHART_VERSION }}

- name: Replace CHART_VERSION in pre-upgrade-2-6-0-chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./pre-upgrade-2-6-0-chart/Chart.yaml

# Stage only the chart you want to publish
- name: Prepare charts_dir
run: |
mkdir -p _pre-upgrade-2-6-0-chart
cp -R pre-upgrade-2-6-0-chart _pre-upgrade-2-6-0-chart/

- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ steps.authenticate.outputs.token }}
charts_dir: _pre-upgrade-2-6-0-chart
charts_url: https://charts.krateo.io
owner: krateoplatformops
repository: helm-charts
branch: gh-pages
2 changes: 1 addition & 1 deletion post-upgrade-2-5-1-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: installer-post-upgrade-2-5-1
description: Krateo PlatformOps Chart to execute post upgrade to version 2.5.0
description: Krateo PlatformOps Chart to execute post upgrade to version 2.5.1

# A chart can be either an 'application' or a 'library' chart.
#
Expand Down
2 changes: 1 addition & 1 deletion pre-upgrade-2-5-1-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: installer-pre-upgrade-2-5-1
description: Krateo PlatformOps Chart to execute pre upgrade to version 2.5.0
description: Krateo PlatformOps Chart to execute pre upgrade to version 2.5.1

# A chart can be either an 'application' or a 'library' chart.
#
Expand Down
24 changes: 24 additions & 0 deletions pre-upgrade-2-6-0-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
name: installer-pre-upgrade-2-6-0
description: Krateo PlatformOps Chart to execute pre upgrade to version 2.6.0

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: CHART_VERSION

home: https://krateo.io
icon: "https://github.com/krateoplatformops/krateo/blob/main/docs/media/logo.svg"

sources:
- https://github.com/krateoplatformops/installer-chart
Loading