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:
parent
a8fd7d20ed
commit
9ebb26685b
2 changed files with 6 additions and 4 deletions
|
|
@ -9,9 +9,9 @@ rustPlatform.buildRustPackage {
|
|||
version = "0.1.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/demostf/api-test";
|
||||
rev = "b2a8446e9b12c84d2c9228e4babe5d34132d3298";
|
||||
hash = "sha256-Zn6P4ukhoxqP+16ZkLBbqzM9DsTLmSNa4zrkhmyzy/I";
|
||||
url = "https://codeberg.org/demostf/api-test";
|
||||
rev = "0fb647df2924aef7d223ccb0c6782c99afed8473";
|
||||
hash = "sha256-UPfo0jEMvJ7+cZrro2eIJz7ChRcTjBNo3Sunj+Efn7E=";
|
||||
fetchLFS = true;
|
||||
};
|
||||
|
||||
|
|
@ -21,6 +21,6 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
cargoHash = "sha256-pDTNjpeGpMAr6hkl/o+Q3IR4t95qWJ76PgnJcEzlH2I=";
|
||||
cargoHash = "sha256-N46s2QWA592TsqUBVJu3GV2rfvsHXEQLKDEt4S/JWow=";
|
||||
meta.mainProgram = "api-test";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@
|
|||
DB_USERNAME = "demostf";
|
||||
APP_ROOT = "http://localhost";
|
||||
EDIT_KEY = "/$CREDENTIALS_DIRECTORY/edit_key";
|
||||
ACCESS_KEY = "access";
|
||||
PARSER_PATH = lib.getExe pkgs.demostf-parser;
|
||||
};
|
||||
user = "demostf";
|
||||
|
|
@ -129,6 +130,7 @@
|
|||
machine.succeed("DB_URL='postgres://demostf:demostf@localhost/demostf'\
|
||||
BASE_URL='http://localhost/'\
|
||||
EDIT_KEY='edit'\
|
||||
ACCESS_KEY='access'\
|
||||
api-test", timeout=180)
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue