Commit graph

233 commits

Author SHA1 Message Date
yalh76
bab653dbd5
Merge branch 'testing' into upgrade-to-sanic-21 2021-06-30 00:00:44 +02:00
Kay0u
657810edc3
revert the way we remove websockets in a list 2021-06-17 16:13:10 +02:00
Kay0u
84df910e20
fix an issue in app view 2021-06-16 19:24:19 +02:00
Kay0u
c2a0a51646
Upgrade to Sanic 21 2021-06-16 18:53:59 +02:00
tituspijean
21dc122bb6 Add badge in job page
Also features the copy of the Markdown code for the badge into the clipboard
2021-06-08 01:30:36 +02:00
yalh76
36c61110af
Update run.py
Would solve error during pepette_ynh test
2021-03-29 20:40:28 +02:00
Alexandre Aubin
cd89ea729b
Stupid hack for pepettes_ynh which has a epic weird bug with unicode stuff during tests... lynx+euro symbol idk 2021-03-23 00:52:23 +01:00
yalh76
43bc81c990 Make config.py relative 2021-03-05 19:56:45 +01:00
Alexandre Aubin
d92a9351fb Let's have a sensible default for the analyzer path, this'll help the yunorunner ynh package 2021-03-01 21:35:05 +01:00
Alexandre Aubin
525dcadb07 Aaaaannnd actually we don't debug by default 2021-03-01 21:29:46 +01:00
Alexandre Aubin
f5f46e96cb Misc fixes after actual testing 2021-03-01 21:26:19 +01:00
Alexandre Aubin
cde0e66697 Handle the configuration via an external file rather than args that needs to be defined in the systemd config... 2021-03-01 20:49:46 +01:00
Alexandre Aubin
0ad5937ec4 Add flag to not monitor bad quality apps, meant for unstable CI 2021-03-01 20:28:10 +01:00
Alexandre Aubin
11b3f42652 Let's not handle the SSL layer... 2021-03-01 20:27:08 +01:00
Alexandre Aubin
0fac7c9dee We don't need that old 'type' either 2021-03-01 20:15:16 +01:00
Alexandre Aubin
21514377c4 Get rid of old apps_list stuff, we ain't gonna need it 2021-03-01 20:10:58 +01:00
Kayou
0136788358
Typo 2021-01-22 10:44:10 +01:00
Alexandre Aubin
17fa0fea3e
Accept header to explicly use github api v3
Co-authored-by: Kayou <pierre@kayou.io>
2021-01-20 15:12:07 +01:00
Kay0u
7dc11c02aa
fix check if user is member of the YunoHost-Apps 2021-01-20 15:07:44 +01:00
Kayou
e569bffd89
Add CONTRIBUTOR to the allowed author_association 2021-01-20 14:09:37 +01:00
Alexandre Aubin
268a3f8289 Also allow collaborators to trigger jobs, because for some reason Github flag some member as collaborators... 2021-01-18 15:38:25 +01:00
Alexandre Aubin
fd84352eb6
Merge pull request #12 from YunoHost/trigger-job-via-github-comments
Trigger job via GitHub comments
2021-01-15 00:52:42 +01:00
Alexandre Aubin
36dd615ed4 Misc fixes after testing 2021-01-14 23:02:56 +01:00
Alexandre Aubin
f2049e6807 [yolowip] Answer with a comment with a badge+link to job created 2021-01-14 21:37:22 +01:00
Alexandre Aubin
f05f0ed432 Improve logging, return codes 2021-01-14 15:23:58 +01:00
Alexandre Aubin
49d6b8640f Add badge endpoint 2021-01-14 15:12:05 +01:00
Alexandre Aubin
19f26497e7
Make sure the issue is a pull request
Co-authored-by: Kayou <pierre@kayou.io>
2021-01-14 15:09:27 +01:00
Alexandre Aubin
d97747eed0 Add github webhooks endpoints to create a job from a comment on a PR 2021-01-13 01:44:39 +01:00
Alexandre Aubin
0f05bba6ec Simplify create_job, specifying the arch/branch through a comment and job name was a super ugly hack not used anymore... 2021-01-13 01:34:16 +01:00
Alexandre Aubin
5bb6d7c890
Do not miserably display nothing if there's less than 30 entries 2021-01-12 23:15:42 +01:00
Alexandre Aubin
470fb02022 Also provide the job id to analyseCI 2021-01-05 17:22:36 +01:00
Alexandre Aubin
016d032020 More cosmetics / simpler job names 2021-01-05 17:21:31 +01:00
Bram
42472c5eca
Merge pull request #11 from YunoHost/no-app-name-or-state-in-display
Repo app catalog name / state from views
2021-01-02 14:59:33 +01:00
Bram
ee8b73e563
Merge pull request #9 from YunoHost/send-sigterm-on-cancel
Send SIGTERM when cancelling jobs ?
2021-01-02 14:56:52 +01:00
Laurent Peuch
8b89935eb3 [fix] in case the db is totally empty, index is buggy 2020-12-30 00:58:49 +01:00
Alexandre Aubin
c4b9fcf554 Repo app name / state from views 2020-12-29 17:37:15 +01:00
Alexandre Aubin
e3aabd4515
Send SIGTERM when cancelling jobs ? 2020-12-28 23:42:19 +01:00
yalh76
85be8b5fa8 typo monitor 2020-11-03 22:54:37 +01:00
yalh76
aa9bfab49f typo montly 2020-11-03 22:52:43 +01:00
Laurent Peuch
d707e756c4 [mod] avoid loading jobs log when list apps for optimisation 2019-06-23 04:39:05 +02:00
Laurent Peuch
af105f1c28 [mod] move condition in sql 2019-06-23 04:39:05 +02:00
Laurent Peuch
bb99d52865 [fix] bad comparison duplicated apps in app list 2019-06-23 04:22:50 +02:00
Laurent Peuch
1eb0374a11 [fix] avoid fetch log field from the db to reduce memory usage 2019-06-23 02:37:49 +02:00
Laurent Peuch
55eaee768c [mod] add more iterators to reduce memory usage 2019-06-23 02:30:17 +02:00
Laurent Peuch
15c9fc0eda [mod] avoid data bufferisation to reduce memory usage 2019-06-23 02:26:00 +02:00
Laurent Peuch
2523a1f140 [fix] send home initial data in streaming to avoid killing firefox 2019-06-22 06:41:07 +02:00
Bram
1a90f3811a
Merge pull request #5 from kay0u/patch-1
Migrate to apps.json
2019-04-28 02:52:01 +02:00
Laurent Peuch
256de8fb3d [enh] display current number of tasks in logs 2019-04-08 18:15:33 +02:00
Laurent Peuch
fdaa462a84 [fix] ensure that websockets are unsubscribes on closed connection 2019-04-08 18:14:23 +02:00
Laurent Peuch
a7d74316f6 [mod] remove unused data 2019-04-08 18:10:23 +02:00