Build Errors

Not sure what happened, but my Github action started failing today. Seems to happen after fetching the JSON schemas.
[17:31:37 DEBUG] => Logged into ghcr.io
logged in via /home/runner/.docker/config.json
[17:31:37 DEBUG] => Logged into ghcr.io
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/stage-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/import-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/module-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/module-custom-v1.json
[17:31:37 ERROR] => Failed:
× [] has less than 1 item
[17:31:37 DEBUG] => Logged into ghcr.io
logged in via /home/runner/.docker/config.json
[17:31:37 DEBUG] => Logged into ghcr.io
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/stage-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/import-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/module-v1.json
[17:31:37 DEBUG] => Retrieving schema from https://schema.blue-build.org/module-custom-v1.json
[17:31:37 ERROR] => Failed:
× [] has less than 1 item
https://github.com/jonerrr/os-image
GitHub
GitHub - jonerrr/os-image: This is my personal OS image.
This is my personal OS image. Contribute to jonerrr/os-image development by creating an account on GitHub.
20 Replies
cablespaghetti
I have the same issue and have reported it on the cli repository. I have found that if I turn on —skip-validation things still build.
Luke Skywunker
I'll check on that in a moment, seems weird. Ok, after adding some extra errors, I narrowed the problem down to the https://schema.blue-build.org/module-v1.json schema file
jonah
jonahOP3w ago
could it have something to do with the fact that my modules folder is empty (e.g. only a .gitkeep)?
Luke Skywunker
No, this is happening to me as well
jonah
jonahOP3w ago
hmm weird
Luke Skywunker
If you look at that link, the anyOf in there is supposed to have a bunch of refs to the module schema files It's empty
jonah
jonahOP3w ago
ohhh
Luke Skywunker
Yeah something screwed up with our schema builder @xyny could you check on the cloudflare builder just in case? Looks like the https://blue-build.org/modules.json is empty The fetchModules.js script pulls that
xyny
xyny3w ago
GitHub
Deploy · blue-build/website@75f1ce2
Website that hosts BlueBuild documentation. Contribute to blue-build/website development by creating an account on GitHub.
xyny
xyny3w ago
and i'm not seeing any issues in the logs
Luke Skywunker
That module.json file is not supposed to be empty though
xyny
xyny3w ago
GitHub
Deploy · blue-build/website@75f1ce2
Website that hosts BlueBuild documentation. Contribute to blue-build/website development by creating an account on GitHub.
xyny
xyny3w ago
here it is
Luke Skywunker
Fun rate limiting
xyny
xyny3w ago
i think the github action is rate-limited from quering github too much 😭
Luke Skywunker
Would you be able to make it fail if it ran into that situation? That way we don't end up with broken schemas I'm running the deploy again so that we can get back up and running
xyny
xyny3w ago
i'm working on giving it a token that shouldn't get rate-limited
Luke Skywunker
Looks like re-deploying the site did the trick for now I can run builds again
xyny
xyny3w ago
good good
jonah
jonahOP3w ago
yup looks like its fixed ty!

Did you find this page helpful?