mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #2180] [CLOSED] chore: Socket logic consolidation #2309
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#2309
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/2180
Author: @AndesKrrrrrrrrrrr
Created: 1/30/2024
Status: ❌ Closed
Base:
master← Head:chore/socket-logic-consolidation📝 Commits (10+)
cf9e9cbUse same socket defaulting strategy every time1f43b1fAlways default to DOCKER_HOSTda1907aAdd more debug logs51da536Commenting, and massively simplified socket logic06368a5Rever to upstream run_context.gocabec66Merge branch 'master' into masterb2a8394Fix EACCESS error regarding /opt/hostedtoolcachef87dd97Revert "Fix EACCESS error regarding /opt/hostedtoolcache"037dc45Merge branch 'master' into master0975df3Move all socket lookup and defaulting logic to the same place📊 Changes
5 files changed (+88 additions, -71 deletions)
View changed files
📝
cmd/root.go(+21 -48)📝
pkg/container/docker_cli.go(+2 -0)📝
pkg/container/docker_run.go(+6 -0)📝
pkg/container/util.go(+55 -2)📝
pkg/runner/run_context.go(+4 -21)📄 Description
Depends on #2179
Attempt at moving all logic regarding the docker socket location to a single place, to prevent duplication and human error when needing to edit in multiple places.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.