Commit Graph

47 Commits

Author SHA1 Message Date
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
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
c1e60a4adf
Create pub dirs with chmod 755 so local nginx can serve them 2020-03-13 21:33:28 +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
ac4b7f9995
Implement exclusive locking with mtime-based cache 2020-03-12 21:54:06 +01:00
ebb45e502a
Specify file mount explicitly 2020-02-22 18:06:59 +01:00
cdfd0de2b6
Implement App download and installation 2020-02-22 16:32:49 +01:00
31a973ee03
Rename VOLUME_DIR to VOLUMES_DIR 2020-02-22 15:16:04 +01:00
e71514c6f9
Implement App basics and publish/unpublish 2020-02-19 23:13:46 +01:00
8a39528773
exclude sizes and hash from image definition, typo fixes 2020-02-19 23:11:53 +01:00
e32a76e174
Define own layer in image, simplify copy_tree + extractall, raise HTTP errors 2020-02-18 23:37:43 +01:00
9e9b3da0dd
Use methods as argparse actions, return definitions as shallow copies 2020-02-18 12:33:54 +01:00
5e1b153c3d
ActionQueue + DepSolver for image removal / cleanup 2020-02-18 10:48:57 +01:00
67f994f190
More download/unpack CLI progress 2020-02-17 23:50:20 +01:00
4497e1e793
Simple download/unpack CLI progress 2020-02-17 23:07:18 +01:00
dae215424e
Prototype implementation of ActionItem + observers 2020-02-17 01:05:00 +01:00
a320661727
Download image including parent layers 2020-02-14 23:17:03 +01:00
5abbd921cc
Use trailing slashes for URLs and paths, bunch of fixes 2020-02-14 19:58:19 +01:00
74655ed359
Cache the online repo for 5 minutes 2020-02-14 14:10:42 +01:00
51c0703d71
Move load_pem_public_key to repo_online 2020-02-14 11:16:44 +01:00
64adcf3647
Implement common config + image download 2020-02-14 10:54:22 +01:00
467cce9ac3
Merge crypto + some imagebuilder functions into utils 2020-02-12 16:03:32 +01:00
de6b5e81ac
Rewrite imagebuilder unpack_http_archive using python modules 2020-02-12 06:57:14 +01:00
1c889fcaac
Start / stop containers including dependencies 2020-02-11 16:14:27 +01:00
81ecaed95e
Fix ephemeral layer addition 2020-02-07 23:20:53 +01:00
645735a306
Allow to pass UID/GID to container exec 2020-02-07 21:48:53 +01:00
da27fa02e0
Bunch of typo and bug fixes 2020-02-07 19:48:43 +01:00
0aeb1c42af
Add ability to set UID/GID by username 2020-02-07 17:27:19 +01:00
ac596a6dc1
Store full image definitons 2020-02-07 15:12:27 +01:00
a131948826
Swap the load_from_repo logic and improve definition members iteration 2020-02-07 13:08:38 +01:00
88b8520ff8
Pretty solid start 2020-02-06 19:00:41 +01:00