14 Commits

Author SHA1 Message Date
Michael Krotscheck
5dd484f1b2 Hostname and CORS domains are now configurable.
Moved $hostname and $cors_allowed_origins into the top
level module, so that they may be set on a per-host basis.

Change-Id: I9859c903d0075493d230e433d68e0471f019140a
2015-02-23 13:08:51 -08:00
Michael Krotscheck
1bd2b2bca9 Added Valid OAuth client configuration to storyboard manifest.
StoryBoard now only permits a finite list of authorized oauth clients,
which are based on the domain host. This adds the necessary configuration
elements to the OpenStack StoryBoard manifest.

Change-Id: Ia7d34e9b80399ffa9e4229d6cc7035061c41dffc
Depends-on: I29495a0b640c3ca097cca8c17349df5cc42388de
2015-02-23 12:27:02 -08:00
James E. Blair
32f8ac4b0c Add system backups to storyboard
The user needs to be created first.

Change-Id: If283e4cd52d3e34d140c2febc91e89bd1202c264
2014-12-02 09:25:48 -08:00
James E. Blair
d291c522c4 Add database backups to storyboard
Change-Id: I0d1f53e645fdb91a2a9f952171dd917b2f7e9076
2014-12-02 09:24:29 -08:00
Michael Krotscheck
c19bab3290 Added deferred worker process to storyboard
StoryBoard now supports deferred processors. This enables them
for storyboard.openstack.org.

Change-Id: I7b4e32f94db66f0e0b399d13b6a6a04d7c53639c
2014-09-29 14:07:30 -07:00
Michael Krotscheck
92228ebbc1 Added CORS allowed domains to storyboard server config.
Adds docs-draft and storyboard to the list of permitted CORS domains.
This depends on https://review.openstack.org/#/c/124197/, which
depends on https://review.openstack.org/#/c/124163/.

Also handled a couple of formatting nits.

Change-Id: I70d9fd1e133bef8bcbc34beed0c4039eb84d0bf0
2014-09-29 11:55:25 -07:00
James E. Blair
e98e3d49fb Switch git and storyboard to project-config
Change-Id: I78a5ac024bbc44504529233804288ccc81829ede
2014-09-25 13:11:54 -07:00
James E. Blair
3925b2e6b4 Revert "Disable notifications in storyboard"
This reverts commit ddb4034837dfb1fcd16c60b93d66dec83bfc2ee9.

The underlying problem has hopefully been corrected.

Change-Id: I6fa913924f6b24b7e3c23e8c8d1787d779636971
2014-09-22 15:05:16 +00:00
James E. Blair
ddb4034837 Disable notifications in storyboard
Due to bug: https://storyboard.openstack.org/#!/story/202

Change-Id: I6d7c3d7e7578ba10fad6770c8999762db5903d98
Depends-On: I04d20b491cfa0c897160d9fc78c37a164cd09122
2014-08-27 15:41:42 -07:00
Michael Krotscheck
9223b79612 Update storyboard version to include rabbitmq
This updates the version of storyboard that is used by infra to include
rabbitmq.

Change-Id: I8cbfb17715a75cf63dd60ad4bae24bc40b3a6944
2014-08-13 14:48:30 -07:00
Michael Krotscheck
682019f1fa Modularized StoryBoard Module
In order to get the puppet module for storyboard up to a level where
we can publish it to puppetforge, I did some work on it to create
separate modules which can be used by anyone to install storyboard.

- API and Webclient are now installed via storyboard::application,
  which assumes that you can provide the DB connection criteria.
- storyboard::cert is now a separate class, which accepts either
  files or strings, which generates the SSL certificate and chain
  files for storyboard.
- storyboard::params is our dependency checker.
- storyboard::init will install a standalone, entirely
  self-contained instance of storyboard.
- Added various puppet module files necessary for eventual
  deployment to puppetforge.
- Added README.md documentation for later puppetforge addition.

This patch also includes a new module: example42-puppi, which is a
series of convenience utilities useful for deployment. For example,
puppi::netinstall (used here) will fetch tarballs and zip files and
extract them into a provided directory. It also contains changes to
the storyboard configuration for the new refresh token support patch
in #94363

Change-Id: I6ab8c24b308df38774fc0694d218dcb5022cd899
2014-08-08 10:58:17 -07:00
Monty Taylor
3be22cf5ec Load storyboard superusers from yaml file
There are actions, such as deleting projects, that should only be done
by superusers. For that to work, we need to have superusers.

Change-Id: I827446788ca53018a6d2c76eaf667b6fe4065f80
2014-03-24 07:08:47 -07:00
Monty Taylor
fa3b8f4869 Make storyboard run over ssl
We're doing auth now, so we should really do it over SSL.

The cert contents are already in hiera.

Change-Id: Ia939e228785168705840acd6d377e6c25ba3370d
2014-03-09 16:01:09 -07:00
Ruslan Kamaldinov
265bd8fe1d Add Storyboard puppet module
There are two major parts being installed with this module:
1. storyboard-api - REST API service served  with
   apache mod_wsgi module
2. storyboard-webclient - static html/css/js files.
   This project is built and published to tarballs.o.o,
   from where it'll be installed with this puppet module

This module requires three configs from Hiera:
* storyboard_db_host
* storyboard_db_password
* storyboard_db_user

Installed projects:
* http://git.openstack.org/cgit/openstack-infra/storyboard/
* http://git.openstack.org/cgit/openstack-infra/storyboard-webclient/

Things to be added in later commits:
* Documentation for ci.openstack.org
* Configure logging (once supported by storyboard)
* SSL

Change-Id: If3da06f8d20a6282036f1f9f063c25a6d0db60c6
2014-01-29 06:47:37 +04:00