Earl Warren
b1b9df5ef4
fix: return an error when the argument count is wrong
...
Closes forgejo/runner#307
2024-10-31 16:02:17 +01:00
earl-warren
8084844bf1
Merge pull request 'fix: debug is leaking host container and network names' ( #58 ) from earl-warren/act:wip-debug into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/58
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-10-19 08:07:19 +00:00
Earl Warren
f19b377e2d
fix: debug is leaking host container and network names
...
Closes forgejo/runner#295
2024-10-19 08:48:50 +02:00
earl-warren
98d572ee58
Merge pull request '[FORGEJO] when a workflow decode error happen, log and do not crash' ( #54 ) from earl-warren/act:wip-decode-fatal into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/54
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-15 16:35:43 +00:00
Earl Warren
a7db265415
[FORGEJO] when a workflow decode error happen, log and do not crash
2024-09-15 15:46:01 +02:00
Michael Kriese
d301a5b66a
chore(renovate): disable runner test data
2024-08-27 08:28:32 +02:00
earl-warren
73e39f1d49
Merge pull request 'chore: only run tests on main' ( #52 ) from earl-warren/act:wip-ci-on-main into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/52
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-08-26 08:10:01 +00:00
earl-warren
b30d3d3afe
Merge pull request 'Update module github.com/rhysd/actionlint to v1.6.27' ( #51 ) from renovate/github.com-rhysd-actionlint-1.6.x into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/51
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-08-23 09:44:37 +00:00
Earl Warren
7b9d88ce2d
chore: only run tests on main
...
otherwise it runs twice for renovate PRs
2024-08-23 11:42:10 +02:00
Renovate Bot
8106ecaed0
Update module github.com/rhysd/actionlint to v1.6.27
2024-08-23 09:35:27 +00:00
Michael Kriese
d86d9f1cf6
chore(renovate): add rule
2024-08-23 11:31:19 +02:00
earl-warren
8aec6042ef
Merge pull request 'Update module github.com/docker/docker to v25 [SECURITY]' ( #48 ) from renovate/go-github.com-docker-docker-vulnerability into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/48
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-08-23 09:22:31 +00:00
Michael Kriese
8a2fbfa013
Merge pull request 'chore: drop .github
and .gitea
' ( #50 ) from chore/drop-github-and-gitea into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/50
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-08-23 09:20:18 +00:00
Michael Kriese
209a3236d0
chore: drop .github
and .gitea
2024-08-23 11:19:57 +02:00
Earl Warren
8a104e2424
upgrade github.com/moby/buildkit v0.13.2
2024-08-23 11:18:38 +02:00
Renovate Bot
707d6a993b
Update module github.com/docker/docker to v25 [SECURITY]
2024-08-23 11:18:04 +02:00
earl-warren
451194fcb2
Merge pull request 'Update dependency go to v1.21' ( #49 ) from renovate/minor-1.21-golang-packages into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/49
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-08-23 09:16:38 +00:00
Renovate Bot
e134587d40
Update dependency go to v1.21
2024-08-23 09:09:15 +00:00
Michael Kriese
8d1dc147cf
chore(renovate): drop docker comment
...
It blocks detection by renovate
2024-08-23 10:31:55 +02:00
Michael Kriese
c9e2134fc4
chore(renovate): add renovate config
2024-08-23 10:16:08 +02:00
earl-warren
1835203108
Merge pull request 'fix(jobparser): support workflow_dispatch.inputs
' ( #45 ) from viceice/fix-inputs into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/45
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-08-22 14:10:57 +00:00
Michael Kriese
be182ffdfa
fix(jobparser): support workflow_dispatch.inputs
2024-08-22 15:02:05 +02:00
thefox
e89fbf5d6a
Merge pull request 'fix(jobparser): template job name if it's defined' ( #41 ) from thefox/job-matrix into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/41
2024-07-01 19:49:30 +00:00
TheFox0x7
39a5735dc7
fix(jobparser): template job name if it's defined
2024-07-01 20:23:17 +02:00
earl-warren
65054ab93c
Merge pull request 'Fix NewDockerNetworkCreateExecutor in docker_stub' ( #39 ) from tmb/act:fix-docker_stub into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/39
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-04-04 08:07:16 +00:00
Tobias Bölz
b7c39f5956
Test build without Docker
2024-04-04 09:43:45 +02:00
Tobias Bölz
09c86f6ffa
Fix NewDockerNetworkCreateExecutor in docker_stub
2024-04-03 13:55:42 +02:00
TheFox0x7
ebd01185d1
[FORGEJO] add forge alias for github ( #37 )
...
I left gitea for backwards compatibility
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/37
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
2024-04-02 18:23:26 +00:00
earl-warren
af0a149a4d
Merge pull request '[FORGEJO] a network of "" is not the same as "host"' ( #35 ) from earl-warren/act:wip-network into main
...
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/35
Reviewed-by: twenty-panda <twenty-panda@noreply.code.forgejo.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-03-24 11:58:34 +00:00
Earl Warren
09d179c15b
[FORGEJO] a network of "" is not the same as "host"
...
The comment that introduced this change suggests it was motivated by a
border case by which the image would be empty. It is however unclear
why it should have any impact on how the network name is determined.
The hunk is reverted.
https://github.com/nektos/act/pull/1949/files#r1315163582
2024-03-24 12:09:40 +01:00
Earl Warren
616954df59
[FORGEJO] Revert "Don't set GITHUB_TOKEN ( #2089 )"
...
It is a breaking change.
This reverts commit 18b4714e38
.
2024-03-11 17:46:38 +07:00
s3lph
0a41e2be4b
[FORGEJO] feat(docker): Add flag to enable IPv6 in auto-created networks ( #24 )
...
Implements one part of forgejo/runner#119 . The other part is a corresponding PR in forgejo/runner: forgejo/runner#120 .
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/24
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: s3lph <codeberg@s3lph.me>
Co-committed-by: s3lph <codeberg@s3lph.me>
2024-03-11 17:10:33 +07:00
Earl Warren
251cc1c26d
[LXC] global lock on start
...
Since the start script may create LXC templates that are shared, they
may race against each other when running for the first time. A lock
global to the host needs to be used to guarantee that does not happen.
2024-03-11 15:30:55 +07:00
Earl Warren
d0f60d6ac2
[LXC] split platform into template, release and config
2024-03-11 15:30:55 +07:00
Earl Warren
77ceaf4e5d
[FORGEJO] implement lxc separately from self-hosted
2024-03-11 15:30:55 +07:00
Earl Warren
8c59ad2ab3
[FORGEJO] cascading PR to runner
2024-03-11 15:30:55 +07:00
Earl Warren
e3a58d7c36
[FORGEJO] add unit tests
...
[FORGEJO] workflow cosmetic changes
(cherry picked from commit 143605538d
)
[FORGEJO] runs on docker not ubuntu-latest
2024-03-11 15:30:55 +07:00
Earl Warren
d5915243ad
[FORGEJO] wrap self-hosted platform steps in an LXC container
...
act PR https://github.com/nektos/act/pull/1682
* shell script to start the LXC container
* create and destroy a LXC container
* run commands with lxc-attach
* expose additional devices for docker & libvirt to work
* install node 16 & git for checkout to work
[FORGEJO] start/stop lxc working directory is /tmp
[FORGEJO] use lxc-helpers to create/destroy containers
[FORGEJO] do not setup LXC
(cherry picked from commit c2eaf440f5
)
Conflicts:
pkg/container/host_environment.go
Conflicts:
pkg/container/host_environment.go
[FORGJEO] upgrade to node20
2024-03-11 15:23:41 +07:00
Earl Warren
b9009a7a20
[FORGEJO] sync lxc-helpers 231215c11d38df793521766dcce0e80e824614ca
2024-03-11 15:23:38 +07:00
Zettat123
0cc67b8817
Support cloning remote actions from insecure Gitea instances ( #92 )
...
Related to https://github.com/go-gitea/gitea/issues/28693
Reviewed-on: https://gitea.com/gitea/act/pulls/92
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2024-03-05 08:07:29 +00:00
Claudio Nicora
7e20ddf928
Patched options() to let container options propagate to job containers ( #80 )
...
This PR let "general" container config to be propagated to each job container.
See:
- https://gitea.com/gitea/act_runner/issues/265#issuecomment-744382
- https://gitea.com/gitea/act_runner/issues/79
- https://gitea.com/gitea/act_runner/issues/378
Reviewed-on: https://gitea.com/gitea/act/pulls/80
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Claudio Nicora <claudio.nicora@gmail.com>
Co-committed-by: Claudio Nicora <claudio.nicora@gmail.com>
2024-03-04 02:56:52 +00:00
sillyguodong
82a3640cf8
Make runs-on support variable expression ( #91 )
...
Partial implementation of https://gitea.com/gitea/act_runner/issues/445 , the Gitea side also needs a PR for the entire functionality.
Gitea side: https://github.com/go-gitea/gitea/pull/29468
Co-authored-by: Jason Song <i@wolfogre.com>
Reviewed-on: https://gitea.com/gitea/act/pulls/91
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: sillyguodong <gedong_1994@163.com>
Co-committed-by: sillyguodong <gedong_1994@163.com>
2024-03-01 04:29:58 +00:00
techknowlogick
e6fec7324e
Merge pull request 'Bump nektos/act to 0.2.59' ( #90 ) from harryzcy/act:bump-nektos-act into main
...
Reviewed-on: https://gitea.com/gitea/act/pulls/90
2024-02-19 22:25:12 +00:00
Chongyi Zheng
73f32886f2
Merge branch 'nektos/master' into bump-nektos
2024-02-17 13:19:51 -05:00
GitHub Actions
b7a8145d09
chore: bump VERSION to 0.2.59
2024-02-01 22:32:06 +00:00
Milo Moisson
12c0c4277a
feat: correctly use the xdg library, which has the side effect to fix the config survey ( #2195 )
2024-02-01 13:57:16 -08:00
GitHub Actions
3ed38d8e8b
chore: bump VERSION to 0.2.58
2024-02-01 02:12:33 +00:00
dependabot[bot]
0dbf44c657
build(deps): bump github.com/opencontainers/runc from 1.1.7 to 1.1.12 ( #2187 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.7 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.7...v1.1.12 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:56:50 +00:00
dependabot[bot]
6dcf9bc6e6
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.12.5 ( #2188 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.12.5.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.12.5 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:41:20 +00:00
dependabot[bot]
df61c7fcdb
build(deps): bump github.com/containerd/containerd from 1.6.19 to 1.6.26 ( #2189 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.19 to 1.6.26.
- [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.19...v1.6.26 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:24:57 +00:00