Skip to content

Commit

Permalink
chore: add pre commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
michalziobro committed Jan 4, 2023
1 parent 11691cc commit 32241e6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ jobs:
echo "CHART_NAME=$(grep "name:" Chart.yaml | awk '{print $2}')" >> $GITHUB_OUTPUT
- name: Publish Helm Chart
env:
PACKAGE_NAME: ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }}
run: |
helm package .
helm push ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }}.tgz oci://ghcr.io/${{ github.repository }}
rm ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }}.tgz
helm push $PACKAGE_NAME.tgz oci://ghcr.io/${{ github.repository }}
rm $PACKAGE_NAME.tgz
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/norwoodj/helm-docs
rev: v1.11.0
hooks:
- id: helm-docs
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 0.2.0
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# microservice

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand All @@ -15,7 +15,7 @@ A Helm chart for Kubernetes
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| containerPort | int | `80` | |
| deploymentStrategy | string | `"RollingUpdate"` | |
| env.REACT_ENV | string | `"sandbox"` | |
| env | object | `{}` | |
| extraLabels | object | `{}` | Extra lables to be added to all resources |
| fullnameOverride | string | `""` | |
| image.args | list | `[]` | |
Expand Down Expand Up @@ -68,6 +68,7 @@ A Helm chart for Kubernetes
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| terminationGracePeriodSeconds | int | `30` | |
| tolerations | list | `[]` | |

----------------------------------------------
Expand Down
Binary file removed microservice-0.1.2.tgz
Binary file not shown.

0 comments on commit 32241e6

Please sign in to comment.