Commit Graph

161 Commits

Author SHA1 Message Date
Albert Hopkins 412e6ce4c3 docker: updates 2017-03-19 14:34:20 +00:00
Albert Hopkins 98f03494e5 teamplayer: remove uneeded config file change 2017-03-19 14:33:09 +00:00
Albert Hopkins 5df4a8a41c elasticsearc: upgrade to elasticsearch-5 2017-03-19 14:32:19 +00:00
Albert Hopkins ba91dea6cd teamplayer: mask mpd-0.20.4
It currently does not build w/o a patch.
2017-03-18 10:37:00 +00:00
Albert Hopkins a019fd6a72 teamplayer: package.accept_keywords: add mpd
We want the latest/greatest mpd.
2016-12-20 22:43:33 +00:00
Albert Hopkins 35c0f571db airport: settings.py: add ALLOWED_HOSTS=['*']
This is so you don't have to manually set ALLOWED_HOSTS in the appliance.
It's promiscuous but you can always reset it later.
2016-12-20 22:42:46 +00:00
Albert Hopkins 9eb881fea1 teamplayer: config updates 2016-12-15 00:24:41 +00:00
Albert Hopkins ad1708d1f6 docker: update kernel config for 4.9 2016-12-13 22:45:50 +00:00
Albert Hopkins 15f8f9fc24 teamplayer: add USE flag to allow mpd to play opus files 2016-12-10 18:04:21 +00:00
Albert Hopkins d8055f8c2d */package.use add "kill" to procps
Needed by systemd.
2016-12-10 15:26:09 +00:00
Albert Hopkins 91a9a21978 teamplayer/package.use: remove extraneous whitespace
Perhaps I fell asleep at the keyboard?
2016-12-10 15:26:52 +00:00
Albert Hopkins 82819040a8 mongodb: updates
Add libpcre to package.keywords (needed by mongodb).
2016-12-08 11:54:38 +00:00
Albert Hopkins 88dcafaa34 teamplayer: updates
Put "humanize" in INSTALLED_APPS since it's needed now.
2016-12-06 02:30:44 +00:00
Albert Hopkins d3716fd8a1 docker: package.use updates
Including contrib now.
2016-12-04 22:46:14 +00:00
Albert Hopkins 285ad6c8de docker: fix ip forwarding in containers when the host is running systemd
Finally this is fixed.  Thanks Arch Linux wiki.
2016-12-04 22:45:40 +00:00
Albert Hopkins 9408257dd4 docker: kernel config update
Update to work with 4.8.12.
2016-12-04 22:43:12 +00:00
Albert Hopkins ca7dc93859 docker: include the .cfg file that uses a custom kernel
This was not added to the repo but should have been.
2016-12-04 22:42:48 +00:00
Albert Hopkins 7e5e4d75d4 docker: updates 2016-12-04 01:56:24 +00:00
Albert Hopkins 34a9ad7e49 teamplayer: update to work with the latest teamplayer changes 2016-12-04 01:50:19 +00:00
Albert Hopkins acf9ec8c91 teamplayer: updates
Update to work with Django 1.01 since teamplayer (default) supports it now.
Also use settings.py instead of settings_local.py which I now consider an
anti-pattern.
2016-11-20 17:31:23 +00:00
Albert Hopkins 066e94c370 rabbitmq: package.use: add "ssl" to erlang
It's now a requirement.
2016-11-09 16:32:11 +00:00
Albert Hopkins adb598e71d elasticsearch: update to elasticsearch 2.4.1 2016-10-21 02:01:43 +00:00
Albert Hopkins b78dd0b2b1 teamplayer: upgrade to postgres 9.6 2016-10-19 12:49:58 +00:00
Albert Hopkins eede1e0ac4 airport: upgrade to postgres 9.6 2016-10-19 12:26:12 +00:00
Albert Hopkins e0f3835e72 appliances/*/package.use: add 'hostname' to sys-apps/net-tools 2016-10-19 11:44:45 +00:00
Albert Hopkins 2156e31833 mongodb: updates 2016-09-14 10:38:39 +00:00
Albert Hopkins 02f069aab6 docker: add docker-compose to world file 2016-09-14 10:37:42 +00:00
Albert Hopkins c2b700c06b docker: update kernel config 2016-09-14 10:36:51 +00:00
Albert Hopkins c2f1d3b680 mariadb: updates 2016-09-05 22:14:46 +00:00
Albert Hopkins cecf3d0582 vabuilder: add git to world file
It's been required by vabuilder for a while now.
2016-08-07 10:52:06 +00:00
Albert Hopkins 674d389ef9 elasticsearch: don't install the marvel plugin
I don't use it and now it requires you to interactively agree to some
license that I've never read.
2016-08-07 10:51:23 +00:00
Albert Hopkins be7559abb3 elasticseach: update elasticsearch to 2.3.5 2016-08-07 10:49:34 +00:00
Albert Hopkins 0f764da844 jenkins/nginx.conf: use better proxying
This was copied over from the Jenkins docs.
2016-07-23 11:30:20 +00:00
Albert Hopkins 8f578a64e5 jenkins/Makefile: use "cp" instead of "cp -u"
The -u flag causes breakage when the config file from the package is
newer than the custom config.
2016-07-23 11:29:25 +00:00
Albert Hopkins 3b31663794 docker/packge.keywords: updates 2016-07-23 11:28:04 +00:00
Albert Hopkins c3b1c3264c airport: add sqlite to python's USE
Things don't work without it.
2016-07-23 11:25:05 +00:00
Albert Hopkins 810e10aa2c appliances: remove xfce
Untested and unused.
2016-07-10 10:11:43 +00:00
Albert Hopkins ade5c5b463 appliances: remove gnome
Untested and unused.
2016-07-10 10:11:20 +00:00
Albert Hopkins 3272210ba5 appliances: remove kde
* I don't use it

* It doesn't support XDMCP anymore

* It's more trouble than it's worth
2016-07-10 10:10:25 +00:00
Albert Hopkins 51d2482cab appliances: remove dpaste
I don't use this and it doesn't appear to work anymore.
2016-07-10 10:08:57 +00:00
Albert Hopkins cbe8307449 kde: updates 2016-06-28 11:36:06 +00:00
Albert Hopkins 06054a5066 docker: updates 2016-06-28 11:31:46 +00:00
Albert Hopkins 1352ae107e owncloud: updates 2016-03-20 18:04:00 +00:00
Albert Hopkins 6d06ba3c05 xfce: updates 2016-03-10 20:09:24 +00:00
Albert Hopkins b435c4b5c5 gnome: updates for GNOME 3.18 2016-03-10 20:09:03 +00:00
Albert Hopkins 017b37d025 mariadb: updates.
Add "server" flag to mariadb in package.use
2016-02-03 11:45:57 +00:00
Albert Hopkins 6c06958fc9 */package.use: add "ssl" to wget
It's needed to install a lot of packages (such as virtualenv)
2016-01-21 09:03:48 +00:00
Albert Hopkins c6f192cde0 mongodb: update package.use
wget needs ssl support.
2016-01-08 01:35:46 +00:00
Albert Hopkins 3e9b250524 teamplayer: update to Postgres 9.5 2016-01-08 01:33:29 +00:00
Albert Hopkins 523d23043a airport: update to Postgres 9.5 2016-01-07 20:59:33 +00:00
Albert Hopkins 7fdaf49b36 remove hemp-node appliance
I don't use this anymore, and there are better and still-maintained
alternatives (Docker, vagrant, ansible, etc.) and I no longer feel like
maintaining it.
2015-12-20 23:11:44 +00:00
Albert Hopkins 098369b404 jenkins: updates
Add git, mercurial, subversion and virtualenv
2015-12-17 21:23:13 +00:00
Albert Hopkins 9245bc26b9 jenkins: fix a typo
s/jar/war/
2015-12-13 15:44:34 +00:00
Albert Hopkins 6dbe6c0b98 airport: updates 2015-12-12 21:42:37 +00:00
Albert Hopkins c907bdf048 appliances: new appliance: vabuilder
This appliance hosts the Gentoo Virtual Appliance[1] tool.  Now you can
build the thing that builds the thing that builds the things.

