dependabot[bot]
f41e9127a8
build(deps): bump github.com/docker/docker ( #1613 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.0-rc.3+incompatible to 23.0.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.0-rc.3...v23.0.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 03:25:34 +00:00
dependabot[bot]
22dc1e0e7e
build(deps): bump github.com/go-git/go-billy/v5 from 5.4.0 to 5.4.1 ( #1612 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.4.0...v5.4.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 02:51:12 +00:00
dependabot[bot]
281a52f0d6
build(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1 ( #1614 )
...
Bumps [github.com/joho/godotenv](https://github.com/joho/godotenv ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/joho/godotenv/releases )
- [Commits](https://github.com/joho/godotenv/compare/v1.4.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/joho/godotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 02:36:56 +00:00
dependabot[bot]
e259dc2835
build(deps): bump github.com/moby/buildkit from 0.11.1 to 0.11.2 ( #1589 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.1...v0.11.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-30 02:40:41 +00:00
dependabot[bot]
09e9f6a1ac
build(deps): bump github.com/moby/buildkit from 0.11.0 to 0.11.1 ( #1576 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 04:06:21 +00:00
dependabot[bot]
a2856aed75
build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0 ( #1577 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:42:24 +00:00
dependabot[bot]
612e08f113
build(deps): bump github.com/docker/docker ( #1573 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.0-rc.1+incompatible to 23.0.0-rc.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.0-rc.1...v23.0.0-rc.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:25:31 +00:00
dependabot[bot]
1b7212f5fd
build(deps): bump github.com/rhysd/actionlint from 1.6.22 to 1.6.23 ( #1574 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.22 to 1.6.23.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.22...v1.6.23 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:11:28 +00:00
dependabot[bot]
d8ba8cbf17
build(deps): bump github.com/moby/buildkit from 0.10.6 to 0.11.0 ( #1563 )
...
* build(deps): bump github.com/moby/buildkit from 0.10.6 to 0.11.0
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.6 to 0.11.0.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.6...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: use new patternmatcher.Matches
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-16 17:26:22 +00:00
dependabot[bot]
3ac756b37a
build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.12 ( #1554 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.12 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 22:23:48 +00:00
Jason Song
cf27d3f300
Update act to 0.234.1 ( #12 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/12
2023-01-06 18:32:01 +08:00
dependabot[bot]
0d388572a8
build(deps): bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 ( #1539 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 02:27:22 +00:00
dependabot[bot]
9c7085195c
build(deps): bump github.com/go-git/go-billy/v5 from 5.3.1 to 5.4.0 ( #1541 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.3.1...v5.4.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 02:13:45 +00:00
dependabot[bot]
767969502a
build(deps): bump github.com/docker/cli ( #1516 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.21+incompatible to 20.10.22+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.21...v20.10.22 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 15:33:25 +00:00
dependabot[bot]
469d024c1f
build(deps): bump github.com/docker/docker ( #1517 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.21+incompatible to 20.10.22+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v20.10.21...v20.10.22 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 15:20:49 +00:00
Jason Song
6d2200b3d6
Rename to actions ( #7 )
...
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/7
2022-12-06 16:37:38 +08:00
Jason Song
8996b9b0e4
Disable HTTP/2 ( #4 )
...
We use [connect-go](https://github.com/bufbuild/connect-go ) instead of [grpc-go](https://github.com/grpc/grpc-go ) because connect-go support HTTP/1.1, that means we can mount the gRPC api on the Gitea server without change the protocol.
So it doesn't make sense that make the runner support both HTTP/1.1 and HTTP/2, and [upgrade the protocol used on Gitea](
ae018b6b48/modules/graceful/server_http.go (L23) ) to support HTTP/2 and h2c. Although it works right now, I believe there'll be lots of problems when the Gitea server is behind a reverse proxy.
So let's KISS, we don't touch the http protocol of Gitea, and disable HTTP/2 for runner. And we would support HTTP/2 in the future if we really need it.
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/4
2022-11-29 10:35:59 +08:00
Jason Song
b3e7d6a62d
fix: update container config
2022-11-24 15:38:22 +08:00
Jason Song
2354f5bb18
feat: use specified labels
2022-11-24 15:38:21 +08:00
Jason Song
66ec50e427
chore: upgrade act
2022-11-24 15:38:16 +08:00
Jason Song
44988db9f8
chore: replace with code.gitea.io/bots-proto-go
2022-11-24 15:38:15 +08:00
Lunny Xiao
519726b46b
Update act
2022-11-24 15:38:14 +08:00
Bo-Yi.Wu
e9e42e850b
chore(runner): remove update runner status
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:38:12 +08:00
Jason Song
8f950ccec0
feat: auto remove containers
2022-11-24 15:38:11 +08:00
Jason Song
ab4e06f977
feat: support post step log
2022-11-24 15:38:09 +08:00
Lunny Xiao
5fc35faf17
Support bot site
2022-11-24 15:38:06 +08:00
Jason Song
cbd21b8ec5
feat: avoid reuse of containers
2022-11-24 15:37:51 +08:00
Bo-Yi.Wu
08c94bb564
chore(runner): cancel task if get the cancel from server
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:44 +08:00
Jason Song
2f879c41c4
chore: remove tracing codes
2022-11-24 15:37:42 +08:00
Jason Song
41b5fa6b55
fix: update step result
2022-11-24 15:37:41 +08:00
Bo-Yi.Wu
a503f7429f
chore(runner): add new register command
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:36 +08:00
Bo-Yi Wu
d4c1515f4e
chore(runner): update runner status if start program
2022-11-24 15:37:32 +08:00
Bo-Yi.Wu
c161a48a0a
chore(register): update proto file.
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:26 +08:00
Bo-Yi.Wu
3a1503138b
chore(runner): refactor register flow
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:24 +08:00
Bo-Yi.Wu
7486d2ab91
chore(runner): update fetch job request
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:22 +08:00
Bo-Yi.Wu
82431d8e11
chore(runner): support update log and task
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:21 +08:00
Bo-Yi.Wu
d3d56ed0ef
chore(runtime): fetch build data
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:17 +08:00
Bo-Yi.Wu
9be39b8cd4
chore(gRPC): add update and update step for client
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:13 +08:00
Bo-Yi.Wu
f2fb8798fa
chore(gRPC): add request interface client
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:11 +08:00
Bo-Yi.Wu
449388f3ab
chore(gRPC): register new runner
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:10 +08:00
GiteaBot
307c2c63de
chore(proto): replace import path.
...
Signed-off-by: GiteaBot <teabot@gitea.io >
2022-11-24 15:37:02 +08:00
Bo-Yi Wu
7d55fd57c9
chore(piepline): add runtime package.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:01 +08:00
Bo-Yi Wu
0b885c5e5f
chore(poller): Add poller package
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-24 15:36:56 +08:00
Bo-Yi Wu
4d7ef95d40
chore(proto): Add ping request.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-24 15:36:54 +08:00
Bo-Yi Wu
4eb5213294
chore(engine): ping docker daemon
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2022-11-24 15:36:49 +08:00
Lunny Xiao
b83f36674b
Fix build
2022-11-24 15:36:47 +08:00
Lunny Xiao
3b7ac17410
Use fork instead of act
2022-11-24 15:36:45 +08:00
Lunny Xiao
906d52ae0b
Use gitea.com/gitea/act replace original
2022-11-24 15:36:31 +08:00
Bo-Yi Wu
aa9ed05903
chore: load config from env file
2022-11-24 15:36:30 +08:00
Bo-Yi Wu
5213612033
chore: remove unused logrous package
2022-11-24 15:36:29 +08:00