Logo
Explore Help
Sign In
mirrors/act_runner
0
0
Fork 0
You've already forked act_runner
mirror of https://gitea.com/gitea/act_runner.git synced 2025-07-13 22:58:59 +08:00
Code Issues Packages Projects Releases Wiki Activity
act_runner/core/runner.go

18 lines
367 B
Go
Raw Normal View History

chore(runner): add new register command Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-15 16:12:32 +08:00
package core
chore(runner): add new token in header Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-28 23:23:19 +08:00
const (
UUIDHeader = "x-runner-uuid"
TokenHeader = "x-runner-token"
)
chore(runner): add runner uuid in http header. Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-15 16:40:35 +08:00
chore(runner): add new register command Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-15 16:12:32 +08:00
// Runner struct
type Runner struct {
Allow request an insecure gitea server (#18) When deploy a Gitea server with a self-signed HTTPS certification. Runner will be failed when connect to Gitea server. This PR will fix that to allow ignore the HTTPS certification verification. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/18 Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-15 16:51:14 +08:00
ID int64 `json:"id"`
UUID string `json:"uuid"`
Name string `json:"name"`
Token string `json:"token"`
Address string `json:"address"`
Insecure string `json:"insecure"`
Labels []string `json:"labels"`
chore(runner): add new register command Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-15 16:12:32 +08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 158ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API