Note that you cannot (yet) run this inside of a systemd (or Docker)
container (without giving it special privs), but I'm working on that.  It
should at least be possible to build stage4s with it.

[1] https://bitbucket.org/marduk/virtual-appliance
2015-12-11 04:12:56 +00:00
Albert Hopkins a8eb60d006 appliances: new appliance: jenkins
This appliance runs the Jenkins[1] continuous integration tool.  The
service is available via HTTP port 80.

[1] http://jenkins-ci.org/
2015-12-11 01:27:50 +00:00
Albert Hopkins 42d8f6df45 appliances: new appliance: rabbitmq
This appliance runs the rabbitmq[1] message broker service.

[1] https://www.rabbitmq.com/
2015-12-11 01:23:19 +00:00
Albert Hopkins a188e9557c appliances: new appliance: docker
This appliance runs the docker[1] service.  Now you have something to run
your Gentoo Virtual Appliances images in ;-)

Note this appliance uses its own kernel config, because docker won't run
with the default configs.

[1] https://www.docker.com/
2015-12-11 01:20:13 +00:00
Albert Hopkins 1253b0325e appliances: new appliance: mariadb
This is a mariadb appliance.
2015-12-10 17:16:51 +00:00
Albert Hopkins 0d0af1a03e elasticsearch: upgrade to elasticsearch 2.1.0 2015-12-09 18:14:21 +00:00
Albert Hopkins 2e296640e5 teamplayer: updates
For some reason we had to add "setuptools" to emerge even though we're
installing virtualenv.  Does virtualenv not install setuptools anymore or
was this just a bug?
2015-12-09 18:13:18 +00:00
Albert Hopkins ae2dc47182 gnome: updates 2015-12-09 18:11:56 +00:00
Albert Hopkins f5c4b54a14 elasticsearch: Makefile: add PHONY target 2015-10-28 12:26:31 +00:00
Albert Hopkins 953793bd20 gnome: updates 2015-10-28 12:24:53 +00:00
Albert Hopkins e0fdebdb0d mongodb: install mongo-tools
I guess I didn't know they were separate now.
2015-09-30 11:07:12 +00:00
Albert Hopkins 5c77f82f71 owncloud: updates 2015-09-30 09:46:51 +00:00
Albert Hopkins e2e08b05d9 elasticsearch: install the marvel plugin 2015-09-30 09:45:55 +00:00
Albert Hopkins 902886918a teamplayer: pass '--no-cache-dir' to pip
So that it doesn't create a directory we don't want.
2015-09-30 08:49:36 +00:00
Albert Hopkins ab8dd35965 teamplayer/*.service: remove extraneous whitespace 2015-09-23 10:09:29 +00:00
Albert Hopkins b9a7851810 teamplayer: set wsgi service type to notify
It supports sd_notify()
2015-09-23 10:06:39 +00:00
Albert Hopkins 8ba3d8b191 teamplayer: send the correct signal to the uwsgi service
The reason we had to put a timeout in was that we weren't sending the
correct signal.  This change fixes that.
2015-09-23 10:00:35 +00:00
Albert Hopkins b3ff6f8e4a teamplayer/settings: set new custom haystack highligher 2015-09-23 09:50:41 +00:00
Albert Hopkins cc8b95d425 elasticsearch/Makefile: run wget inside the container instead of the host 2015-09-23 03:37:42 +00:00
Albert Hopkins 24ce75a112 elasticsearch: update to elasticsearch 1.7.2 2015-09-23 03:37:12 +00:00
Albert Hopkins 73c5fce1e0 teamplayer: replace openrc-style startup with systemd units
When I switched over from openrc to systemd I was being lazy and took
advantage of the fact that /etc/local.d still gets run as usual on
Gentoo.  This commit finally does a proper(-ish) systemd startup using
(3) unit files.
2015-09-23 03:35:47 +00:00
Albert Hopkins bde2764a9c teamplayer: add pip to package.accept_keywords
Needed by virtualenv
2015-09-23 03:31:16 +00:00
Albert Hopkins e6dc5c7874 airport/Makefile: remove unused variable 2015-09-17 01:06:59 +00:00
Albert Hopkins 0ea74dcf59 xfce: updates 2015-09-16 23:30:13 +00:00
Albert Hopkins ce1c29a036 kde: updates
Update package.use due to name changes
2015-09-08 16:43:57 +00:00
Albert Hopkins 0c19fb8470 New appliance: elasticsearch
This is an elasticsearch image/appliance.
2015-08-07 22:39:59 +00:00
Albert Hopkins 995705d789 teamplayer: log uwsgi to a different file.
Having both tornado and uwsgi dump to the same file makes debugging
difficult.  Switch uwsgi's logs to uwsgi.log.
2015-08-07 22:38:14 +00:00
Albert Hopkins 06a71843b1 teamplayer: fix stop-teamplayer script
It was still calling "manage.py stop_steam" but "stop_stream" was renamed
to "shutdown"
2015-08-07 22:37:14 +00:00
Albert Hopkins 361306a10e xfce/package.use: updates 2015-08-03 11:26:13 +00:00
Albert Hopkins 8af67d5cea owncloud/package.use: updates 2015-08-03 10:15:10 +00:00
Albert Hopkins 04852ff605 */package.use: add "ssl" to net-misc/openssh 2015-08-03 10:14:53 +00:00
Albert Hopkins d696f5577d appliances/*/package.use: add sha512 and nullok to pambase.
The nullok flag is needed in order to allow root to have an empty password
(forced to set on first login).

The sha512 flag is just to ensure passwords are cyptographically secure.
2015-08-02 17:47:28 +00:00
Albert Hopkins bf950c50d9 xfce: Updates. 2015-07-11 22:41:24 +00:00
Albert Hopkins 840bb4b0c4 gnome: Updates. 2015-07-11 22:41:12 +00:00
Albert Hopkins 7947b57066 appliances/*/package.use: Remove "minimal" from ncurses.
Having it set removes the terminfo database files and I need them.
2015-07-11 22:40:39 +00:00
Albert Hopkins 1f8703d446 teamplayer/package.use: Add "glib" to mpd.
It's required now for support for most things.
2015-06-28 20:09:09 +00:00
Albert Hopkins ca736466f2 appliances/kde: updates. 2015-06-27 17:30:15 +00:00
Albert Hopkins 4a7010a5ee gnome: Updates
Apparently Gnome 3.14 is marked stable (just in time for Gnome 3.16)
2015-03-16 02:07:20 +00:00
Albert Hopkins 0504f76a1a Makefile(s): use long option names when calling emerge
Because I can never remember the difference between -n and N, -c and -C,
etc.
2015-03-13 11:31:00 +00:00
Albert Hopkins b6833b57b6 airport: Don't change the shell of the postgres user
Why were we even doing this?
2015-03-13 11:24:33 +00:00
Albert Hopkins c252121561 kde: Updates
A flag needed to be added to package.use
2015-03-09 11:16:49 +00:00
Albert Hopkins 359ec88aed teamplayer: set USE_TZ to False
Although the documentation says it defaults to False, it seems to be getting
set to True in my deployments.  This explicitely sets it to false and also
sets the TIMEZONE to UTC.
2015-03-01 11:45:06 +00:00
Albert Hopkins 829eeb5806 Merge in fix from stable branch. 2015-02-28 20:11:16 +00:00
Albert Hopkins 99c79d353d teamplayer: Don't "pip install -e" the package
It always irks me when I see other people do this in deployments and here I
am doing it myself.
2015-02-28 19:09:41 +00:00
Albert Hopkins 4775bc9b07 gnome: Add "udev" flag to xorg-server.
It's required but unfortunately portage doesn't say so. It just dies in the
build if it's not enabled.
2015-02-27 20:08:25 +00:00
Albert Hopkins c9a81d2806 The great systemd commit.
This change converts the appliances from openrc to systemd.  In addition,
systemd needs to at least be be installed on the build machine as we now
use systemd-nspawn instead of chroot/bind mounts do to the fact that
systemd-nspawn is much more robust and lese prone to errors.  In addition:

