diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9a88566..9297e39 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,42 +1,19 @@ -name: "Generic chart SemVer release" +name: Simple semver release on: push: branches: ["main"] jobs: - release: - runs-on: ubuntu-22.04 - permissions: - actions: none - checks: none - contents: write - deployments: none - issues: none - packages: none - pull-requests: none - repository-projects: none - security-events: none - statuses: none + build: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + if: github.event.pull_request.merged - - name: Install Helm - uses: azure/setup-helm@v1 - with: - version: v3.8.1 - - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.0 + steps: + - name: Tag + uses: K-Phoen/semver-release-action@master with: - charts_dir: . + release_branch: main env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/helm-template/.helmignore b/.helmignore similarity index 100% rename from helm-template/.helmignore rename to .helmignore diff --git a/helm-template/Chart.yaml b/Chart.yaml similarity index 100% rename from helm-template/Chart.yaml rename to Chart.yaml diff --git a/README.md b/README.md index 16ec34d..58d86f7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# helm -An example helm named template for multi container|service. +# One chart to rule them all. -How To Test ----------- -To see result in yaml files can use this: -```` -helm template ./helm-template/ -```` +This was one funny note I found. It is describing the goal of what is a generic helm chart in a fun manner. + +## how to use this: + +``` +# Needs to be completed. +``` diff --git a/helm-template/templates/NOTES.txt b/templates/NOTES.txt similarity index 100% rename from helm-template/templates/NOTES.txt rename to templates/NOTES.txt diff --git a/helm-template/templates/_helpers.tpl b/templates/_helpers.tpl similarity index 100% rename from helm-template/templates/_helpers.tpl rename to templates/_helpers.tpl diff --git a/helm-template/templates/deployment.yaml b/templates/deployment.yaml similarity index 100% rename from helm-template/templates/deployment.yaml rename to templates/deployment.yaml diff --git a/helm-template/templates/hpa.yaml b/templates/hpa.yaml similarity index 100% rename from helm-template/templates/hpa.yaml rename to templates/hpa.yaml diff --git a/helm-template/templates/ingress.yaml b/templates/ingress.yaml similarity index 100% rename from helm-template/templates/ingress.yaml rename to templates/ingress.yaml diff --git a/helm-template/templates/secrets.yaml b/templates/secrets.yaml similarity index 100% rename from helm-template/templates/secrets.yaml rename to templates/secrets.yaml diff --git a/helm-template/templates/service.yaml b/templates/service.yaml similarity index 100% rename from helm-template/templates/service.yaml rename to templates/service.yaml diff --git a/helm-template/values.yaml b/values.yaml similarity index 100% rename from helm-template/values.yaml rename to values.yaml