summaryrefslogtreecommitdiffstats
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* up go version in Makefilemrwsl2024-06-251-1/+1
| | | | Closes #207
* [FORGEJO] use go vet without any third party additionEarl Warren2023-08-231-2/+1
|
* [FORGEJO] build forgejo-runnerEarl Warren2023-08-231-7/+3
|
* Build docker image `gitea/act_runner/x.y.z-dind-rootless` (#239)Jason Song2023-06-151-1/+1
| | | | | | | Follow #208 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/239 Reviewed-by: Zettat123 <zettat123@noreply.gitea.com>
* Support changing labels (#201)sillyguodong2023-06-151-1/+1
| | | | | | | | | | | | | | Implement proposal: https://github.com/go-gitea/gitea/issues/24540 Related: - Protocol: https://gitea.com/gitea/actions-proto-def/pulls/9 - Gitea side: https://github.com/go-gitea/gitea/pull/24806 Co-authored-by: Jason Song <i@wolfogre.com> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/201 Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: sillyguodong <gedong_1994@163.com> Co-committed-by: sillyguodong <gedong_1994@163.com>
* implement act_runner rootless image (#208)ccureau2023-06-121-0/+2
| | | | | | | | | | This PR creates a rootless Docker image that runs both `dockerd` and `act_runner` using `supervisord`. It has been tested locally for a few days and seems stable. Co-authored-by: ccureau <ccureau@noreply.gitea.io> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/208 Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: ccureau <ccureau@noreply.gitea.com> Co-committed-by: ccureau <ccureau@noreply.gitea.com>
* Skip counting log length when parseLogRow return nil (#176)Jason Song2023-05-061-1/+4
| | | | | | | | | | | | | Fix: ![image](/attachments/93e29bc0-3599-4f7e-8b90-512562a5d711) Regression of #149, `LogLength` could be incorrect. It may be related to https://github.com/go-gitea/gitea/issues/24458 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/176 Reviewed-by: Zettat123 <zettat123@noreply.gitea.io> Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io>
* make: skip --disable-content-trust at docker buildx (#139)You-Sheng Yang2023-04-241-1/+4
| | | | | | | | | | | `docker build` may be aliased as `docker buildx build`, which doesn't support --disable-content-trust switch. Signed-off-by: You-Sheng Yang <vicamo@gmail.com> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/139 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Co-authored-by: You-Sheng Yang <vicamo@gmail.com> Co-committed-by: You-Sheng Yang <vicamo@gmail.com>
* Add make docker (#115)Lunny Xiao2023-04-121-0/+8
| | | | | | | Reviewed-on: https://gitea.com/gitea/act_runner/pulls/115 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
* Refactor to new framework (#98)Jason Song2023-04-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adjust directory structure ```text ├── internal │   ├── app │   │   ├── artifactcache │   │   ├── cmd │   │   ├── poll │   │   └── run │   └── pkg │   ├── client │   ├── config │   ├── envcheck │   ├── labels │   ├── report │   └── ver └── main.go ``` - New pkg `labels` to parse label - New pkg `report` to report logs to Gitea - Remove pkg `engine`, use `envcheck` to check if docker running. - Rewrite `runtime` to `run` - Rewrite `poller` to `poll` - Simplify some code and remove what's useless. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/98 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Jason Song <i@wolfogre.com> Co-committed-by: Jason Song <i@wolfogre.com>
* check go version when build (#53)Lunny Xiao2023-03-161-1/+11
| | | | | | Fix #51 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/53
* Fix make don't rebuild when go.mod changed (#49)Lunny Xiao2023-03-141-3/+4
| | | | | | | Fix #13 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/49 Reviewed-by: delvh <dev.lh@web.de>
* Inject version when building and report version to Gitea via log and header ↵sillyguodong2023-03-131-2/+3
| | | | | | | | | | | | | | | | | | | | | (#43) close #42 1. Inject runner version when `make build` After building, executing command line: `./act_runner -v` or `./act_runner --version`, the version of runner is printed. ![image](/attachments/e25efbd3-79b3-49a5-b93f-42646d42c707) 2. In `Actions` UI: ![image](/attachments/36c57470-2a1d-4796-9eb0-de3988ab88e1) 3. Set request header in http client interceptor. Co-authored-by: sillyguodong <gedong_1994@163.com> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/43 Reviewed-by: delvh <dev.lh@web.de> Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io> Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io>
* Add copyright header and gitea-vet (#29)sillyguodong2023-02-281-3/+6
| | | | | | | | | | | Add copyright header Co-authored-by: sillyguodong <gedong_1994@163.com> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/29 Reviewed-by: Jason Song <i@wolfogre.com> Reviewed-by: Zettat123 <zettat123@noreply.gitea.io> Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io> Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io>
* Enable action as CI to test/build/release (#26)Lunny Xiao2023-02-241-2/+2
| | | | Reviewed-on: https://gitea.com/gitea/act_runner/pulls/26
* chore: Add makefileBo-Yi.Wu2022-11-241-0/+150
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>