Skip to content

WIP: Add a pipeline and other changes

Gary Moon requested to merge garymoon/xonotic.org:staging into master

Hi all,

I was going to open an MR for a couple of corrections, then got very carried away after attempting to build and test it, sorry this is so beefy. It's still incomplete but I had to stop at some stage to check interest from the team. I've tried to break up the commits logically, but they're still pretty big. Please let me know if you'd like to see them broken down further, or into separate MRs.

In this MR I've added a pipeline which includes htmltest and made all the changes I can to get htmltest as close to passing as possible. If on the whole it isn't the kind of thing you're interested in, no worries and feel free to cherry pick anything you do fancy and forget the rest. Otherwise, any feedback to help get it merged is appreciated.

It's on my own account to avoid filling a branch with the static assets if that part's undesired (sorry for the accidental push to origin earlier). I can move it across if there's interest in accepting.

If it is ultimately accepted, there's still some work needed including:

  • Further validation the changes haven't broken anything (I've done a bunch of browsing and diffing myself)
  • Update the readme with some details of the pipeline and local dev
  • Decide what to do about the remaining broken internal links and the htmltest pipeline stage

Please let me know your thoughts, and thanks for reading!

P.S. Some other possible improvements I noticed along the way (just discussion topics really):

  • Make cacs work locally (no ajax). JSONP?
  • Add some additional pipeline tests (markdown linting etc)
  • Add dependency management (foundation, jquery, normalize etc)
  • Switch to monachus/hugo
  • Deploy to production from the pipeline (though I don't know enough about the setup to propose how this would work)
  • Incorporate the makefile in the pipeline
Edited by Gary Moon

Merge request reports