3 Commits

Author SHA1 Message Date
David Moreau Simard
f026c4e012
Stop sending hugo logs to a specific file
Let it log to the foreground, it'll be picked up by systemd/journalctl.

Change-Id: I3fe5ca758dfc350e7ca12265007a0b70c132691c
2019-03-07 13:43:42 -05:00
David Moreau Simard
62a3766a4e
Simplify vhost for ara.recordsansible.org
Change-Id: I67a0011a305e389739736e2203a24b1f3ee1f801
2018-11-21 17:03:41 -05:00
David Moreau Simard
dda029ec43
Add role to deploy the website and Zuul job to test it
This adds a role which:
- Sets up user/group/logging for Hugo
- Retrieves and installs the hugo from upstream release
- Sets up a systemd unit file to keep the hugo server running
- Installs and configure nginx as a reverse proxy to the hugo server
  to serve ara.recordsansible.org

I'm not sure yet if keeping the hugo server running is the way to
go or if we should regenerate the static files every time.

It sort of goes against the point of hugo to use the server but
the fact that it reloads automatically when the source changes could
come in handy for automated updates.

Change-Id: I40e833a27117f9ec5003007bb08a677e16734e55
2018-11-21 14:58:53 -05:00