Upgrade ntfy v2.17.0 → v2.19.2 (#305)
## Summary - Upgrade ntfy from v2.17.0 to v2.19.2 - Update Dockerfile and Nix build definitions with new version, commit SHA, and hashes - Add `subPackages = [ "." ]` to Nix build to handle new `tools/loadtest` module in upstream ## Upstream changes (no breaking changes) - **v2.18.0:** Experimental PostgreSQL backend support - **v2.19.0:** PostgreSQL read replica support, notification sound throttling - **v2.19.1-2:** PostgreSQL bug fixes, web push race condition fix ## Test plan - [ ] Container builds complete on Forgejo Actions (both Dockerfile and Nix) - [ ] Update kustomization.yaml `newTag` to the built nix image tag - [ ] `argocd app set ntfy --revision upgrade/ntfy-v2.19.2 && argocd app sync ntfy` - [ ] Verify ntfy health: `curl https://ntfy.ops.eblu.me/v1/health` - [ ] Send a test notification Reviewed-on: #305
This commit is contained in:
parent
06e721841c
commit
d1dac0c241
5 changed files with 13 additions and 10 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# ntfy push notification server
|
||||
# Three-stage build: Web UI (Node), server (Go+SQLite), runtime (Alpine)
|
||||
|
||||
ARG CONTAINER_APP_VERSION=v2.17.0
|
||||
ARG CONTAINER_APP_VERSION=v2.19.2
|
||||
ARG NTFY_VERSION=${CONTAINER_APP_VERSION}
|
||||
ARG NTFY_COMMIT=a03a37feb1869e84e3af0dd6190bdc7183f211ec
|
||||
ARG NTFY_COMMIT=2ad78edca12f1a43c566ffab9e93b3ed26426a6c
|
||||
|
||||
FROM node:22-alpine AS web-build
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
# Nix-built ntfy push notification server
|
||||
# Builds v2.17.0 from forge mirror (nixpkgs has 2.15.0)
|
||||
# Builds v2.19.2 from forge mirror
|
||||
# Built with dockerTools.buildLayeredImage for efficient layer caching
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
let
|
||||
version = "2.17.0";
|
||||
version = "2.19.2";
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://forge.ops.eblu.me/mirrors/ntfy.git";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/dxILAkye1HwYcybnx1WrMRK2jXZMrxal2ZKm6y2bWc=";
|
||||
hash = "sha256-HISQnb6LkKGujZsWCzVD3dTuobhUXqrmTFuov7dU+lY=";
|
||||
};
|
||||
|
||||
ui = pkgs.buildNpmPackage {
|
||||
inherit src version;
|
||||
pname = "ntfy-sh-ui";
|
||||
npmDepsHash = "sha256-d73rymqCKalsjAwHSJshEovmUHJStfGt8wcZYN49sHY=";
|
||||
npmDepsHash = "sha256-PmhWzktybM6Cg7yYRfbxWE83C+XkmHh4garHhsydwwE=";
|
||||
|
||||
prePatch = ''
|
||||
cd web/
|
||||
|
|
@ -34,10 +34,12 @@ let
|
|||
ntfy = pkgs.buildGoModule {
|
||||
inherit src version;
|
||||
pname = "ntfy-sh";
|
||||
vendorHash = "sha256-/mQ+UwBYz78mPVVwYgsSYatE00ce2AKXJdx+nl6oT8E=";
|
||||
vendorHash = "sha256-mr2PbxT5QWf4HZGgUg+oUjauqmZ6bh6N3f0ytwPDppU=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue