Update Bitcoin Pulse input to GitHub

This commit is contained in:
Tobias Ostner 2026-07-31 18:52:42 +07:00
parent 1bdf25bf06
commit ff560ea84c
5 changed files with 13 additions and 13 deletions

View file

@ -109,7 +109,7 @@ git diff -- flake.lock
nix flake check --no-build nix flake check --no-build
``` ```
Confirm that `flake.lock` points to the intended reviewed BitcoinPulseAPI Confirm that `flake.lock` points to the intended reviewed BitcoinPulse
revision. Commit and push the lock-file update, follow the standard deployment, revision. Commit and push the lock-file update, follow the standard deployment,
and perform all post-deployment checks. The switch runs the packaged version's and perform all post-deployment checks. The switch runs the packaged version's
pending migrations before starting that backend version. pending migrations before starting that backend version.

View file

@ -126,7 +126,7 @@ creates:
- `bitcoin_pulse_migration`, a non-superuser login that owns the database; - `bitcoin_pulse_migration`, a non-superuser login that owns the database;
- `bitcoin_pulse_app`, a non-superuser login with `CONNECT` only initially. - `bitcoin_pulse_app`, a non-superuser login with `CONNECT` only initially.
The role bootstrap SQL comes from the pinned BitcoinPulseAPI flake input. The role bootstrap SQL comes from the pinned BitcoinPulse flake input.
Migratus' database-foundation migration then grants the application role schema Migratus' database-foundation migration then grants the application role schema
usage and default DML privileges for application objects. Later migrations can usage and default DML privileges for application objects. Later migrations can
further restrict individual tables; the application role cannot create schema further restrict individual tables; the application role cannot create schema

18
flake.lock generated
View file

@ -8,17 +8,17 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1785392268, "lastModified": 1785422356,
"narHash": "sha256-9AG23XZN2+yhXlFsCAbnL9x672IWG2royyK3G0eeJ8U=", "narHash": "sha256-UYlO43kzV3C7M0Jw/Vu621gpP7TDGR9frtEy2eYMT50=",
"ref": "refs/heads/main", "owner": "oibot",
"rev": "cf6c2a7812187c5f579eff8dbb1276dc3d338c3d", "repo": "BitcoinPulse",
"revCount": 27, "rev": "7150f9813b7cda3add1c539533e9a1020cb941f6",
"type": "git", "type": "github"
"url": "https://codeberg.org/oibot/BitcoinPulseAPI.git"
}, },
"original": { "original": {
"type": "git", "owner": "oibot",
"url": "https://codeberg.org/oibot/BitcoinPulseAPI.git" "repo": "BitcoinPulse",
"type": "github"
} }
}, },
"clj-nix": { "clj-nix": {

View file

@ -5,7 +5,7 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";
hermes-agent.url = "github:NousResearch/hermes-agent"; hermes-agent.url = "github:NousResearch/hermes-agent";
bitcoin-pulse = { bitcoin-pulse = {
url = "git+https://codeberg.org/oibot/BitcoinPulseAPI.git"; url = "github:oibot/BitcoinPulse";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -231,7 +231,7 @@ in
containers.${containerName} = { containers.${containerName} = {
# Official PostgreSQL 18.4 Bookworm multi-architecture image, pinned to # Official PostgreSQL 18.4 Bookworm multi-architecture image, pinned to
# the immutable digest tested by BitcoinPulseAPI on 2026-07-16. # the immutable digest tested by BitcoinPulse on 2026-07-16.
image = "docker.io/library/postgres@sha256:1961f96e6029a02c3812d7cb329a3b03a3ac2bb067058dec17b0f5596aca9296"; image = "docker.io/library/postgres@sha256:1961f96e6029a02c3812d7cb329a3b03a3ac2bb067058dec17b0f5596aca9296";
pull = "missing"; pull = "missing";
autoStart = true; autoStart = true;