dependabot[bot]
06a1d69f8e
build(deps): bump actions/cache from 3 to 4 ( #2163 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-04-10 12:55:24 +00:00
Jason Song
cdc22da7f0
Remove local action cache if remote has changed ( #2284 )
...
* fix: remove local cache if remote is changed
* test: TestCloneIfRequired
2024-04-10 12:41:02 +00:00
Jason Song
d2c341332b
chore: fix codecov ( #2288 )
2024-04-10 10:32:47 +00:00
Jason Song
ec03f19650
Bump act to v0.261.1 ( #535 )
...
Related to https://gitea.com/gitea/act/compare/v0.261.0...v0.261.1
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/535
v0.2.10
2024-04-10 07:07:56 +00:00
Jason Song
8567324a19
Release nightly versions for tags ( #536 )
...
Or the latest nightly version could be "v0.2.8-4-gbe2df36" even though there's "v0.2.9", although they are for the same commit.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/536
2024-04-10 07:06:08 +00:00
Jason Song
be2df361ef
Ensure declare to use new labels ( #530 )
...
Ensure "declare" is supported, to use new labels, see https://gitea.com/gitea/act_runner/pulls/529
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/530
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
v0.2.9
2024-04-02 07:39:40 +00:00
Jason Song
a5085dde0c
Use gitea/runner-images by default ( #529 )
...
See https://gitea.com/gitea/runner-images
Also give up ubuntu-18.04 since it's too old. And enable force_pull by default to check new versions of images.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/529
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-02 07:38:14 +00:00
Jason Song
cef86d1140
Bump act to v0.260.0 ( #528 )
...
Related to:
- https://gitea.com/gitea/act/pulls/104
- https://gitea.com/gitea/act/issues/102
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/528
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-02 06:25:33 +00:00
dependabot[bot]
e3da912e2b
build(deps): bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 ( #2269 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.11.0 to 5.12.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.11.0...v5.12.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
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>
2024-04-01 02:40:14 +00:00
GitHub Actions
361b7e9f1a
chore: bump VERSION to 0.2.61
2024-04-01 02:16:09 +00:00
Jason Song
94c45acf6b
Use node 20 by default ( #526 )
...
Because Octokit requires Node 18 or higher now.
See https://github.com/octokit/octokit.js/#fetch-missing .
However, for existing runners, users should manually modify `labels` in the `.runner` file or `runner.labels` in the `config.yaml` file to update. Don't forget to restart.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/526
Reviewed-by: sillyguodong <sillyguodong@noreply.gitea.com >
2024-03-29 03:03:26 +00:00
ChristopherHX
f825e42ce2
fix: cache adjust restore order of exact key matches ( #2267 )
...
* wip: adjust restore order
* fixup
* add tests
* cleanup
* fix typo
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-03-29 02:07:20 +00:00
Jason Collins
d9a19c8b02
Trivial: reduce log spam. ( #2256 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:28:48 +00:00
James Kang
3949d74af5
chore: remove repetitive words ( #2259 )
...
Signed-off-by: majorteach <csgcgl@126.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:14:53 +00:00
Jason Song
b9382a2c4e
Support overwriting caches ( #2265 )
...
* feat: support overwrite caches
* test: fix case
* test: fix get_with_multiple_keys
* chore: use atomic.Bool
* test: improve get_with_multiple_keys
* chore: use ping to improve path
* fix: wrong CompareAndSwap
* test: TestHandler_gcCache
* chore: lint code
* chore: lint code
2024-03-28 16:42:02 +00:00
Jason Song
f56dd65ff6
test: use ping to improve network test ( #2266 )
2024-03-28 11:56:26 +00:00
Jason Song
1760899d27
Set gitea token to release ( #524 )
...
Follow a7eca813ea/.gitea/workflows/release-tag.yml (L39)
It works before unexpectedly because of https://github.com/nektos/act/pull/2089
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/524
v0.2.8
2024-03-27 10:51:45 +00:00
Zettat123
a7eca813ea
Bump act to v0.260.2 ( #523 )
...
Related to
- https://gitea.com/gitea/act/pulls/86
- https://gitea.com/gitea/act/pulls/103
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/523
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-27 10:25:23 +00:00
Jason Song
23ec12b8cf
Bump act to v0.260.0 ( #522 )
...
Related to https://gitea.com/gitea/act/issues/99 .
Also update other main dependencies.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/522
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
v0.2.7
2024-03-27 03:17:04 +00:00
Zettat123
a1fc2b3ca7
Improve the explanation of workdir_parent config ( #519 )
...
Fix #512
act_runner adds a '/' before the path (see 5977042b86/internal/app/run/runner.go (L186) ) . So `workdir_parent` doesn't need to have the prefix '/'.
If `workdir_parent` has the prefix '/', errors will occur when reading files from the job container.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/519
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-22 02:30:31 +00:00
dependabot[bot]
069720abff
build(deps): bump github.com/docker/docker ( #2252 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
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-03-20 17:37:01 +00:00
Jason Song
5977042b86
Bump act to v0.259.2 ( #515 )
...
Related to https://gitea.com/gitea/act/pulls/97
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/515
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-03-14 18:58:43 +00:00
Jason Song
6bc19cbc33
Improve workflows ( #516 )
...
Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs .
Also bump some versions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-03-14 13:27:47 +00:00
dependabot[bot]
8c83d57212
build(deps): bump golang.org/x/term from 0.17.0 to 0.18.0 ( #2244 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 02:28:21 +00:00
ChristopherHX
119ceb81d9
fix: rootless permission bits (new actions cache) ( #2242 )
...
* fix: rootless permission bits (new actions cache)
* add test
* fix lint / more tests
2024-03-08 01:25:03 +00:00
huajin tong
352ad41ad2
fix function name in comment ( #2240 )
...
Signed-off-by: thirdkeyword <fliterdashen@gmail.com >
2024-03-06 14:20:06 +00:00
Zettat123
75006a59cc
Support cloning remote actions from insecure Gitea instances ( #508 )
...
Follow https://gitea.com/gitea/act/pulls/92
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/508
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-06 06:10:37 +00:00
ChristopherHX
75e4ad93f4
fix: docker buildx cache restore not working ( #2236 )
...
* To take effect artifacts v4 pr is needed with adjusted claims
2024-03-05 06:04:54 +00:00
dependabot[bot]
934b13a7a1
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #2235 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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>
2024-03-04 03:08:44 +00:00
SupremeVoid
4da97f53de
Bump act to v0.259.0 ( #491 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/491
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Co-authored-by: SupremeVoid <supremevoid@t-online.de >
Co-committed-by: SupremeVoid <supremevoid@t-online.de >
2024-03-03 16:34:37 +00:00
sillyguodong
45270656df
Set the status of steps to skipped if job is skipped ( #500 )
...
If a job is detected as skipped, its steps should also be `skipped`.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/500
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com >
2024-03-01 08:33:32 +00:00
GitHub Actions
d3c8664d3d
chore: bump VERSION to 0.2.60
2024-03-01 02:12:58 +00:00
dependabot[bot]
c79f59f802
build(deps): bump go.etcd.io/bbolt from 1.3.8 to 1.3.9 ( #2229 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.8 to 1.3.9.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.8...v1.3.9 )
---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
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>
2024-02-26 03:18:59 +00:00
dependabot[bot]
68597d68f6
build(deps): bump github.com/rhysd/actionlint from 1.6.26 to 1.6.27 ( #2228 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.26 to 1.6.27.
- [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.26...v1.6.27 )
---
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 03:02:49 +00:00
ChristopherHX
e1cd7c915f
fix: logo and demo asset urls ( #2226 )
2024-02-24 02:47:55 +00:00
ChristopherHX
ac6a465e27
feat: Test writing remote Actions locally ( #2155 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-23 07:40:14 +00:00
dependabot[bot]
9e6ce121bc
build(deps): bump github.com/opencontainers/image-spec ( #2223 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc6 to 1.1.0.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc6...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
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>
2024-02-19 03:04:51 +00:00
Christopher Homberger
e14f42c40a
Add ACTIONS_RESULTS_URL to env ( #473 )
...
actions/upload-artifact@v4 and actions/download-artifact@v4 depend on this variable
BaseUrl in a url are ignored by the nodejs code of the new actions, so this change doesn't append the path of the older `ACTIONS_RUNTIME_URL`.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/473
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2024-02-19 02:30:54 +00:00
ChristopherHX
5601fb0e13
refactor: simpilfy go-git cache ( #2208 )
2024-02-18 03:53:22 +00:00
ChristopherHX
852959e1e1
feat: offline mode for new action cache ( #2173 )
...
* Try fetch update of the action, otherwise use cached version
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-12 12:51:37 +00:00
dependabot[bot]
27eb79bb5a
build(deps): bump github.com/opencontainers/image-spec ( #2214 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc3 to 1.1.0-rc6.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc3...v1.1.0-rc6 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
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>
2024-02-12 02:26:14 +00:00
dependabot[bot]
8277584f00
build(deps): bump golang.org/x/term from 0.16.0 to 0.17.0 ( #2213 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/term/compare/v0.16.0...v0.17.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 02:14:13 +00:00
Christopher Homberger
e6630e2e36
Use artifacts v4 jwt if available ( #471 )
...
Needs https://github.com/go-gitea/gitea/pull/28885 to provide jwt if sent by server
Could fix #459 , but that has not been verified.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/471
Reviewed-by: delvh <dev.lh@web.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2024-02-08 02:43:39 +00:00
Kristofer
f2e65e1d40
fix: Rootless error concerning /var/run/docker.sock ( #2181 )
...
* Use same socket defaulting strategy every time
* Always default to DOCKER_HOST
* Add more debug logs
* Commenting, and massively simplified socket logic
* Rever to upstream run_context.go
* Fix EACCESS error regarding /opt/hostedtoolcache
* Revert "Fix EACCESS error regarding /opt/hostedtoolcache"
This reverts commit b2a8394d3358e1b5aab9dabe555d4a3f2bf0b2f9.
* Revert CLI debug logs
* Move socket and host handling to own function, and simplify logic
* Move to container package
* Make return be a struct
* Write tests to verify functionality
* Fix DOCKER_HOST being set to the string "DOCKER_HOST"
* Always use struct
* Use socketLocation, for DOCKER_HOST and more defaults
* Fixup arguments to GetSocketAndHost in test and root.go
* Un-struct hasDockerHost
* Fixup logic and set hasDockerHost
* Minor scoping & variable name change
* Move functionality to a new file
* Rename corresponding test
* Reviewfix
* Fix DOCKER_HOST expected
* Fix test assertions and add comments
* Swap comparison actual, expected
* Fixed no-DOCKER_HOST env test
* Fixed default socket test
* Add test to verify review comments
* Add more test for greater test coverage
* Consistent comment references
* Fix bug found while writing tests
* Passing tests
* NoMountNoHost testfix
* Rename test appropriately
* NoMount testfix
* Fixed OnlySocket
* Swap expected <-> actual in tests
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-06 17:18:11 +00:00
ChristopherHX
6e80373eb6
Shrink Readme ( #2198 )
...
nektosact.com should become the single source of truth
2024-02-06 08:22:01 -08: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