mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #190] [MERGED] Remove length constraint for container names #1380
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#1380
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/190
Author: @albertofem
Created: 4/13/2020
Status: ✅ Merged
Merged: 4/16/2020
Merged by: @cplee
Base:
master← Head:feature/remove_length_constraint📝 Commits (1)
2988e7fRemove length constraint📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
pkg/runner/run_context.go(+1 -1)📄 Description
There is a 30 length hardcoded limit for containers name, which makes matrix builds with long job names unable to run due to conflicting container names (see https://github.com/nektos/act/issues/174)
Apparently docker does not imposes a constraint in the length of the container name, as seen in the engine code: https://github.com/docker/engine/blob/master/daemon/names.go#L59
Tested with
Docker version 19.03.8, build afacb8bNot sure if in previous versions of Docker this is a problem or not.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.