Services not added as hostnames #173
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: forgejo/runner#173
Loading…
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?
Test case
Let's use this action
Observed behaviour
If I run this with
forgejo-runner exec --workflows myaction.yaml
I get
Documentation
In the docs it is stated that
Expected outcome
So I'd expect ping to succeed in this case.
Seems like this was a problem in act and merged back in Aug 2023 https://github.com/nektos/act/issues/173
This usually happens when the config file sets the
[container].network
to something that is not "". For services to communicate the runner needs to create a dedicated network and[container].network: ""
will allow it to do that.Does that help?
It is weird because I am running it locally.
In my forgejo runner the relevant config part is
So looks like my network is ""
In the runner the result is the same.
Are you running docker, or podman with docker compat?
Docker
Arch linux in my desktop and debian (in proxmox) in the server that has the runner.