Commit Graph

10 Commits

Author SHA1 Message Date
David Moreau Simard da6fef5713
opendev: Remove content and leave an URL to the GitHub repository
Change-Id: Ic78075a42fc93684c21881d9388229a7085c8912
2021-02-25 15:18:36 -05:00
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 4548c10ba1
Remove roles and integration tests from ara-infra, move them to ara
Now that ara-{clients,server,plugins} have been merged back into
ara, it's easier to keep everything in the same repository.

The roles and integration tests have already been moved to the ara
repository so we can remove this now.

Change-Id: I8baf5701abb4bd030c5f0b321790482e0f9c229b
2019-03-05 16:37:41 -05:00
Zuul 6132dd9222 Merge "Add python3-virtualenv to required packages on Fedora" 2019-02-19 23:20:31 +00:00
David Moreau Simard 4bf2476a95
Add python3-virtualenv to required packages on Fedora
This wasn't caught in the integration tests because it is presumably
included in the image we were using. Ansible will complain that it can't
find a virtualenv binary if it isn't installed.

Also work around the fact that the virtualenv packages are excluded
in the dnf configuration.

Change-Id: Id1bc861c99d04dad4d9c6b366b680e00e6891db7
2019-02-19 17:16:35 -05:00
David Moreau Simard 81c70774c8
Add missing map permission for gunicorn under selinux
Resolves an AVC when gunicorn attempts to use the python3
interpreter from the virtualenv.

Change-Id: I0be8ebb0bad407e6f9aa9703db0d2a61026c87cd
2019-02-06 17:19:13 -05:00
David Moreau Simard 09ba06020d
Import Ansible roles for setting up ara-server
This commits imports two bootstrapped Ansible roles:
- ara_server for installing and configuring ara-server
- ara_frontend_nginx for setting up vhosts with nginx

The roles are integration tested by new Zuul jobs on Fedora
and Ubuntu.

Change-Id: I06c7a2e9fb3f61fa451053543971de89d438fef4
2019-02-06 09:59:31 -05:00
David Moreau Simard 8a3cbe2a55
First iteration of new ARA 1.0 integration jobs
These are largely imported from the existing ARA 0.x integration
tests. Ideally, both 0.x and 1.0 would be using the same tests and
jobs to test themselves.

This effectively adds three jobs:
- ara-integration-fedora-2.7
- ara-integration-fedora-devel
- ara-integration-ubuntu-2.6

These jobs install Ansible from source and then installs ara-server,
ara-clients and ara-plugins in a virtualenv. It then runs the
integration-tests.yaml playbook.

Change-Id: Id0e78259a2bc69f66bc68a9c528613e4d5b7c2a4
2019-01-23 09:44:29 -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