Closed peterdesmet closed 1 year ago
Are HTTP redirects possible? I see workarounds, but I'm not aware of a way to have redirects.
Jenkins supports the yellow/green/red dot, it's just not been enabled.
https://github.com/tdwg/infrastructure/blob/master/httpd/www.tdwg.org.conf#L54-L82
The feedback that Jenkins provides is really important when someone attempts an edit/addition and the results don't render. We had a case earlier this year during conference preparation, when updating is critical, and new content jammed up the building system. Jenkins (?) was critical in revealing where the problem was and enabling me to get the site working again.
On Mon, Nov 14, 2022 at 9:29 AM Matt Blissett @.***> wrote:
Are HTTP redirects possible? I see workarounds, but I'm not aware of a way to have redirects.
Jenkins supports the yellow/green/red dot, it's just not been enabled.
https://github.com/tdwg/infrastructure/blob/master/httpd/www.tdwg.org.conf#L54-L82
— Reply to this email directly, view it on GitHub https://github.com/tdwg/website-jekyll/issues/11#issuecomment-1314123743, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKZUDJKS5OCQE45SD4J7BLWIJZG3ANCNFSM6AAAAAASABOZD4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@MattBlissett I'll let you take a decision on this.
I've set up https://dev.tdwg.org/ building from this repository.
I want to look at it in more detail tomorrow, as the builds seem to be much slower than they should be -- the Jekyll Docker container isn't caching installed Gems, and is messing about with permissions which slow it down.
It's now taking about 1 minute to build on Jenkins. This is slower than the Python site, but hopefully not too much of problem.
Thanks for looking into this @MattBlissett I wonder if it’s going to take longer if I add more pages …
Build time should now be lower again (I'm getting 16 seconds locally).
The build is done by Jenkins at https://builds.gbif.org/job/tdwg-website/
@MattBlissett @timrobertson100 is there a compelling reason to host the TDWG website on a GBIF server, rather than GitHub Pages?
Advantages I see with GitHub pages: