mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1293] [MERGED] feat: Host environment #1879
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1879
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1293
Author: @ChristopherHX
Created: 8/5/2022
Status: ✅ Merged
Merged: 11/16/2022
Merged by: @mergify[bot]
Base:
master← Head:host_environment📝 Commits (10+)
0ffac4cfeat: HostEnvironment7f3b9b0fix: lint5cbbeb9fixes and update codecd66680update go mod7172785lint / test fixes51464ddfix lintd98c077Evaluate job env in jobexecutor, disable testea2b60dfix: CI is unstable due to new linting rulesb9828destability fixes43c0006fix lint📊 Changes
39 files changed (+1394 additions, -185 deletions)
View changed files
📝
.github/workflows/checks.yml(+19 -0)📝
go.mod(+1 -0)📝
pkg/container/docker_run.go(+2 -1)📝
pkg/container/docker_run_test.go(+3 -0)➕
pkg/container/executions_environment.go(+13 -0)📝
pkg/container/file_collector.go(+23 -0)➕
pkg/container/host_environment.go(+470 -0)➕
pkg/container/host_environment_test.go(+4 -0)➕
pkg/container/linux_container_environment_extensions.go(+73 -0)➕
pkg/container/linux_container_environment_extensions_test.go(+71 -0)➕
pkg/container/util.go(+26 -0)➕
pkg/container/util_openbsd_mips64.go(+17 -0)➕
pkg/container/util_plan9.go(+17 -0)➕
pkg/container/util_windows.go(+15 -0)➕
pkg/lookpath/LICENSE(+27 -0)➕
pkg/lookpath/env.go(+18 -0)➕
pkg/lookpath/error.go(+10 -0)➕
pkg/lookpath/lp_js.go(+23 -0)➕
pkg/lookpath/lp_plan9.go(+56 -0)➕
pkg/lookpath/lp_unix.go(+59 -0)...and 19 more files
📄 Description
This is my refactored implementation of a non docker based executor
To test running actions without docker specify
-P ubuntu-latest=-self-hostedI refactored a larger amount of code
/var/run/actPATHmanipulation to use custom list seperator, while not running in dockerFixes https://github.com/nektos/act/issues/97
I need to look into possible linting violations
Known Issues
I want to know if this design change has a chance to get merged
Some implementation Details
PATHenv var to use the stdlib directlyCommit Message
{{title}} (#1293)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.