mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-12-28 03:48:21 +01:00
220efa69c0
- Adjust directory structure ```text ├── internal │ ├── app │ │ ├── artifactcache │ │ ├── cmd │ │ ├── poll │ │ └── run │ └── pkg │ ├── client │ ├── config │ ├── envcheck │ ├── labels │ ├── report │ └── ver └── main.go ``` - New pkg `labels` to parse label - New pkg `report` to report logs to Gitea - Remove pkg `engine`, use `envcheck` to check if docker running. - Rewrite `runtime` to `run` - Rewrite `poller` to `poll` - Simplify some code and remove what's useless. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/98 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Jason Song <i@wolfogre.com> Co-committed-by: Jason Song <i@wolfogre.com>
112 lines
4.8 KiB
Modula-2
112 lines
4.8 KiB
Modula-2
module gitea.com/gitea/act_runner
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
code.gitea.io/actions-proto-go v0.2.0
|
|
code.gitea.io/gitea-vet v0.2.3-0.20230113022436-2b1561217fa5
|
|
github.com/avast/retry-go/v4 v4.3.1
|
|
github.com/bufbuild/connect-go v1.3.1
|
|
github.com/docker/docker v23.0.1+incompatible
|
|
github.com/go-chi/chi/v5 v5.0.8
|
|
github.com/go-chi/render v1.0.2
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/mattn/go-isatty v0.0.17
|
|
github.com/nektos/act v0.0.0
|
|
github.com/sirupsen/logrus v1.9.0
|
|
github.com/spf13/cobra v1.6.1
|
|
github.com/stretchr/testify v1.8.1
|
|
golang.org/x/term v0.6.0
|
|
golang.org/x/time v0.1.0
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
gotest.tools/v3 v3.4.0
|
|
modernc.org/sqlite v1.14.2
|
|
xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978
|
|
xorm.io/xorm v1.3.2
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
|
|
github.com/Masterminds/semver v1.5.0 // indirect
|
|
github.com/Microsoft/go-winio v0.5.2 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20220404123522-616f957b79ad // indirect
|
|
github.com/acomagu/bufpipe v1.0.3 // indirect
|
|
github.com/ajg/form v1.5.1 // indirect
|
|
github.com/containerd/containerd v1.6.18 // indirect
|
|
github.com/creack/pty v1.1.18 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/cli v23.0.1+incompatible // indirect
|
|
github.com/docker/distribution v2.8.1+incompatible // indirect
|
|
github.com/docker/docker-credential-helpers v0.7.0 // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/emirpasic/gods v1.12.0 // indirect
|
|
github.com/fatih/color v1.13.0 // indirect
|
|
github.com/go-git/gcfg v1.5.0 // indirect
|
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
|
github.com/go-git/go-git/v5 v5.4.2 // indirect
|
|
github.com/goccy/go-json v0.8.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/imdario/mergo v0.3.13 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/julienschmidt/httprouter v1.3.0 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.15.12 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.1.2 // indirect
|
|
github.com/moby/buildkit v0.11.4 // indirect
|
|
github.com/moby/patternmatcher v0.5.0 // indirect
|
|
github.com/moby/sys/sequential v0.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/onsi/ginkgo v1.12.1 // indirect
|
|
github.com/onsi/gomega v1.10.3 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
|
|
github.com/opencontainers/runc v1.1.3 // indirect
|
|
github.com/opencontainers/selinux v1.11.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
|
|
github.com/rhysd/actionlint v1.6.23 // indirect
|
|
github.com/rivo/uniseg v0.4.3 // indirect
|
|
github.com/robfig/cron v1.2.0 // indirect
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/syndtr/goleveldb v1.0.0 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.1 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
golang.org/x/crypto v0.2.0 // indirect
|
|
golang.org/x/mod v0.4.2 // indirect
|
|
golang.org/x/net v0.7.0 // indirect
|
|
golang.org/x/sync v0.1.0 // indirect
|
|
golang.org/x/sys v0.6.0 // indirect
|
|
golang.org/x/tools v0.1.5 // indirect
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
lukechampine.com/uint128 v1.1.1 // indirect
|
|
modernc.org/cc/v3 v3.35.18 // indirect
|
|
modernc.org/ccgo/v3 v3.12.82 // indirect
|
|
modernc.org/libc v1.11.87 // indirect
|
|
modernc.org/mathutil v1.4.1 // indirect
|
|
modernc.org/memory v1.0.5 // indirect
|
|
modernc.org/opt v0.1.1 // indirect
|
|
modernc.org/strutil v1.1.1 // indirect
|
|
modernc.org/token v1.0.0 // indirect
|
|
)
|
|
|
|
replace github.com/nektos/act => gitea.com/gitea/act v0.243.2-0.20230323041428-929ea6df751b
|