Commit 97b292bd authored by Profpatsch's avatar Profpatsch

containers/postgres: hackily fix the postgres docker test

parent 88f1cafa
......@@ -76,5 +76,9 @@ in {
postgresDev = evalDev.config.generated.dockerImages.sanghaPostgres;
rabbitmq = evalDeploy.config.generated.dockerImages.sanghaRabbitmq;
};
tests = evalDeploy.config.tests;
# FIXME: evalDev is implicitely needed, otherwise the test
# doesn’t get the mock database.
# This happens because the is in the same file as the postgres
# module definition and therefore inherits its options.
tests = evalDev.config.tests;
}
......@@ -178,6 +178,8 @@ in {
server = {...}: {
virtualisation.docker.enable = true;
networking.firewall.enable = false;
# TODO: somehow enable here
# org.techcultivation.deploy.database.dockerImage.insertMockData = true;
};
client = { };
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment