1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-11-30 04:30:48 +01:00

update api-test

This commit is contained in:
Robin Appelman 2026-10-24 22:11:30 +02:00
commit 9ebb26685b
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE
2 changed files with 6 additions and 4 deletions

View file

@ -9,9 +9,9 @@ rustPlatform.buildRustPackage {
version = "0.1.4"; version = "0.1.4";
src = fetchgit { src = fetchgit {
url = "https://github.com/demostf/api-test"; url = "https://codeberg.org/demostf/api-test";
rev = "b2a8446e9b12c84d2c9228e4babe5d34132d3298"; rev = "0fb647df2924aef7d223ccb0c6782c99afed8473";
hash = "sha256-Zn6P4ukhoxqP+16ZkLBbqzM9DsTLmSNa4zrkhmyzy/I"; hash = "sha256-UPfo0jEMvJ7+cZrro2eIJz7ChRcTjBNo3Sunj+Efn7E=";
fetchLFS = true; fetchLFS = true;
}; };
@ -21,6 +21,6 @@ rustPlatform.buildRustPackage {
doCheck = false; doCheck = false;
cargoHash = "sha256-pDTNjpeGpMAr6hkl/o+Q3IR4t95qWJ76PgnJcEzlH2I="; cargoHash = "sha256-N46s2QWA592TsqUBVJu3GV2rfvsHXEQLKDEt4S/JWow=";
meta.mainProgram = "api-test"; meta.mainProgram = "api-test";
} }

View file

@ -97,6 +97,7 @@
DB_USERNAME = "demostf"; DB_USERNAME = "demostf";
APP_ROOT = "http://localhost"; APP_ROOT = "http://localhost";
EDIT_KEY = "/$CREDENTIALS_DIRECTORY/edit_key"; EDIT_KEY = "/$CREDENTIALS_DIRECTORY/edit_key";
ACCESS_KEY = "access";
PARSER_PATH = lib.getExe pkgs.demostf-parser; PARSER_PATH = lib.getExe pkgs.demostf-parser;
}; };
user = "demostf"; user = "demostf";
@ -129,6 +130,7 @@
machine.succeed("DB_URL='postgres://demostf:demostf@localhost/demostf'\ machine.succeed("DB_URL='postgres://demostf:demostf@localhost/demostf'\
BASE_URL='http://localhost/'\ BASE_URL='http://localhost/'\
EDIT_KEY='edit'\ EDIT_KEY='edit'\
ACCESS_KEY='access'\
api-test", timeout=180) api-test", timeout=180)
''; '';
} }