Skip to content
Draft
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
14 changes: 12 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Release Charts

on:
workflow_dispatch:
push:
branches:
- test-ci-release

jobs:
release:
Expand Down Expand Up @@ -37,9 +39,17 @@ jobs:
version: v3.3.0

- name: Run chart-testing (lint)
run: ct lint --config ct.yaml --lint-conf lintconf.yaml
id: lint
run: |
if ct lint --config ct.yaml --lint-conf lintconf.yaml 2>&1 | grep -q "Chart version not ok. Needs a version bump"; then
echo "::notice::Skipping release because no version bump was detected"
echo "version_bump_needed=true" >> "$GITHUB_OUTPUT"
else
echo "version_bump_needed=false" >> "$GITHUB_OUTPUT"
fi

- name: Run chart-releaser
if: steps.lint.outputs.version_bump_needed == 'false'
uses: helm/[email protected]
env:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
2 changes: 1 addition & 1 deletion charts/flagsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ hpa:
enabled: false
minReplicas: 2
maxReplicas: 10
targetCPUUtilization: 50
targetCPUUtilization: 55

ingress:
frontend:
Expand Down
Loading