You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traditionally, to bring up CUBE+pfcon+pfioh+pman on a single-machine on-the-metal requires a few extra steps on the host.
76
89
77
90
CUBE setup involves:
78
91
@@ -86,7 +99,7 @@ CUBE setup involves:
86
99
1. joining a docker swarm
87
100
2. figuring out the [`STOREBASE` environment variable](https://github.com/FNNDSC/ChRIS_ultron_backEnd/blob/78670f6abf0b6ebac7aeef75989893b4502d4823/docker-compose_dev.yml#L208-L222)
88
101
89
-
`pman`is messy because it is a container which spawns other containers on its host.
102
+
`pman`is special because it itself is a container which spawns other containers on its host.
90
103
91
104
It needs `/var/run/docker.sock` to be mounted inside the container.
92
105
We can resolve the two setup requirements by connecting to the host's dockerd.
@@ -100,7 +113,9 @@ and takes 2-3 minutes in [Github Actions' Ubuntu VMs](https://github.com/FNNDSC/
100
113
### Goals
101
114
102
115
- fast
103
-
- simple use (one purpose, no arguments)
116
+
- simple use
117
+
- no arguments
118
+
- do one thing, and one thing well (a UNIX philosophy)
104
119
- legible code
105
120
- practical for E2E testing
106
121
@@ -110,23 +125,26 @@ and takes 2-3 minutes in [Github Actions' Ubuntu VMs](https://github.com/FNNDSC/
110
125
- production use
111
126
- back-end development environment
112
127
113
-
### E2E Testing
114
-
115
-
`./minimake.sh`blocks until CUBE is ready to accept connections,
116
-
and it exits leaving the services up -- it should be easy to use for tests.
117
-
118
-
See https://github.com/FNNDSC/cni-store-proxy/blob/master/package.json
119
-
as an example.
120
-
121
128
### More Plugins
122
129
123
130
You can do a search on https://chrisstore.co for plugins to add,
0 commit comments