Codeberg-CI/feedback
488
71

could not load config from forge: %!w() #248

Closed
opened 2025年05月18日 18:26:35 +02:00 by gustavblass · 4 comments

For my repo commons-email I set up

While the CI tests work fine, the Javadocs deployment fails with the message could not load config from forge: %!w(), before the pipeline even starts.

What did I do wrong?

For my repo [`commons-email`](https://codeberg.org/GustavVirtualMachine/commons-email) I set up - [`.woodpecker/tests.yaml`](https://codeberg.org/GustavVirtualMachine/commons-email/src/branch/master/.woodpecker/tests.yaml) to conduct tests whenever any branch is pushed to and - [`.woodpecker/javadocs.yaml`](https://codeberg.org/GustavVirtualMachine/commons-email/src/branch/master/.woodpecker/javadocs.yaml) to deploy the Javadocs to Codeberg Pages whenever a tag is pushed to master. While the CI tests work fine, the Javadocs deployment [fails](https://ci.codeberg.org/repos/14712/pipeline/4/errors) with the message `could not load config from forge: %!w()`, before the pipeline even starts. What did I do wrong?

Hi,

could not load config from forge: %!w() seems to indicate, that something is missing regarding the container: https://github.com/woodpecker-ci/woodpecker/issues/4850
It seems to me, that the image codeberg.org/gustavvirtualmachine/ubuntu-gvm does not exist,
whereas the tests workflow contains an existing image URL.

Hi, `could not load config from forge: %!w()` seems to indicate, that something is missing regarding the container: https://github.com/woodpecker-ci/woodpecker/issues/4850 It seems to me, that the image `codeberg.org/gustavvirtualmachine/ubuntu-gvm` does not exist, whereas the tests workflow contains an existing image URL.
Author
Member
Copy link

The image does exist: https://codeberg.org/GustavVirtualMachine/-/packages/container/ubuntu-gvm/noble1

That page even suggests to use the following Docker command (with the same image name): docker pull codeberg.org/gustavvirtualmachine/ubuntu-gvm:noble1 🤷

The image does exist: https://codeberg.org/GustavVirtualMachine/-/packages/container/ubuntu-gvm/noble1 That page even suggests to use the following Docker command (with the same image name): `docker pull codeberg.org/gustavvirtualmachine/ubuntu-gvm:noble1` 🤷

You're right.
I just did not find the git repo.
I even verified the presence now with a local docker pull.

Following might be a solution:
delete everything in the javadocs workflow until line 19 and see if the workflow works.
If not delete the last line, until the workflow works.
If the workflow works, you know, that the deleted steps are the problem.

Continue, until the problem is solved?

You're right. I just did not find the git repo. I even verified the presence now with a local docker pull. Following might be a solution: delete everything in the javadocs workflow until line 19 and see if the workflow works. If not delete the last line, until the workflow works. If the workflow works, you know, that the deleted steps are the problem. Continue, until the problem is solved?
Author
Member
Copy link

Now, the pipeline is started without the error occurring, although I didn't change anything. I assume it could be related to the recent hardware failure 🤔

Now, the pipeline is started without the error occurring, although I didn't change anything. I assume it could be related to the recent hardware failure 🤔
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg-CI/feedback#248
Reference in a new issue
Codeberg-CI/feedback
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?