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
17 changes: 10 additions & 7 deletions .github/workflows/release-pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Extract latest App Version
- name: Extract latest Chart Version
uses: tdemin/find-latest-tag@v1
id: app_version
id: chart_version
with:
repo: https://${{ steps.authenticate.outputs.token }}@github.com/${{ github.repository }}.git

- name: Extract latest Chart Version
- name: Extract latest App Version
uses: tdemin/find-latest-tag@v1
id: chart_version
id: app_version
with:
repo: https://${{ steps.authenticate.outputs.token }}@github.com/${{ env.REPO_APP_NAME }}.git

Expand All @@ -59,13 +59,16 @@ jobs:
echo APP_VERSION:${{steps.app_version.outputs.tag}}
echo CHART_VERSION:${{steps.chart_version.outputs.tag}}

- name: Replace Version in Chart.yaml
- name: Replace CHART_VERSION in chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Print latest App Version
- name: Replace CHART_VERSION in crd-chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./crd-chart/Chart.yaml

- name: Print latest APP_VERSION
run: echo ${{ steps.app_version.outputs.tag }}

- name: Replace App Version in Chart.yaml
- name: Replace APP_VERSION in Chart.yaml
run: sed -i 's/APP_VERSION/${{ steps.app_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Set up Helm
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ jobs:
echo APP_VERSION:${{steps.app_version.outputs.tag}}
echo CHART_VERSION:${{steps.chart_version.outputs.tag}}

- name: Replace Version in Chart.yaml
- name: Replace CHART_VERSION in chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Print latest App Version
- name: Replace CHART_VERSION in crd-chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./crd-chart/Chart.yaml

- name: Print latest APP_VERSION
run: echo ${{ steps.app_version.outputs.tag }}

- name: Replace App Version in Chart.yaml
- name: Replace APP_VERSION in Chart.yaml
run: sed -i 's/APP_VERSION/${{ steps.app_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Publish Helm chart
Expand Down
Binary file added chart/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ version: CHART_VERSION
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: APP_VERSION

dependencies:
- name: frontend-crd
version: 0.0.1
repository: file://../crd-chart
24 changes: 24 additions & 0 deletions crd-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
name: frontend-crd
description: Krateo PlatformOps Frontend CRDs

# 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/frontend-chart
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions crd-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default values for crd-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.