11f6ee37a6
* Add asset server and upload handling of binary files Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * Add asset download parts to the asset server Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * Add artifact-server-path flag If the flag is not defined, the artifact server isn't started. This includes the configuration of ACTIONS_RUNTIME_URL and ACTIONS_RUNTIME_TOKEN which are set if the server is started. Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * Move ACTIONS_RUNTIME_* vars into the withGithubEnv setup Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * feat: add artifact server port as flag This commits adds a flag to define the artifact server port. If not given, the port defaults to 34567. Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se> * test: add artifact server tests Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se> * refactor: use fs.FS This allows to add tests with in-memory file system * feat: add support for gzip encoded uploads Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se> * test: add artifact integration test * chore: run act tests with asset server path Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se> * docs: add new cli flags Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se> * test: add test workflow to testdata * feat: add log output * refactor: log shutdown error instead of panic * feat: use outbound ip for the asset server This change should allow to use the host ip in macos and windows. Since docker is running in an intermediate vm, localhost is not sufficient to have the artifacts in the host system. * fix: do not use canceled context To shutdown artifact server, we should not use the already canceled context but the parent context instead. Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * feat: shutdown artifact server at end of pipeline When the pipeline is done the asset server should be shut down gracefully. Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * fix: close server if graceful shutdown failed Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> * fix: ignore server closed error from listen call Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de> Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
48 lines
2.1 KiB
Modula-2
48 lines
2.1 KiB
Modula-2
module github.com/nektos/act
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/AlecAivazis/survey/v2 v2.3.2
|
|
github.com/Masterminds/semver v1.5.0
|
|
github.com/Microsoft/hcsshim v0.8.22 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20210920160938-87db9fbc61c7 // indirect
|
|
github.com/andreaskoch/go-fswatch v1.0.0
|
|
github.com/containerd/containerd v1.5.5 // indirect
|
|
github.com/containerd/continuity v0.2.0 // indirect
|
|
github.com/docker/cli v20.10.10+incompatible
|
|
github.com/docker/docker v20.10.10+incompatible
|
|
github.com/go-git/go-billy/v5 v5.3.1
|
|
github.com/go-git/go-git/v5 v5.4.2
|
|
github.com/go-ini/ini v1.63.2
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
github.com/joho/godotenv v1.4.0
|
|
github.com/julienschmidt/httprouter v1.3.0
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
|
|
github.com/kevinburke/ssh_config v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.14
|
|
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/moby/buildkit v0.9.2
|
|
github.com/opencontainers/image-spec v1.0.1
|
|
github.com/opencontainers/runc v1.0.2 // indirect
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/robertkrimen/otto v0.0.0-20210614181706-373ff5438452
|
|
github.com/sabhiram/go-gitignore v0.0.0-20201211210132-54b8a0bf510f
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/sirupsen/logrus v1.8.1
|
|
github.com/spf13/cobra v1.2.1
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/xanzy/ssh-agent v0.3.1 // indirect
|
|
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
|
|
golang.org/x/net v0.0.0-20210917221730-978cfadd31cf // indirect
|
|
golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7 // indirect
|
|
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf
|
|
golang.org/x/text v0.3.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6 // indirect
|
|
gopkg.in/sourcemap.v1 v1.0.5 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
|
|
)
|