Commit Graph

317 Commits

Author SHA1 Message Date
Jason Song
335873e1d8 chore: remove exp 2023-01-10 10:37:20 +08:00
Jason Song
3c2bffd818 Merge branch 'main' into feature/bots 2023-01-09 14:08:06 +08:00
Jason Song
9e94346529 Remove satori/go.uuid (#22375)
`github.com/satori/go.uuid` is no longer used, so the `replace` is not
needed now
2023-01-09 01:00:10 -05:00
Jason Song
53afbcecad Merge branch 'main' into feature/bots 2023-01-03 09:43:23 +08:00
Lunny Xiao
2bbf9e7302 Upgrade go-chi to v5.0.8 (#22304) 2023-01-01 11:23:26 +01:00
Jason Song
058675f7e5 fix: use new secrets 2022-12-22 14:44:22 +08:00
Jason Song
d183b32aa8 Merge branch 'main' into feature/bots 2022-12-22 12:00:41 +08:00
zeripath
8e17fb5c06 Update bleve and zapx to fix unaligned atomic (#22031)
There is an unaligned atomic field in zapx 15.3.5 which should have been
fixed in a subsequent patch

This bug causes issues on 32bit builds.

Update bleve and zapx to account for this.

Fix #21957

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-12-21 19:08:26 -06:00
Jason Song
ab98c3ff43 Merge branch 'main' into feature/bots 2022-12-19 18:26:28 +08:00
Meisam
f3370eeaee verify nodeinfo response by schema (#22137)
... using
[github.com/xeipuuv/gojsonschema](https://github.com/xeipuuv/gojsonschema)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-12-17 01:22:34 -05:00
Jason Song
4f7597b74d chore: mod tidy 2022-12-12 19:01:40 +08:00
Jason Song
dfa1b6168d Merge branch 'main' into feature/bots 2022-12-12 10:46:13 +08:00
KN4CK3R
0e2d04601a Update xorm (#22094) 2022-12-10 18:53:32 -05:00
Jason Song
f6f29d4cbf chore: upgrade act to v0.234.0 2022-12-06 16:23:18 +08:00
Jason Song
f2c7bbb0bc refactor: rename to actions-proto-go 2022-12-06 13:44:23 +08:00
Jason Song
76869e4b76 Merge branch 'main' into feature/bots 2022-12-02 22:17:49 +08:00
Jason Song
f59a74852b Update gitea-vet to check FSFE REUSE (#22004)
Related to:
- #21840
- https://gitea.com/gitea/gitea-vet/pulls/21

What it looks like when it's working:
https://drone.gitea.io/go-gitea/gitea/64040/1/5

All available SPDX license identifiers: [SPDX License
List](https://spdx.org/licenses/).

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-02 22:14:57 +08:00
Jason Song
9bd773eb85 Merge branch 'main' into feature/bots 2022-12-02 09:42:42 +08:00
silverwind
f0bd219a5e Update chroma to v2.4.0 (#22000)
Did a few cursory tests, seems to work well.
2022-12-01 16:44:38 -05:00
Jason Song
0c1d568e1d chore: fix mods 2022-11-28 15:08:02 +08:00
Jason Song
378e1f8d01 chore: fix problems caused by rebase 2022-11-25 17:58:34 +08:00
Jason Song
96d9b729ee chore: upgrade act 2022-11-25 17:48:48 +08:00
Jason Song
d17a0b13f1 chore: use bots-proto-go v0.1.0 2022-11-25 17:48:48 +08:00
Jason Song
ea1bc1b662 chore: replace with code.gitea.io/bots-proto-go 2022-11-25 17:48:48 +08:00
Bo-Yi.Wu
5d849cea33 chore(runner): remove update runner status
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:48 +08:00
Jason Song
9c6476754d chore: shouldn't import act_runner 2022-11-25 17:48:47 +08:00
Bo-Yi.Wu
a20b8aa909 chore(runner): return cancel evnet after upload the log
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:47 +08:00
Jason Song
465c348922 fix: show blocked jobs 2022-11-25 17:48:47 +08:00
Jason Song
feab4b1601 feat: update task status 2022-11-25 17:48:45 +08:00
Jason Song
d7b99e0028 feat: use dbfs to store log 2022-11-25 17:48:45 +08:00
Bo-Yi.Wu
4c2d976629 chore(runner): get runner by uuid from header
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:45 +08:00
Bo-Yi Wu
e68295fb7c chore(dep): upgrade proto-go 2022-11-25 17:48:45 +08:00
Jason Song
6df53243aa feat: create task steps 2022-11-25 17:48:45 +08:00
Bo-Yi Wu
699f5c5a06 chore(runner): add soft deleted field 2022-11-25 17:48:45 +08:00
Bo-Yi.Wu
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
Bo-Yi.Wu
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
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
5093d6b48e chore: fix mods 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
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
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
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
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
GiteaBot
257ba77e8d chore(proto): update import path
Signed-off-by: GiteaBot <teabot@gitea.io>
2022-11-25 17:48:44 +08:00
Bo-Yi Wu
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
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
Lunny Xiao
2c4f6fd42f add most tables 2022-11-25 17:48:43 +08:00
Jason Song
e4eaa68a2b Replace yaml.v2 with yaml.v3 (#21832)
I don't see why we have to use two versions of yaml. The difference
between the two versions has nothing to do with our usage.
2022-11-21 16:36:59 +08:00
Gusted
bea25d77ce Upgrade golang.org/x/crypto (#21792)
- Update the crypto dependency to include
6fad3dfc18
- Resolves #17798

Executed: `go get
golang.org/x/crypto@6fad3dfc18918c2ac9c112e46b32473bd2e5e2f9 && rm
go.sum && go mod tidy`
2022-11-12 22:14:35 -06:00