mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #638] [CLOSED] Draft: Adds services capabilities #1535
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#1535
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/638
Author: @Markcial
Created: 4/26/2021
Status: ❌ Closed
Base:
master← Head:ticket-173📝 Commits (7)
7d86160Draft: Adds services capabilitiesc96e1eaApplies review changes147192dMerge branch 'master' into ticket-173ab55ab7Removes unnecessary log line13b4b18Removes old code induced because of the rebased550c8cUpdate pkg/runner/runner_test.gofb7339eUpdate pkg/runner/runner_test.go📊 Changes
5 files changed (+212 additions, -21 deletions)
View changed files
➕
pkg/container/docker_network.go(+36 -0)📝
pkg/container/docker_run.go(+24 -2)📝
pkg/runner/run_context.go(+90 -19)📝
pkg/runner/runner_test.go(+36 -0)➕
pkg/runner/testdata/services/push.yaml(+26 -0)📄 Description
Fixes https://github.com/nektos/act/issues/173
Hi, this is a draft MR. Will need some more work
The network is created and removed by name, causing collisions, and it is created only once, I am not sure if that is the right setup, maybe it might be needed to be different on each job.
Containers and services should be included on that network, it's done here but maybe there is a better way. This MR also lacks proper testing, some advice on this would be good.
The configuration on the services are done in a hacky way, they should have properly merged environment settings, and some other configuration values.
I can help on any further changes or if you feel that someone else can't take better care of it feel free to modify it.
Thanks for this project
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.