ci: create regress job

This commit is contained in:
2024-11-29 17:07:09 +02:00
parent e34356989d
commit 8b08bfe3b4
3 changed files with 142 additions and 0 deletions

View File

@ -136,6 +136,7 @@ VOLUME ["/var/lib/ahriman"]
COPY "docker/systemd-nspawn.sh" "/usr/local/bin/systemd-nspawn"
## entrypoint setup
COPY "docker/entrypoint.sh" "/usr/local/bin/entrypoint"
COPY "docker/entrypoint-web.sh" "/usr/local/bin/entrypoint-web"
ENTRYPOINT ["entrypoint"]
# default command
CMD ["repo-update", "--refresh"]

5
docker/entrypoint-web.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# Special workaround for running web service in github actions, must not be usually used in real environment,
# consider running web command explicitly instead
exec entrypoint web "$@"