Commit Graph
5 Commits
Author SHA1 Message Date
Tomasz DudaandJason Song b0bd503b11 add token support for exec (#247)
allow to pass token from secrets

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/247
Reviewed-by: Jason Song <[email protected]>
Reviewed-by: Lunny Xiao <[email protected]>
Co-authored-by: Tomasz Duda <[email protected]>
Co-committed-by: Tomasz Duda <[email protected]>
2023-06-20 08:41:22 +00:00
Tomasz DudaandJason Song 515c2c429d fix action cloning, set correct server_url for act_runner exec (#68)
1. Newest act is not able to clone action based on --default-actions-url
It might be side effect of https://gitea.com/gitea/act/pulls/67.
2. Set correct server_url, api_url, graphql_url for act_runner exec

Reviewed-on: https://gitea.com/gitea/act/pulls/68
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Tomasz Duda <[email protected]>
Co-committed-by: Tomasz Duda <[email protected]>
2023-06-20 07:36:10 +00:00
Tomasz DudaandJason Song 32d29f0813 add ACT_EXEC (#246)
Add env variable to distinguish build run locally from remote one.

Co-authored-by: Jason Song <[email protected]>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/246
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Tomasz Duda <[email protected]>
Co-committed-by: Tomasz Duda <[email protected]>
2023-06-20 02:08:35 +00:00
Tomasz DudaandJason Song 2e2c0400c8 add --gitea-instance (#245)
add --gitea-instance to let user specify address of endpoint of exec
Related to https://gitea.com/gitea/act/pulls/68. Both can be merged independently though.

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/245
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Tomasz Duda <[email protected]>
Co-committed-by: Tomasz Duda <[email protected]>
2023-06-20 01:57:21 +00:00
Tomasz DudaandJason Song 946c41cf4f Improve run.sh to handle empty labels and log to stdout (#237)
1. Print logs on standard output
2. Don't add labels if GITEA_RUNNER_LABELS not set

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/237
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Tomasz Duda <[email protected]>
Co-committed-by: Tomasz Duda <[email protected]>
2023-06-13 04:09:11 +00:00