Commit Graph

132 Commits

Author SHA1 Message Date
a1ceeb1ead
Fix wrong layer ordering 2019-12-21 17:44:27 +01:00
bfd1b7cb2f
Use cp -pr for lxchelper extract 2019-12-18 10:12:54 +01:00
e57cfc493a
Don't drop sys_admin cap in unprivileged containers 2019-12-18 10:12:33 +01:00
e05ffc194f
Fix method name 2019-12-13 21:28:15 +01:00
119636f94e
Fix layer purging 2019-12-10 08:38:23 +01:00
e867ee7e64
Fix pkgmgr typo 2019-12-09 22:27:21 +01:00
57212cb6b3
update_services only once per app, suppress umount warnings 2019-12-09 21:49:05 +01:00
ad1bfc8860
Use main() in direct executables 2019-12-09 21:40:07 +01:00
ca10263696
try to unmount rootfs also during destroy_container 2019-12-07 16:57:24 +01:00
7794ada45e
Create lxchelper for prepare, cleanup and extract 2019-12-07 15:45:43 +01:00
539a61662d
Introduce lxc- prefix for services 2019-11-30 22:10:26 +01:00
2d3890fd51
No need to use Enum for simple constants 2019-11-30 18:56:52 +01:00
7c25d22d41
Add lxcid 2019-11-30 09:56:23 +01:00
41156fe424
Fix script cwd handling 2019-11-13 20:58:02 +01:00
be36199640
Implement actual update function, lazy-load online_packages 2019-10-17 09:07:11 +02:00
ecb09001d4
Change working directory before executing install/update/uninstall script 2019-10-14 08:25:36 +02:00
ecfa225187
String formatting simplification 2019-10-05 22:42:13 +02:00
b02fc3f42c
Handle leases for containers with already leased IPs 2019-10-05 22:26:07 +02:00
6045349f9c
Destroy containers on install to cleanup previous 2019-10-03 20:07:55 +02:00
7591cf2d47
Fix mounts and start_post 2019-09-24 19:14:16 +02:00
171aa76043
Fix ready command 2019-09-24 10:52:33 +02:00
d14fba7ec1
Implement service manager 2019-09-24 09:59:45 +02:00
7b045cf9c3
Make lxcmgr executable 2019-09-23 15:31:31 +02:00
ce3fec4364
Fix install, print CLI installation status 2019-09-23 15:30:06 +02:00
4c2616887f
Separate repo conf, build should now be almost complete 2019-09-20 15:41:56 +02:00
c3b711850e
Split to lxcmgr 2019-09-20 10:10:25 +02:00
972ca0b696
Introduce LXC-composer 2019-09-18 11:27:49 +02:00
d9334fd12b
Change LUKS password based on crypttab UUID 2019-06-12 16:23:07 +02:00
54d3c1d23b
Use pkg_resources instead of packaging module 2019-06-05 15:15:03 +02:00
19b16c1244
Clarify repo error message 2019-06-04 15:25:54 +02:00
14876bc139
Add update check and action stub 2019-06-04 15:23:43 +02:00
ebd24befaf
Merge rebuild_nginx into update_host 2019-06-04 08:42:41 +02:00
d6f738c47e
Point URLs to repo.spotter.cz 2019-05-15 10:24:02 +02:00
2494c55493
Enable SSH only if any keys exist 2019-03-22 10:31:25 +01:00
81d9bb74ee
Phase out serial TTY, update SSH MOTD 2019-03-22 09:58:53 +01:00
bba7e0383c
Implement VPN + SSH configuration 2019-03-22 08:47:59 +01:00
d863fe6675
Add functions for wireguard remote support 2019-03-20 08:47:02 +01:00
8889900650
Download packages into more secure place than /tmp 2019-03-01 14:59:30 +01:00
d5cec3491b
Add unpack installation stage and use enum for stages 2019-02-26 21:33:56 +01:00
b5f8f3cf84
App is installed when it appears in packages, not in apps 2019-02-26 21:02:49 +01:00
27cb356d92
Don't re-download already verified packages after interrupted installations 2019-02-26 20:59:50 +01:00
d64e57ba69
Fixes to pre-abuild way of package handling 2019-02-25 22:20:41 +01:00
65f5bc18c0
Retain version string in downloaded package names 2019-02-24 13:38:52 +01:00
57db520dbb
Revert to the pre-abuild way of package handling 2019-02-21 00:10:38 +01:00
9e928a4c58
Cleanup package installation code 2019-02-19 21:06:47 +01:00
c8502b2e3f
Add vmmgr unregister-app to decouple (un)registration from wsgi 2019-02-19 19:17:05 +01:00
050b26f11f
Reorganize vm/lxc/app functions 2019-02-19 16:05:21 +01:00
c213b0c0d8
Make register_app register all metadata 2019-02-19 10:07:17 +01:00
bbdd91cd77
Simplify apk pipe handling, eliminate InstallItem 2019-02-15 22:24:50 +01:00
56b94ef27b
Add forgotten import 2019-02-15 16:02:06 +01:00
f4efe179e4
Fix WSGI config reload 2019-02-15 15:35:01 +01:00
84ccc2bd84
Implement resilient register_app config reload 2019-02-15 14:19:01 +01:00
deb56f0c7b
Properly read repository info 2019-02-15 12:05:12 +01:00
3abe7470e7
Fix typos 2019-02-14 22:13:15 +01:00
49b0296967
Use native Alpine package manager instead of custom one 2019-02-14 21:10:08 +01:00
6b306390b3
Split LXC and package logic to separate modules 2018-12-20 14:56:37 +01:00
be5e95d5c0
Add Odoo to Portal 2018-11-17 11:51:33 +01:00
e5eaba1bc8
Fix cert method name 2018-11-07 21:56:53 +01:00
2e97742d56
Apply a few pylint suggestions 2018-11-07 18:35:48 +01:00
bd066710f5
Make AJAX calls alert on lost connection 2018-11-07 14:37:03 +01:00
a4bf77a00a
Remove extraneous print() 2018-11-07 14:29:21 +01:00
223fed2de8
Reload nginx after selfsigned creation + verification fix 2018-11-06 22:29:32 +01:00
8b010a3aee
chmod ACM cron job instead of deleting/recreating 2018-11-06 22:04:52 +01:00
741c9d309a
Remove unused imports 2018-11-05 23:00:33 +01:00
67840131ee
Rename tools to net 2018-11-05 22:56:24 +01:00
3e0363b904
Move crypto-related functions to a separate file 2018-11-05 22:52:09 +01:00
c2b383e5c8
Move tools into best fitting modules 2018-11-05 14:41:10 +01:00
75e86b0dcb
Rework validator 2018-11-05 11:44:45 +01:00
b64f9c2c9e
Don't handle BadRequest explicitly 2018-11-05 08:59:06 +01:00
0605110050
Don't restart apps on update-host 2018-11-05 00:03:30 +01:00
340323a0b5
Don't restart apps on update-common, use session messages 2018-11-04 23:31:13 +01:00
8f7cb14305
Implement global queue, improve failure resiliency 2018-11-04 19:49:15 +01:00
ace50a79e7
Use file-locking also for config. 2018-11-02 19:54:20 +01:00
fa23e4828f
Don't register package as application automatically. 2018-11-02 19:53:24 +01:00
3a5258ff1f
Adjust the issue banner to use hidden cursor instead of color hack 2018-11-02 18:13:20 +01:00
e77ab483df
Update hosts file with exclusive lock 2018-11-02 15:25:48 +01:00
1fdf65c850
Don't automatically login on first run. 2018-11-02 05:36:08 +01:00
7eaab3d6e2
Show both domain and ip URL in issue banner 2018-11-01 23:57:03 +01:00
5f58109373
Simplify get_local/external_ip 2018-11-01 23:45:22 +01:00
48ef45e487
Add TTFB timeout 2018-11-01 16:24:23 +01:00
dd5396ae4b
Don't raise false hopes and begin download from 0 % 2018-11-01 16:18:28 +01:00
75a18f1ea3
Spread files to proper application structure 2018-11-01 11:36:49 +01:00