mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-24 09:46:41 +00:00
chore: Testing env
This commit is contained in:
parent
2019da1e10
commit
56de00226a
|
@ -129,7 +129,7 @@ in
|
||||||
# TODO get URL from systemd template parameter?
|
# TODO get URL from systemd template parameter?
|
||||||
ExecStartPre = ''
|
ExecStartPre = ''
|
||||||
${nix} flake update \
|
${nix} flake update \
|
||||||
--override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes
|
--override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=inex/test-systemd-rebuild
|
||||||
'';
|
'';
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${nixos-rebuild} switch --flake .#${config-id}
|
${nixos-rebuild} switch --flake .#${config-id}
|
||||||
|
|
|
@ -27,4 +27,4 @@ async def get_token_header(
|
||||||
|
|
||||||
def get_api_version() -> str:
|
def get_api_version() -> str:
|
||||||
"""Get API version"""
|
"""Get API version"""
|
||||||
return "3.0.0"
|
return "3.0.0-inex"
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="selfprivacy_api",
|
name="selfprivacy_api",
|
||||||
version="3.0.0",
|
version="3.0.0-inex",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
scripts=[
|
scripts=[
|
||||||
"selfprivacy_api/app.py",
|
"selfprivacy_api/app.py",
|
||||||
|
|
Loading…
Reference in a new issue