* All stage4 tarballs and images are now stored in the images/ directory by
  default.

* A package dir is now required and is set up in the packages/ directory by
  default.

* The portage directory is not unpacked in the chroot every time anymore
  and is instead bind-mounted from a directory by systemd-nspawn.  This is
  the portage/ directory by default.

* In addition there is a distfiles/ directory (by default) which is
  bind-mounted in the chroot.  It does what you'd probably expect.

* The Makefile learned new target, eclean, which will run eclean-dist and
  eclean-pkg to clean out obsolete distfiles and binary packages.

* The REMOVE_PORTAGE_TREE option is removed as portage is no longer
  installed.

* The unused/untested PRUNE_CRITICAL functionality has been removed.  I
  have no idea if it worked and if it didn't I didn't want to fix it.

* As appliances are always using systemd, UDEV is no longer optional.

* Timezones and hostnames are now handled by systemd (systemd-firstboot).

* Stage4 tarballs are now directly importable as systemd containers (and
  probably docker too though I haven't tested that yet).

* A number of packages (for example dhcpd, acpid) have been removed from the
  appliances when systemd provides equivalent functionality.

* We no longer override etc-update.conf.  There's no reason.

* A number of Makefile targets, checkpoints, temp files, etc have been
  removed as they are no longer needed.
2015-02-22 15:32:16 +00:00