diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml new file mode 100644 index 0000000..dfcda04 --- /dev/null +++ b/.github/workflows/lint-test.yml @@ -0,0 +1,45 @@ +name: Lint and Test Charts + +on: pull_request + +jobs: + lint-test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Helm + uses: azure/setup-helm@v4.2.0 + with: + version: v3.14.4 + + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + check-latest: true + + - name: Set up chart-testing + uses: helm/chart-testing-action@v2.6.1 + + - name: Run chart-testing (list-changed) + id: list-changed + run: | + changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) + if [[ -n "$changed" ]]; then + echo "changed=true" >> "$GITHUB_OUTPUT" + fi + + - name: Run chart-testing (lint) + if: steps.list-changed.outputs.changed == 'true' + run: ct lint --target-branch ${{ github.event.repository.default_branch }} + + - name: Create kind cluster + if: steps.list-changed.outputs.changed == 'true' + uses: helm/kind-action@v1.10.0 + + - name: Run chart-testing (install) + if: steps.list-changed.outputs.changed == 'true' + run: ct install --target-branch ${{ github.event.repository.default_branch }} \ No newline at end of file diff --git a/charts/sablier/Chart.yaml b/charts/sablier/Chart.yaml index e85a1c7..ea5c458 100644 --- a/charts/sablier/Chart.yaml +++ b/charts/sablier/Chart.yaml @@ -1,7 +1,6 @@ - apiVersion: v2 name: sablier -version: 1.0.1 +version: 1.0.2 appVersion: "1.8.0" description: A free and open-source software to start workloads on demand and stop them after a period of inactivity. type: application @@ -11,8 +10,8 @@ home: https://acouvreur.github.io/sablier/#/ sources: - "https://github.com/acouvreur/sablier" maintainers: - - name: Alexis Couvreur + - name: acouvreur # Alexis Couvreur email: alexiscouvreur.pro@gmail.com - url: https://www.alexiscouvreur.fr/ + url: https://github.com/acouvreur icon: https://raw.githubusercontent.com/sablierapp/artwork/refs/heads/main/icon/sablier-icon-color.png -deprecated: false \ No newline at end of file +deprecated: false diff --git a/charts/sablier/templates/deployment,yaml b/charts/sablier/templates/deployment.yaml similarity index 100% rename from charts/sablier/templates/deployment,yaml rename to charts/sablier/templates/deployment.yaml diff --git a/charts/sablier/values.yaml b/charts/sablier/values.yaml index 35d5ad0..8b3b266 100644 --- a/charts/sablier/values.yaml +++ b/charts/sablier/values.yaml @@ -63,4 +63,4 @@ resources: {} # cpu: "250m" # limits: # memory: "128Mi" -# cpu: "500m" \ No newline at end of file +# cpu: "500m"