Commit graph

233 commits

Author SHA1 Message Date
Alexandre Aubin
b89b1edb24 Revert "I have no idea why, but apparently we can't load the config inside main() now ..."
This reverts commit 688a1fdc8f.
2024-04-25 12:55:43 +02:00
Alexandre Aubin
688a1fdc8f I have no idea why, but apparently we can't load the config inside main() now ... 2024-04-24 18:14:11 +02:00
Alexandre Aubin
134c1618a7 Add mechanism to push github commit status at the end of jobs 2024-04-23 18:19:54 +02:00
a223965384 Passthru for the YNHDEV_BACKEND variable to allow for incus in package_checker 2024-03-15 17:40:07 +01:00
f5d720ca3a Cleanup incus too 2024-03-06 23:27:41 +01:00
Alexandre Aubin
46b86e3070 Rework timeout mechanism 2023-11-23 18:47:58 +01:00
Alexandre Aubin
52ef23a2cb webhook: also allow yunohost-bot to auto-trigger job for ci-auto-update- branches 2023-04-05 16:56:16 +02:00
Alexandre Aubin
d130e12d44 Fix matrix notification always reporting that the app failed everything x_x 2023-03-05 14:51:10 +01:00
Alexandre Aubin
b797f46798 results API : fix again to workaround a tmp issue >_> 2023-03-05 14:50:26 +01:00
Alexandre Aubin
71fc6009d0 Use catalog v3 for apps to monitor 2023-03-03 22:38:05 +01:00
Alexandre Aubin
4d8643b223 Simplify the mess about having a json containing all result ... just create a new route that concatenates all latest results of all apps on the fly 2023-03-03 22:25:51 +01:00
Alexandre Aubin
50ae066741 Fix stupid type issue @_@ 2023-02-10 04:06:29 +01:00
Alexandre Aubin
d5268df18a Fixes from the battlefield 2023-02-07 12:54:26 +01:00
Alexandre Aubin
88eda6c070 Add default value for YNH_BRANCH 2023-02-07 12:52:19 +01:00
Alexandre Aubin
aa2e196df6 index page: Limit latest jobs display to 500 to prevent unecessarily lagging the browser 2023-02-06 18:11:12 +01:00
Alexandre Aubin
6eb3075d6b Black 2023-01-29 19:01:13 +01:00
Alexandre Aubin
4992ffe4f6 Moar fixes from the battlefield 2023-01-29 18:34:07 +01:00
Alexandre Aubin
8f58109973 Fixes after tests on the battlefield 2023-01-28 04:12:06 +01:00
Alexandre Aubin
a435d2973f Moar refactoring x_x 2023-01-27 22:26:44 +01:00
Alexandre Aubin
e2b9a88ef4 fix: when websockets are disconnected, the exception is now WebsocketClosed 2023-01-21 17:56:27 +01:00
Alexandre Aubin
ace59e9f70 Fix changes related to sanic version bump 2023-01-20 14:54:16 +01:00
Alexandre Aubin
c851f73ed0 Fixes from the battlefield 2023-01-17 15:56:39 +01:00
Alexandre Aubin
a2969820b5 Merge CI_package_check and simplify overly complex stuff 2023-01-17 14:36:20 +01:00
Alexandre Aubin
f08af652ee Add /apps/{appid}/latestjob route that redirects to the latest job 2023-01-10 15:09:54 +01:00
Alexandre Aubin
54c99f958a Add .limit() to try to improve loading time or app job page 2023-01-09 14:59:00 +01:00
Alexandre Aubin
f8f5a1c1fe More forgotten brackets 2023-01-09 14:19:00 +01:00
Alexandre Aubin
489d9e6140 Fix broke stuff /o\ 2023-01-08 17:34:55 +01:00
tituspijean
3a6f0d8066
Typo 2022-01-18 21:39:24 +01:00
tituspijean
ac8ee25297
Add ANSWER_TO_AUTO_UPDATER option 2022-01-16 19:31:45 +01:00
Alexandre Aubin
325e02c981
Merge pull request #34 from weex/clear-end-time
Clear end time when starting to run job
2022-01-09 23:44:06 +01:00
tituspijean
646e5d72e1
Add summary_url variable 2022-01-09 22:38:28 +01:00
tituspijean
c4c812581f
Add summary image in response comment 2022-01-09 22:37:23 +01:00
David Sterry
3327427cc3 clear end time when starting to run job 2021-11-16 14:39:23 -08:00
Alexandre Aubin
266bad3ec0
Merge pull request #30 from YunoHost/handle-multi-worker
handle multi worker
2021-10-19 22:55:26 +02:00
Kayou
8e63987832
Merge pull request #28 from tituspijean/update-badge
Update badge and summary URLs
2021-10-19 22:32:21 +02:00
Kay0u
3de369eaf6
fix the custom json dumps function 2021-10-14 19:24:03 +02:00
Kay0u
4a15903d3d
add a try catch to avoid a dumb error 2021-10-14 17:41:17 +02:00
Kay0u
0353307716
Create a custom json dumps for datetime convertion/fix ciclic list 2021-10-14 17:40:35 +02:00
Kay0u
0395d4349e
Restart jobs when the server stop 2021-10-13 16:10:10 +02:00
Kay0u
6b70f46789
handle multi worker 2021-10-12 18:06:59 +02:00
tituspijean
b891ab065e
Update badge and summary URLs 2021-10-04 07:32:10 +02:00
Kayou
7d77604edc
Merge pull request #27 from YunoHost/testing
Testing
2021-09-22 15:36:44 +02:00
Alexandre Aubin
10552c35b2
Merge pull request #22 from YunoHost/upgrade-to-sanic-21
Upgrade to Sanic 21
2021-09-22 15:33:45 +02:00
Alexandre Aubin
50eb310429
PR webhooks: Return 204 if PR gets created by somebody else than github-actions 2021-09-22 15:32:22 +02:00
Alexandre Aubin
9a51c12156
Merge pull request #20 from tituspijean/addBadgeInJobPage
Add badge in job page
2021-09-08 00:33:10 +02:00
tituspijean
6c15f5aba7 Add check for branch to start with ci-auto-update 2021-09-04 00:13:01 +02:00
tituspijean
84c6eb1a2a Fix pr_infos_url retrieval 2021-09-04 00:11:45 +02:00
tituspijean
90b4a06e64 Handle github-actions PRs to trigger CI 2021-09-03 18:03:58 +02:00
yalh76
6508dcf51d Fix DeprecationWarning: "@coroutine"
python[11090]: /var/www/yunorunner/./run.py:119: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead

python[11090]:   def wait_closed(self):
2021-06-30 02:13:08 +02:00
yalh76
5572f746ef Fix AttributeError: type object '_asyncio.Task' has no attribute 'all_tasks' 2021-06-30 01:48:24 +02:00