Commit graph

51 commits

Author SHA1 Message Date
Ben 2971420a3c
Update project, add verbosity option to podlaunch
Use /infra as base directory instead of /docker
2023-09-23 00:36:58 +02:00
Ben 03dbe75cf1
Update imagerebuild.py
Use systemctl show shortcuts via --property
Ignore masked pods and images
Synchronize quick process runs
Add semaphore for image build
2022-04-19 12:34:04 +02:00
Ben 816ddb12b0
Add verbose logging 2022-03-18 15:41:25 +01:00
Ben fa1596b57a
Update project, fix progress bars 2022-03-18 15:08:56 +01:00
Ben dab194fe1d
Update project files 2022-02-20 12:37:52 +01:00
Ben 0d13fa0a58 Add imagerebuild.py 2022-02-20 12:34:44 +01:00
Ben a43545a28b
Put all build args into env vars in image@.service 2021-12-27 18:29:25 +01:00
Ben 3c195de86f
Remove --pull-always from image@.service 2021-12-27 16:12:14 +01:00
Ben c2c9f7249a
Add image dependency documentation in pod@.service 2021-12-27 14:56:45 +01:00
Ben 6f453d0089
Add image@.service to build images as dependencies 2021-12-27 14:53:06 +01:00
Ben b2bafc521e
Add log rate limiting 2021-11-28 10:13:38 +01:00
Ben 24b5a123e6
Stop logging while polling pod status 2021-09-17 00:07:25 +02:00
Ben 62a1566ab0
Fix default logging parameters
and add logging.basicConfig.
2021-09-15 23:22:23 +02:00
Ben 2c41d962db
Use stdout and stderr for all commands 2021-09-15 23:06:15 +02:00
Ben 8c1f3cb62e
Add log-level option 2021-09-15 22:35:30 +02:00
Ben 1146f9778e
Add journal logging indicators 2021-06-15 15:54:07 +02:00
Ben 9748f9bac9
Set logging driver default, fix help 2021-06-15 10:26:11 +02:00
Ben befc63304a
Add log-driver option 2021-06-15 10:23:20 +02:00
Ben 8d02bce0d8
Update dependencies in requirements.txt 2021-06-15 10:20:14 +02:00
Ben 74503521ed
Modify start limits to actually trigger 2021-03-29 10:01:30 +02:00
Ben c857eed10b
Subtract 10s from last check time when fetching logs 2020-12-30 20:49:45 +01:00
Ben e319368805
Convert bool options to bool flags 2020-12-30 20:41:52 +01:00
Ben 6bf57bf761
Add --remove option to disable removal after stop 2020-12-30 20:15:02 +01:00
Benedikt Ziemons 11bca0af53
Rename stop-previous to replace 2020-12-02 11:31:47 +01:00
Benedikt Ziemons d7884b4ecd
Add start limit of 3/150s 2020-12-02 11:27:46 +01:00
Benedikt Ziemons 4f4c03ee4f
Add reloading pod (directly) 2020-12-02 11:26:57 +01:00
Benedikt Ziemons eeb63488b5
Remove previously existing pod when replacing it 2020-12-02 11:17:33 +01:00
Benedikt Ziemons 00bcefccca
Allow sending USR signals to pod 2020-12-02 11:15:56 +01:00
Benedikt Ziemons 7d461546aa
Add 1 as valid exit code for pod exists check 2020-11-19 00:54:21 +01:00
Benedikt Ziemons 5338563299
Add option stopping previous pods, defaults to yes 2020-11-19 00:45:50 +01:00
Benedikt Ziemons 6bea5f72e0
Remove quotation marks 2020-11-19 00:38:10 +01:00
Benedikt Ziemons b38d18fcb6
Modify notify access and service killing 2020-11-18 23:43:51 +01:00
Benedikt Ziemons a94451639a
Allow podlaunching for testing 2020-11-18 23:41:41 +01:00
Benedikt Ziemons 2834f416c0
Tell status to systemd-notify 2020-11-18 23:41:14 +01:00
Benedikt Ziemons 9d0c9b94c2
Add requirements.txt 2020-11-15 00:11:01 +01:00
Benedikt Ziemons 20f289dd4b
Refactor pod control methods 2020-11-15 00:09:45 +01:00
Benedikt Ziemons 8e35b24857
Remove spammy check debug print 2020-11-14 23:58:04 +01:00
Benedikt Ziemons 260f8c1e0c
Add notify access and lower restart cooldown 2020-11-14 23:57:34 +01:00
Benedikt Ziemons 4eb083e0bb
Make podlaunch exec into the python script 2020-11-14 23:45:12 +01:00
Benedikt Ziemons 78cb7e90cd
Change service to notify and restart on success 2020-11-14 23:38:58 +01:00
Benedikt Ziemons 5dbffd0eba
Remove catching SIGCHLD 2020-11-14 23:36:53 +01:00
Benedikt Ziemons fafa2dc47d
Use inspect command's stdout for json.loads 2020-11-14 23:35:22 +01:00
Benedikt Ziemons 3715eae575
Use SIGCHLD to check and not to destroy 2020-11-14 23:32:11 +01:00
Benedikt Ziemons a9b55774ae
Add signum to signal debug print 2020-11-14 23:29:08 +01:00
Benedikt Ziemons 7501215211
Add signal debug print 2020-11-14 23:27:52 +01:00
Benedikt Ziemons b7e5cf97c2
Fix checking and set stopping event directly 2020-11-14 23:26:38 +01:00
Benedikt Ziemons 954b3d9b50
Only use systemd notify when NOTIFY_SOCKET is set 2020-11-14 23:21:41 +01:00
Benedikt Ziemons cd06cc445e
Always stop pod 2020-11-14 18:59:47 +01:00
Benedikt Ziemons fd60cef69b
Fix signal handlers arguments 2020-11-14 18:58:07 +01:00
Ben 277f16d1f1
Create README.md 2020-11-14 18:51:33 +01:00