On 07/04/2023 19:06, kinow (via GitHub) wrote:
kinow commented on PR #146:
URL: https://github.com/apache/jena-site/pull/146#issuecomment-1500516467
Thanks for the review @afs . I wonder if something went wrong with the site
build? I merged it earlier this morning and tried to access it now, but I can't
see the search anywhere in the website. I tried the `staging.jena.apache.org`
and `jena.staging.apache.org`, but these URL's didn't work. Could you remind me
what's the process after a PR is merged, please, @afs ? Thanks!
I don't think "staging" works. They were pre-Hugo.
If it merged to main, then it's jena.apache.org - I see
7905e130d Add basic search with Fuse.js ... in git.
Locally, main shows "search" is working.
But on Jenkins there is
https://ci-builds.apache.org/job/Jena/job/Jena_Site2/job/main/213/console
which has a build failure.
Error: Error building site: failed to render pages: render of "home"
failed:
"/home/jenkins/712657a4/workspace/Jena_Jena_Site2_main/layouts/_default/index.json:7:28":
execute of template failed: template: _default/index.json:7:28:
executing "_default/index.json" at <uniq>: error calling uniq: elements
must be comparable
which I do not understand.
I tried again - same thing.
https://ci-builds.apache.org/job/Jena/job/Jena_Site2/job/main/
My hugo is hugo v0.111.3 -
hugo version is the Jenkinsfile at top of jena-site:main is 0.66.0
so my guess is hugo version.
Andy
The other issue with Jenkins is that it does not trigger when merging
commits with timestamps that are old. It seems to go on the commit date,
not merge date.
But it doesn't look like that is happening here. Job 213 ran at 7 Apr
2023, 11:17:18 UTC