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 <[email protected] >
2024-03-29 03:03:26 +00:00
Jason Song
79a7577c15
Merge tag 'nektos/v0.2.60'
2024-03-25 16:58:11 +08:00
ChristopherHX
e1cd7c915f
fix: logo and demo asset urls ( #2226 )
2024-02-24 02:47:55 +00:00
ChristopherHX
6e80373eb6
Shrink Readme ( #2198 )
...
nektosact.com should become the single source of truth
2024-02-06 08:22:01 -08:00
techknowlogick
f3264cac20
Merge remote-tracking branch 'upstream/master' into bump-nektos
2023-10-11 15:28:38 -04:00
Diego Sousa
5718555f7a
[ Variables ] - Add missing documentation for repository variables ( #2032 )
...
* docs: 📝 add vars instructions by cli and file loading
* docs: 📝 adjust varibles instructions
2023-10-03 22:02:22 +00:00
techknowlogick
4699c3b689
Merge nektos/act/v0.2.51
2023-09-24 15:09:26 -04:00
ChristopherHX
7ba9f30f37
Mention act user guide in act ( #1973 )
...
* CONTRIBUTING.md mention act user guide
* Mention the act user guide in the README
2023-08-17 14:43:17 +00:00
Jason Song
22d91e3ac3
Merge tag 'nektos/v0.2.49'
...
Conflicts:
cmd/input.go
go.mod
go.sum
pkg/exprparser/interpreter.go
pkg/model/workflow.go
pkg/runner/expression.go
pkg/runner/job_executor.go
pkg/runner/runner.go
2023-08-02 11:52:14 +08:00
Konstantin Podsvirov and Jason Song
8f88e4f15a
Update README.md ( #302 )
...
Correct Quick Start section.
Co-authored-by: Jason Song <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/302
Co-authored-by: Konstantin Podsvirov <[email protected] >
Co-committed-by: Konstantin Podsvirov <[email protected] >
2023-07-24 05:11:42 +00:00
67f4baa618
local runner doc ( #1911 )
...
* local runner doc
* correct would would
---------
Co-authored-by: tzehaoo <[email protected] >
Co-authored-by: Casey Lee <[email protected] >
2023-07-21 16:56:11 +00:00
Lunny Xiao
c701ba4787
Add a quick start runner method in README ( #282 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/282
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-07-12 01:43:26 +00:00
Casey Lee and dependabot[bot]
94bc8b319c
Bump dockercli ( #1905 )
...
* updates to support newer version of docker sdk
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.2+incompatible to 24.0.4+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.2...v24.0.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
* feat: upgrade to go 1.20
* feat: upgrade to go 1.20
* chore: use go version from go.mod
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 21:55:53 -07:00
Jason Song
8c56bd3aa5
Merge tag 'nektos/v0.2.46'
2023-06-16 11:08:39 +08:00
Troy Gaines and mergify[bot]
80f6de51d5
fix: spelling mistake in readme ( #1854 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-10 18:42:54 +00:00
Chris Cureau and ccureau
a384adbbc6
Documentation enhancements ( #207 )
...
This PR addresses the issue listed in issue #170 regarding how to set up rootless Docker. It also expands on the documentation to show how to create deployments for different environments.
Co-authored-by: ccureau <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/207
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Chris Cureau <[email protected] >
Co-committed-by: Chris Cureau <[email protected] >
2023-06-05 08:46:15 +00:00
Joseph Mearman
3cfc2cf9c3
add instruction for using gh auth token ( #1831 )
2023-05-31 14:24:24 +00:00
Alex Lau (AvengerMoJo)
94031fc198
Fix README.md typo on daemon ( #183 )
...
It is just a typo fix.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/183
Reviewed-by: techknowlogick <[email protected] >
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Alex Lau (AvengerMoJo) <[email protected] >
Co-committed-by: Alex Lau (AvengerMoJo) <[email protected] >
2023-05-11 14:25:39 +08:00
Jason Song
229dbaf153
Merge tag 'nektos/v0.2.45'
2023-05-04 17:45:53 +08:00
Bo-Yi Wu
c40b651873
chore: improve Dockerfile, README, and testing settings ( #172 )
...
- Remove `git=2.38.5-r0` from the `apk add` command in Dockerfile
- Update the download link for act_runner in README.md to be a clickable link
Signed-off-by: Bo-Yi Wu <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/172
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Bo-Yi Wu <[email protected] >
Co-committed-by: Bo-Yi Wu <[email protected] >
2023-05-04 09:36:31 +08:00
vbrandl and Valentin Brandl
7c71c94366
Document persisting /data for docker container ( #160 )
...
`/data` must be kept between container restarts.
Co-authored-by: Valentin Brandl <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/160
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: vbrandl <[email protected] >
Co-committed-by: vbrandl <[email protected] >
2023-04-29 03:05:00 +08:00
Lunny Xiao
a05c5ba3ad
Add make docker ( #115 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/115
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-04-13 04:17:08 +08:00
Jason Song
7e7096e60b
Refactor environment variables to configuration and registration ( #90 )
...
Close #21 .
Refactor environment variables to configuration file (config.yaml) and registration file (.runner).
The old environment variables are still supported, but warning logs will be printed.
Like:
```text
$ GITEA_DEBUG=true ./act_runner -c config.yaml daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG has been ignored because config file is used
$ GITEA_DEBUG=true ./act_runner daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG will be deprecated, please use config file instead
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/90
Reviewed-by: Lunny Xiao <[email protected] >
2023-04-02 22:41:48 +08:00
Jason Song
90b8cc6a7a
Clarify labels ( #69 )
...
The label will follow the format `label[:schema[:args]]`, and the schema will be `host` if it's omitted. So
- `ubuntu:docker://node:18`: Run jobs with label `ubuntu` via docker with image `node:18`
- `ubuntu:host`: Run jobs with label `ubuntu` on the host directly.
- `ubuntu`: Same as `ubuntu:host`.
- `ubuntu:vm:ubuntu-latest`: (Just a example, not Implemented) Run jobs with label `ubuntu` via virtual machine with iso `ubuntu-latest`.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/69
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: wxiaoguang <[email protected] >
2023-03-23 20:48:33 +08:00
Benjamin Loison
9f90cba993
Correct spaces in README.md and in Enter the runner name when running ./act_runner register ( #65 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/65
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Benjamin Loison <[email protected] >
Co-committed-by: Benjamin Loison <[email protected] >
2023-03-22 14:48:35 +08:00
9fab59954c
full path required for extension install ( #1670 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <[email protected] >
2023-03-19 21:02:11 -07:00
Yann Pellegrini and Markus Wolf
35cac27f4c
Add example command for collecting artifacts ( #1671 )
...
Co-authored-by: Markus Wolf <[email protected] >
2023-03-19 22:47:47 +00:00
Jason Song
1dda0aec69
Merge tag 'nektos/v0.2.43'
...
Conflicts:
pkg/container/docker_run.go
pkg/runner/action.go
pkg/runner/logger.go
pkg/runner/run_context.go
pkg/runner/runner.go
pkg/runner/step_action_remote_test.go
2023-03-16 11:45:29 +08:00
Jason Song
49e204166d
Update forking fules ( #23 )
...
As the title.
Reviewed-on: https://gitea.com/gitea/act/pulls/23
Reviewed-by: Lunny Xiao <[email protected] >
2023-03-16 10:46:41 +08:00
Lunny Xiao
c0c363bf59
Update readme to add pre-built binary download links ( #45 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/45
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-03-14 13:39:12 +08:00
R and mergify[bot]
4b56aced15
docs: remove help section ( #1648 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 18:51:01 +00:00
sitiom
c378a7d28b
chore: add Winget installation instructions ( #1622 )
2023-02-11 18:25:22 +00:00
ChristopherHX and Christopher Homberger
990cf93c71
feat: don't require docker ( #16 )
...
The only reason docker is really required by now, is that act_runner ping docker.
This change only pings docker if a label with `docker://` is added to the runner.
Plain labels without `:` like `self-hosted` are run directly on the system. Previously the pseudo non docker label `-self-hosted` have been required like this `self-hosted:docker://-self-hosted`, but due to docker ping this still required a dockerd to be pingable.
Co-authored-by: Christopher Homberger <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/16
Reviewed-by: Jason Song <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: ChristopherHX <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2023-01-27 20:42:02 +08:00
Casey Lee
7ada9d3f74
chore: update docs for installing act as GH CLI extension
2023-01-20 10:22:58 -08:00
Philippe Schenker and ChristopherHX
0988b47752
Readme: Fix shell installation ( #1547 )
...
Use the -s (silent) flag so curl does not pass metainformation like
downloadspeed etc to bash.
Co-authored-by: ChristopherHX <[email protected] >
2023-01-16 14:30:11 +00:00
Robin Breathe
d064863f9b
fix: allow override of artifact server bind address ( #1560 )
...
* Prior to this change, the artifact server always binds to the detected
"outbound IP", breaks functionality when that IP is unroutable.
For example, Zscaler assigns the host a local CGNAT address,
100.64.0.1, which is unreachable from Docker Desktop.
* Add the `--artifact-server-addr` flag to allow override of the address
to which the artifact server binds, defaulting to the existing
behaviour.
Fixes : #1559
2023-01-16 14:12:20 +00:00
Shubh Bapna and ChristopherHX
767e6a8696
Input ( #1524 )
...
* added input flags
* added input as part of the action event and added test cases
* updated readme
Co-authored-by: ChristopherHX <[email protected] >
2023-01-13 19:28:17 +00:00
Xinyu Zhou
7abe039c31
docs: Add Prerequisites ( #11 )
...
Close #10
Docker daemon is required
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/11
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Xinyu Zhou <[email protected] >
Co-committed-by: Xinyu Zhou <[email protected] >
2023-01-03 11:13:55 +08:00
ChristopherHX and mergify[bot]
7073eac240
docs: clarifying skipping steps / jobs ( #1480 )
...
* docs: clarifying skipping steps / jobs
* fix lint
* Update README.md
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 15:09:13 +00:00
Jason Song
7920109e89
Merge tag 'nektos/v0.2.34'
2022-12-05 17:08:17 +08:00
Simon Willison
fcbb6d517d
act -j -W example ( #1471 )
...
An example of running a job in a specific workflow.
Refs #1468
2022-11-27 15:47:43 +00:00
Lunny Xiao
d1017d752f
Update README about register
2022-11-25 00:40:00 +08:00
appleboy
474683c0e8
docs(readme): update some header. ( #1 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/1
2022-11-24 23:19:25 +08:00
Jason Song
03c4c4e116
docs: add quickstart to readme
2022-11-24 16:38:42 +08:00
Bo-Yi.Wu
a503f7429f
chore(runner): add new register command
...
Signed-off-by: Bo-Yi.Wu <[email protected] >
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 <[email protected] >
2022-11-24 15:37:26 +08:00
Bo-Yi Wu
827bd953e7
chore: fix lint error
2022-11-24 15:36:26 +08:00
Femi Bankole
3553b2697c
fix typo ( #1456 )
2022-11-23 07:15:02 -08:00
Jason Song
70cc6c017b
docs: add naming rule for git ref
2022-11-22 15:05:12 +08:00