Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sangha-deployment
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sangha
sangha-deployment
Commits
97b292bd
Commit
97b292bd
authored
Apr 09, 2018
by
Profpatsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
containers/postgres: hackily fix the postgres docker test
parent
88f1cafa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
containers/default.nix
containers/default.nix
+5
-1
containers/postgres.nix
containers/postgres.nix
+2
-0
No files found.
containers/default.nix
View file @
97b292bd
...
...
@@ -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
;
}
containers/postgres.nix
View file @
97b292bd
...
...
@@ -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
=
{
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment