Repository navigation
feat(push): add public APNs gateway #1770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
57ca35c
feat: add stateless NIP-PL push gateway
2541d81
feat: add community-scoped push lease state
56679b1
test: pin community-scoped push migration
51ae2e8
feat(db): add community-scoped push persistence
302af83
feat(db): add fenced push delivery lifecycle
8ee785b
feat(push): rotate endpoint grant keys
aeed9a2
feat(push): authenticate endpoint grant issuance
8ee8a69
test(push): close grant issuance boundaries
e7c82be
test(push): discriminate grant expiry overflow
4205f96
feat(relay): accept encrypted push leases atomically
0550193
feat(push): add public APNs gateway
7023e8b
docs(push): sync formal APNs payload
91e821f
feat(push): harden public gateway release
c64aa14
Merge origin/main into wren/nip-pl-push-gateway
2f71e80
Merge origin/main into push gateway branch
be8226b
fix(db): preserve brownfield FTS policy
29104ad
Merge origin/main into push gateway branch
ce0de8e
Merge origin/main into push gateway branch
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
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,67 @@ | ||
| name: push gateway helm chart | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: "Chart semver (without push-chart-v prefix)" | ||
| required: true | ||
| ref: | ||
| description: "Matching push-chart-v tag" | ||
| required: true | ||
| push: | ||
| tags: ["push-chart-v[0-9]*"] | ||
| pull_request: | ||
| paths: | ||
| - "deploy/charts/buzz-push-gateway/**" | ||
| - ".github/workflows/push-gateway-helm-chart.yml" | ||
| permissions: {} | ||
| env: | ||
| CHART_REPO: oci://ghcr.io/block/buzz/charts | ||
| jobs: | ||
| validate: | ||
| runs-on: ubuntu-latest | ||
| permissions: { contents: read } | ||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 | ||
| with: | ||
| ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || '' }} | ||
| fetch-depth: 0 | ||
| - uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 | ||
| with: { version: v3.16.4 } | ||
| - run: deploy/charts/buzz-push-gateway/tests/render.sh | ||
| publish: | ||
| if: github.event_name != 'pull_request' | ||
| needs: validate | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 | ||
| with: | ||
| ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || '' }} | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
| - uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 | ||
| with: { version: v3.16.4 } | ||
| - name: Verify release tag and chart version | ||
| env: | ||
| INPUT_VERSION: ${{ inputs.version }} | ||
| REF_NAME: ${{ github.ref_name }} | ||
| run: | | ||
| set -euo pipefail | ||
| version="${INPUT_VERSION:-${REF_NAME#push-chart-v}}" | ||
| [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$ ]] | ||
| test "$(helm show chart deploy/charts/buzz-push-gateway | awk '/^version:/ {print $2}')" = "$version" | ||
| if [ -n "$INPUT_VERSION" ]; then | ||
| test "$(git rev-parse HEAD)" = "$(git rev-parse "refs/tags/push-chart-v${version}^{commit}")" | ||
| fi | ||
| echo "VERSION=$version" >> "$GITHUB_ENV" | ||
| - uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.repository_owner }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
| - run: helm package deploy/charts/buzz-push-gateway --destination dist | ||
| - run: helm push "dist/buzz-push-gateway-${VERSION}.tgz" "$CHART_REPO" |
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.