Commit Graph

89 Commits

Author SHA1 Message Date
d2e17c8d49
Remove distro-specific build files 2022-01-01 17:27:31 +01:00
855c5526f6
Add tox, pylint, pytest, fix reported findings 2021-12-20 22:21:58 +01:00
c3a73f2b28
Filter only spoc apps in all app status 2021-07-12 14:12:37 +02:00
4420d64c45
Fix getting status for all apps 2021-07-11 16:11:57 +02:00
05f4d7955b
Print a message on successful login 2021-07-11 16:02:33 +02:00
612497abb1
Make repo error show registry host in CLI 2021-07-11 15:51:48 +02:00
48a08d8fa3
Add .gitignore 2021-07-11 15:51:16 +02:00
5bc8a878dc
Treat empty CLI args as error and show usage 2021-07-11 15:39:14 +02:00
0b585dee0d
Further work - add auth, split CLI, simplify locking 2021-07-11 00:58:28 +02:00
7004b0767e
Initial commit for podman backend 2021-07-06 19:50:00 +02:00
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