Open IvoWingelaar opened 1 week ago
In other words, you are requesting support for podman backend? So, duplicate? :)
Even though I would really like a native Podman backend, I'm fine with the current state of support as mentioned in the docs: https://woodpecker-ci.org/docs/administration/backends/docker#podman-support
For a simple pipeline that doesn't do anything Podman-specific, I still expect my setup to work without producing error messages. So I do not believe this to be a duplicate issue.
I'm fine with the current state of support
If you was fine, there won't be the issue.
support as mentioned in the docs
"support" 🤣 It was a hack. It works until it doesn't. The same was with Forgejo/Gitea.
Will Drone plugins work with Woodpecker? How long? What is the level of support? Will Drone's runner work with Woodpecker server? How long? What is the level of support?
However, I agree with you, there is a bug in documentation.
I do not have any Go experience to test / fix it
Good time to start. Won't start, won't have.
@zc-devs Your last comment reads quite snarky. @IvoWingelaar Only reported something he observed which doesn't seem alright, even being aware of non-native podman support. It is surely better to do so than not, and users should be encouraged to do so rather than their report being mangled into pieces (especially if it was well written in the first place).
@IvoWingelaar AFAIK nobody is actively working on extending the current podman support. So nothing will change in the near future. Contributions are always welcome, of course. As there isn't any official support for it, this is likely not a bug but more likely a FR. I'll leave it up to you to select the label.
nobody is actively working on extending the current podman support. So nothing will change in the near future. Contributions are always welcome, of course. As there isn't any official support for it, this is likely not a bug but more likely a FR
That is what I ~have said~ meant.
FR It is surely better to do so [make duplicates] than not, even being aware of existing ones [ checked ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
OK.
snarky
Maybe. It is, how it is, but true. Sadly, it often ends with that excuse. I wasn't Go dev also, nor DevOps. BTW, Agent really is a good starting point.
I do not want to derail the topic of this issue, but I am scratching my head on this:
"support" 🤣 It was a hack. It works until it doesn't. The same was with Forgejo/Gitea.
I do not want to misinterpret this, but this is important: is Woodpecker's support for Forgejo considered a "hack"? My impression, per the docs is that the support is considered experimental ATM. Calling it experimental gives me the impression that there is at least an intention within the project towards eventual stabilization and support, calling it a hack does not give me the confidence to say the same.
I am asking because I am running Woodpecker + Forgejo, even though I am aware of Forgejo Actions. I specifically and knowingly chose Woodpecker as a CI tool over Forgejo Actions, as I'm convinced that the execution model of Actions is badly designed. I would very much prefer to be able to use Forgejo with Woodpecker in the long run.
is Woodpecker's support for Forgejo considered a "hack"?
No. I said it was, see explanation below.
My impression, per the docs is that the support is considered experimental ATM
Why? As I can see there was experimental warning in 2.7
, but in next
it is gone.
calling it a hack
There was no Forgejo, right? Obviously, no support.
Then Gitea was forked softly as Forgejo. So, Woodpecker users used Forgejo as Gitea. Literally, using WOODPECKER_GITEA_*
vars they pointed WP to Forgejo instead of Gitea. It worked for a while. That is what I call a hack. The same as in your Docker/Podman thing.
Then Forgejo became hard fork and introduced some change, which broke Woodpecker. You can search for this bug, if curious.
Woodpecker's maintainers made dicision to copy Gitea implementation, but adjusted the code accordingly using other library (dedicated to Forgejo). So, it became officially supported. Without hacks.
Thanks for the clarification @zc-devs, I do admit to not having clicked on the next
version of the website docs, but I wanted some explicit confirmation to be sure.
Component
agent
Describe the bug
The logs produced by the Woodpecker agent misleadingly contain unnecessary error entries when running the Docker backend with Podman.
Similar to: https://github.com/woodpecker-ci/woodpecker/issues/85#issuecomment-1836750811
Steps to reproduce
Expected behavior
I expect to see no error messages in the Woodpecker agent logs if the pipeline succeeds fully and the environment managed by the agent is cleaned up afterwards. However, during cleanup, the following output is produced:
As mentioned earlier, in my research I found the following: https://github.com/woodpecker-ci/woodpecker/issues/85#issuecomment-1836750811
I believe making the
contains
call in theisErrContainerNotFoundOrNotRunning
function case-insensitive would fix this issue, but I do not have any Go experience to test / fix it.System Info
Output of
https://woodpecker-server/version
:Podman version (distro package installed with
# apt install
):OS-info:
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]