This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Release preparation #8
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1a5abb6
Update docker-compose
wahyd4 f48ae46
Remove unneeded scripts
wahyd4 9efc8d5
Update workflow to create docker image with tags
wahyd4 f33f859
Add helm chart
wahyd4 052a0ea
Update helm/passkey-auth/values.yaml
wahyd4 52804a7
Update .github/workflows/helm-release.yml
wahyd4 c631e32
Update helm/passkey-auth/templates/ingress.yaml
wahyd4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Configuration for chart-releaser | ||
| # See https://github.com/helm/chart-releaser for more info | ||
|
|
||
| owner: wahyd4 | ||
| git-repo: passkey-auth | ||
| charts-repo: https://wahyd4.github.io/passkey-auth | ||
| target-branch: gh-pages | ||
| package-path: .cr-release-packages | ||
| index-path: .cr-index | ||
| skip-existing: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| name: Release Helm Chart | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - 'helm/passkey-auth/**' | ||
| release: | ||
| types: [published] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| 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 | ||
| with: | ||
| version: '3.14.0' | ||
|
|
||
| - name: Set up chart-testing | ||
| uses: helm/chart-testing-action@v2.6.1 | ||
|
|
||
| - name: Run chart-testing (list) | ||
| run: ct list --target-branch ${{ github.event.repository.default_branch }} --chart-dirs helm | ||
|
|
||
| - name: Run chart-testing (lint) | ||
| run: ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs helm | ||
|
|
||
| - name: Create kind cluster | ||
| uses: helm/kind-action@v1.9.0 | ||
|
|
||
| - name: Run chart-testing (install) | ||
| run: | | ||
| # Install with test values | ||
| ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs helm \ | ||
| --helm-extra-set-args "--set config.webauthn.rpId=test.local --set config.auth.allowedEmails={test@example.com} --set secrets.sessionSecret=test-secret-for-ci-only --set ingress.enabled=false" | ||
|
|
||
| release: | ||
| needs: lint-test | ||
| runs-on: ubuntu-latest | ||
| if: github.ref == 'refs/heads/main' || github.event_name == 'release' | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Configure Git | ||
| run: | | ||
| git config user.name "$GITHUB_ACTOR" | ||
| git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
|
|
||
| - name: Install Helm | ||
| uses: azure/setup-helm@v4 | ||
| with: | ||
| version: '3.14.0' | ||
|
|
||
| - name: Add helm repos | ||
| run: | | ||
| helm repo add bitnami https://charts.bitnami.com/bitnami | ||
|
|
||
| - name: Run chart-releaser | ||
| uses: helm/chart-releaser-action@v1.6.0 | ||
| with: | ||
| charts_dir: helm | ||
| config: .github/cr.yaml | ||
| env: | ||
| CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
|
||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v4 | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: .cr-release-packages | ||
|
|
||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| *.so | ||
| *.dylib | ||
| bin/ | ||
| passkey-auth | ||
| ./passkey-auth | ||
|
|
||
| # Test binary, built with `go test -c` | ||
| *.test | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.