act/pkg/container
Earl Warren d5915243ad
[FORGEJO] wrap self-hosted platform steps in an LXC container
act PR https://github.com/nektos/act/pull/1682

* shell script to start the LXC container
* create and destroy a LXC container
* run commands with lxc-attach
* expose additional devices for docker & libvirt to work
* install node 16 & git for checkout to work

[FORGEJO] start/stop lxc working directory is /tmp

[FORGEJO] use lxc-helpers to create/destroy containers

[FORGEJO] do not setup LXC

(cherry picked from commit c2eaf440f5)

Conflicts:
	pkg/container/host_environment.go

Conflicts:
	pkg/container/host_environment.go

[FORGJEO] upgrade to node20
2024-03-11 15:23:41 +07:00
..
testdata refactor: filecollector into new package (#2174) 2024-01-30 00:46:45 +00:00
container_types.go Merge branch 'nektos/master' into bump-nektos 2024-02-17 13:19:51 -05:00
docker_auth.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_build.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_cli.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_cli_test.go build(deps): bump github.com/docker/cli from 23.0.0-rc.1+incompatible to 23.0.0+incompatible (#1611) 2023-02-06 12:33:42 +00:00
docker_images.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_images_test.go refactor: move from io/ioutil to io and os packages (#1417) 2022-10-29 17:15:38 +00:00
DOCKER_LICENSE fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_logger.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_network.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_pull.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_pull_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_run.go Merge branch 'nektos/master' into bump-nektos 2024-02-17 13:19:51 -05:00
docker_run_test.go Merge branch 'nektos/master' into bump-nektos 2024-02-17 13:19:51 -05:00
docker_stub.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
docker_volume.go Add support for NetBSD (#2023) 2024-01-08 19:26:03 +00:00
executions_environment.go [FORGEJO] wrap self-hosted platform steps in an LXC container 2024-03-11 15:23:41 +07:00
host_environment.go [FORGEJO] wrap self-hosted platform steps in an LXC container 2024-03-11 15:23:41 +07:00
host_environment_test.go refactor: filecollector into new package (#2174) 2024-01-30 00:46:45 +00:00
linux_container_environment_extensions.go [FORGEJO] wrap self-hosted platform steps in an LXC container 2024-03-11 15:23:41 +07:00
linux_container_environment_extensions_test.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
parse_env_file.go refactor: share UpdateFromEnv logic (#1457) 2022-12-06 16:19:27 +00:00
util.go chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
util_openbsd_mips64.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_plan9.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_windows.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00