1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-21 18:11:06 +00:00
Commit graph

1811 commits

Author SHA1 Message Date
GiteaBot
aa765ea4d0 chore(go): rename module name
Signed-off-by: GiteaBot <teabot@gitea.io>
2022-11-24 15:37:03 +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
bca586ffd0 chore: Add time sleep 1 second.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:58 +08:00
Bo-Yi Wu
d359276fe1 chore(client): support gRPC and gRPC web protocol
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:57 +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
14a345504f refactor: docker engine with options 2022-11-24 15:36:51 +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
Bo-Yi Wu
9225a3a856 chore(config): remove zerolog
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:48 +08:00
Lunny Xiao
b83f36674b Fix build 2022-11-24 15:36:47 +08:00
fuxiaohei
dfcb104af0 feat: add task log output hook 2022-11-24 15:36:46 +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
Bo-Yi Wu
518aa1b2a7 chore: add .golangci config 2022-11-24 15:36:28 +08:00
Bo-Yi Wu
827bd953e7 chore: fix lint error 2022-11-24 15:36:26 +08:00
Bo-Yi Wu
e54de37242 refactor: Add graceful shutdown signal notify func 2022-11-24 15:36:25 +08:00
Bo-Yi Wu
08282a519f stash
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:23 +08:00
Lunny Xiao
db7ee2eaf4 log 2022-11-24 15:36:22 +08:00
Lunny Xiao
c7cb750616 refactor functions 2022-11-24 15:36:21 +08:00
Lunny Xiao
5903c08c14 update protocol 2022-11-24 15:36:20 +08:00
Lunny Xiao
2babadbc94 Add websocket 2022-11-24 15:36:19 +08:00
Lunny Xiao
e397fcc259 Add license 2022-11-24 15:36:16 +08:00
Jason Song
1d5336f842 feat: adjust container name format (#1)
Co-authored-by: Jason Song <i@wolfogre.com>
Reviewed-on: https://gitea.com/gitea/act/pulls/1
2022-11-24 14:45:32 +08:00
Jason Song
b3317222b6 feat: support PlatformPicker 2022-11-22 16:39:19 +08:00
Jason Song
ce157e637c Support step number 2022-11-22 16:11:35 +08:00
Lunny Xiao
74b3669738 disable graphql url because gitea doesn't support that 2022-11-22 14:42:48 +08:00
Jason Song
1d92791718 feat: support more options of containers 2022-11-22 14:42:12 +08:00
Jason Song
0921d4e865 fix: set logger with trace level 2022-11-22 14:41:57 +08:00
Lunny Xiao
96bec04f10 Fix API 2022-11-22 14:22:03 +08:00
Lunny Xiao
3540a7ebc2 support bot site 2022-11-22 14:17:06 +08:00
Jason Song
eabde7927b Add custom enhancements 2022-11-22 14:16:35 +08:00
fuxiaohei
f6121d6377 feat: add logger hook for standalone job logger 2022-11-22 14:00:13 +08:00
Randolph Chung
76d766bcd1 fix: handle subdirectors and exclusions (#1012) (#1446) 2022-11-21 14:47:38 +00:00
Magnus Markling
a2c20c6cb7 Remove dead code (#1425)
Co-authored-by: Casey Lee <cplee@nektos.com>
2022-11-16 22:12:00 +00:00
Markus Wolf
49b7141194 feat: interpolate the step names (#1422)
* feat: interpolate the step names

Step names could contain expressions refering to event data.

Fixes #1353

* test: add missing mock data

* fix: setup composite expression evaluator

The RunContext does contain a cached ExpressionEvaluator.
This should be the case the composite RunContext as well.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com>
2022-11-16 21:55:23 +00:00
ChristopherHX
082dbde25c feat: GITHUB_STATE and GITHUB_OUTPUT file commands (#1391)
* feat: set-state and set-output file commands

* increase test timeout from 10m to 15m

* Prepare for HostExecutor PR

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 21:42:57 +00:00
ChristopherHX
ab1deb20a5 feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
Markus Wolf
865c4556e0 fix: keep path to event json file in composite actions (#1428)
* fix: keep path to event json file in composite actions

The event.json paths need to be copied over, since it the
GithubContext is recreated from the composite RC. And that
does read some value for the event file if available.

* test: add test case

* test: paste the test correctly and revert a line

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 17:00:49 +00:00
dependabot[bot]
280420f3fa build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#1436)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2022-11-14 02:14:53 +00:00
ChristopherHX
d72ce8baa1 fix: nil pointer access ( workflow_dispatch ) 2022-11-10 20:16:00 +00:00
dependabot[bot]
3676e99039 build(deps): bump megalinter/megalinter from 6.13.0 to 6.14.0 (#1426)
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/megalinter/megalinter/releases)
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/megalinter/megalinter/compare/v6.13.0...v6.14.0)

---
updated-dependencies:
- dependency-name: megalinter/megalinter
  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>
2022-11-07 02:25:24 +00:00
Markus Wolf
7a4d3e467b feat: parse types of reusable workflows (#1414)
This change does parse the different types of workflow jobs.
It is not much by itself but the start to implement reusable
workflows.

Relates to #826

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-01 15:58:07 +00:00
Eng Zer Jun
fef9bd3448 refactor: move from io/ioutil to io and os packages (#1417)
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-29 17:15:38 +00:00
Ben Drucker
5878bd0f57 Add user level Docker socket to common paths (#1416) 2022-10-29 05:58:16 +00:00
dependabot[bot]
ee47eb4434 build(deps): bump megalinter/megalinter from 6.12.0 to 6.13.0 (#1407)
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/megalinter/megalinter/releases)
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/megalinter/megalinter/compare/v6.12.0...v6.13.0)

---
updated-dependencies:
- dependency-name: megalinter/megalinter
  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>
2022-10-24 03:38:06 +00:00
dependabot[bot]
f20898d2cf build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#1408)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2022-10-24 03:26:50 +00:00
Zack Wang
8c7c1741d8 Fixes #1387 (#1388) 2022-10-18 22:27:28 +00:00