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 648191bb47
Allow all CORS origins for the API live demo
This will allow developers to iterate on the web interface without
needing to spin up an API server.

Change-Id: I3838dbe3fea45e7139c4a50ab2e402038322acfc
2019-05-29 08:48:09 -04:00
David Moreau Simard 0cdc1edf19
We no longer need to redirect / to /api/v1/, there's an index now
The API demo redirected / to /api/v1 for convenience but we no longer
need to do it since there's a new index now.

Change-Id: Ice4755a82ef4a3abb6b82aad94d812bdd4339677
2019-05-16 08:56:13 -04:00
David Moreau Simard 169b6595da
Require authentication for write requests on api.demo.recordsansible.org
The demo API should be read only for the time being.

Depends-On: https://review.openstack.org/642511
Change-Id: Ia550f30cd720437cfc86d373e9c6de7cffe6e753
2019-03-11 12:22:52 -04:00
David Moreau Simard a797094b61 Add playbook for deploying live demos on demo.recordsansible.org
This deploys api.demo.recordsansible.org as well as
web.demo.recordsansible.org using the Ansible roles from ara.

The only part not yet automated is the letsencrypt certificate
generation.

Change-Id: I6b436d3be32105fdf9d661d042bfb3d40e5e39a6
Depends-On: https://review.openstack.org/#/c/641859/
2019-03-08 00:54:19 +00:00
David Moreau Simard 7e2b6bf751
Website playbook should target ara.recordsansible.org
Change-Id: I8ff2a69480e3a65d282c2ff5f301a2f8296facb6
2019-03-07 16:21:17 -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
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 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