Commit Graph

79 Commits

Author SHA1 Message Date
8c22df2e71
Make lxc-wait check more resilient 2021-01-09 18:04:54 +01:00
d29cb7739e
Don't fail autostart if the property doesn't exist 2021-01-09 17:43:11 +01:00
e2d4a15251
Make interface and resolv.conf configurable 2021-01-09 15:27:14 +01:00
79b02c90fe
Print container status as value, not the whole enum member 2020-10-17 10:55:38 +02:00
7b3c2088e1
Add help strings to command line options 2020-05-24 08:55:02 +02:00
021bac46b3
Add 127.0.0.1 localhost to container /etc/hosts 2020-05-03 21:52:16 +02:00
ede631b8e1
Address some pylint issues 2020-05-02 21:40:48 +02:00
bb694671f2
Attempt to stop containers in App update/uninstall, closes #3 2020-04-26 18:41:42 +02:00
cedd257f63
Introduce UNKNOWN ContainerState 2020-04-26 18:32:06 +02:00
0c590c820e
Fix app status output 2020-04-26 17:26:29 +02:00
da892401dd
Don't duplicate existing container records during app update, closes #4 2020-04-26 17:16:41 +02:00
9269c4384c
Introduce is_running()/is_stopped() Container/App convenience methods 2020-04-26 16:46:09 +02:00
7a07d563e9
Implement spoc-app list running|stopped, closes #5 2020-04-26 16:33:03 +02:00
659992d249
Correctly resolve dependencies when manually deleting image, closes #7 2020-04-26 16:20:23 +02:00
4f33d97386
Don't copy mode and attrs for existing dirs (e.g. /tmp), closes #6 2020-04-26 12:28:04 +02:00
ba9baa9362
Reap lxc-stop process to prevent zombification, closes #2 2020-04-13 21:58:22 +02:00
54c12759ee
Ensure that spoc-app installs layers in correct order, closes #1 2020-04-13 21:26:11 +02:00
0614c15e3e
Fix start-autostarted / stop-all 2020-04-10 20:19:53 +02:00
d70fe9756a
Stop all containers if install.sh fails 2020-04-06 09:50:41 +02:00
b3f2a4be70
Allow spoc-container start to pass a command 2020-04-05 20:34:40 +02:00
5929a1ea6b
Add OpenRC service unit 2020-04-04 22:03:00 +02:00
4e7921e85d
Fix line endings 2020-04-04 17:59:34 +02:00
ffa0927119
Add net.get_ip(container_name) 2020-04-04 12:21:25 +02:00
55ee03079f
Don't attempt to load app from local_repo while publishing 2020-04-03 23:46:35 +02:00
42bdace8f6
Don't import separate config constants, import whole module in case the constants are not so constant 2020-04-03 20:59:13 +02:00
794c46969b
Make config file name into a definition 2020-04-03 20:15:09 +02:00
7dd02f0e2a
Cache online_repo results indefinitely, but allow force reload 2020-04-03 19:42:06 +02:00
261f237dc7
Initialize public key for online repo only when needed 2020-04-03 15:57:10 +02:00
d3455b5dcd
Make app start/stop observable 2020-04-03 15:14:06 +02:00
929e8d9a60
Make observer optional for all tasks 2020-04-03 15:05:19 +02:00
eeab3cb54c
Make unpacking remove target directory, if it exists from previous failed installation 2020-04-03 14:36:49 +02:00
5f5bad4c20
Add missing import 2020-04-03 12:38:53 +02:00
b434e6af92
Cache online_repo listing for 10 seconds 2020-03-29 15:22:38 +02:00
7cf9a10b46
Populate App definition members dynamically 2020-03-29 14:58:16 +02:00
2de52c525b
Meaningless aesthetical fix 2020-03-28 10:19:10 +01:00
c8b0d02e8c
Rename State to ContainerState 2020-03-26 21:32:16 +01:00
c0ce525004
Use ActionQueue for app update/uninstall 2020-03-26 20:29:27 +01:00
6ee0912c79
Add option to start autostarted apps and stop all apps 2020-03-26 20:09:10 +01:00
cdb9768086
Allow App definition without full container definition 2020-03-26 19:47:15 +01:00
86a845a92d
Move autostart flag from containers to apps 2020-03-26 19:30:37 +01:00
6df8bf0616
Make sure the containers are stopped before uninstalling 2020-03-26 19:14:25 +01:00
d4bbce2dcf
Raise InvalidContainerStateError when await_state fails 2020-03-20 15:20:11 +01:00
44c1a8638d
Return cmd returncode from spoc-c exec 2020-03-19 21:59:23 +01:00
fc42131bb6
Fix dependency solving during image removal 2020-03-14 20:55:11 +01:00
c1e60a4adf
Create pub dirs with chmod 755 so local nginx can serve them 2020-03-13 21:33:28 +01:00
a6dd9ee3e4
Make the /usr/bin scripts executable 2020-03-13 13:15:00 +01:00
a936985df1
Fix typo 2020-03-12 23:30:09 +01:00
066457a5e9
Drop py3-bcrypt from dependencies 2020-03-12 23:27:43 +01:00
1e12d78efe
Implement app update 2020-03-12 22:19:29 +01:00
d1e5b83186
Implement app uninstall 2020-03-12 21:54:18 +01:00