Jason Song
79966763c6
feat: distribute tasks to runner
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
6f18f76577
chore(runner): update runner status using proto define
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Jason Song
530faf7227
feat: assign task to runner
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
3daaf92c64
chore(deps): update proto to latest version
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
4233090738
chore(runner): get token from header
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
f79bc4f605
chore(runner): vaildate the repo URL
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
ade88b3a7b
chore(runner): register new runner
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Jason Song
e21c07cc55
feat: parse runner from ctx
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
0993c40c4f
chore(runner): create runner token table
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
4dd135580f
chore(runner): update to latest proto format.
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Jason Song
f355188e12
feat: parse workflows
2022-11-25 17:48:44 +08:00
Jason Song
91bea969d4
chore: replace act
2022-11-25 17:48:44 +08:00
Jason Song
905bce6cb6
feat: models for runner task
2022-11-25 17:48:44 +08:00
Jason Song
5093d6b48e
chore: fix mods
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
c73dbab6e5
fix
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
c623e9a279
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
9193b72d17
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
b54fc6aacb
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
0abbc2b50f
log color
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
3e9022c9f0
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
7ba22b740f
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
4f2330623e
view logs
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
5f0cb6b9e5
fix merge
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
fb738c4192
chore(runner): support fetch detail stage data
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Lunny Xiao and Jason Song
db02603882
Fix bug
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
8255915350
chore: move core package to top folder.
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
1148903d79
refactor: move build status to core package
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
ea0cf8515e
chore(gRPC): handle requesut for stage data
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
eac6425b2f
chore(gRPC): support update stage and step method.
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
68d416bd1b
chore(gRPC): initial request method
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
e07d416366
chore(model): create build, stage, step and logs table
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
e05f224d19
chore(runner): support register
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
c10414a018
test(ping): add testing for gRPC
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
9b4eb5f497
chore(module): upgrade connect-go package
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
e4e41a8065
chore(bots): re-structure grpc folder.
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu and Jason Song
2cba8fafd8
chore(grpc): add health check and grpc v1, alpha version
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
GiteaBot and Jason Song
257ba77e8d
chore(proto): update import path
...
Signed-off-by: GiteaBot <teabot@gitea.io >
2022-11-25 17:48:44 +08:00
Lunny Xiao and Jason Song
b84aa84a0f
Fix template
2022-11-25 17:48:44 +08:00
Bo-Yi Wu and Jason Song
ef3a74a1ba
chore(proto): Add ping service
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
Bo-Yi Wu and Jason Song
0e79fc556a
chore(router): Add grpc and grep-web api
...
Using connect-go package
https://github.com/bufbuild/connect-go
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-25 17:48:44 +08:00
wxiaoguang and Jason Song
92d15afd18
database-filesystem, demo log tailing in term
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
931d8c2c21
add runners management ui
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
2ea693cdd2
update template
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
a1bd3a8932
Fix build
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
2c4f6fd42f
add most tables
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
5a479bb034
Add builds UI
2022-11-25 17:48:43 +08:00
Lunny Xiao and Jason Song
7732392a96
Add bots
2022-11-25 17:48:33 +08:00
b91167b772
fix(web): keep the pages of the navigation in the center ( #21867 )
...
Keep the pages of the navigation in the center
<table>
<tr>
<th>Before</th>
<th>After</th>
</tr>
<tr>
<td>
<img width="200" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838756-d6d57b3f-8144-4a43-a33b-ea7c8ab3a495.png ">
</td>
<td>
<img width="192" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838740-bbae1e86-b14c-421d-92d4-d0e53d5952a2.png ">
</td>
</tr>
</table>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2022-11-25 14:37:02 +08:00
a1ae83f36e
Workaround for container registry push/pull errors ( #21862 )
...
This PR addresses #19586
I added a mutex to the upload version creation which will prevent the
push errors when two requests try to create these database entries. I'm
not sure if this should be the final solution for this problem.
I added a workaround to allow a reupload of missing blobs. Normally a
reupload is skipped because the database knows the blob is already
present. The workaround checks if the blob exists on the file system.
This should not be needed anymore with the above fix so I marked this
code to be removed with Gitea v1.20.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2022-11-25 13:47:46 +08:00
silverwind and GitHub
9ce5e092f3
Fix scroll over mermaid frame ( #21925 )
...
When starting a scroll while the mouse is over a mermaid diagram, the
scroll sometimes propagates to the iframe, preventing the parent page
from scrolling. Fix this by disabling scroll inside the iframe. This is
not a problem because those frames are never meant to scroll. Bug seems
to affect Firefox only.

2022-11-24 20:56:57 +00:00